Searched refs:flow_table (Results 1 – 9 of 9) sorted by relevance
/net/openvswitch/ |
D | flow_table.h | 34 struct flow_table { struct 51 int ovs_flow_tbl_init(struct flow_table *); argument 52 int ovs_flow_tbl_count(const struct flow_table *table); 53 void ovs_flow_tbl_destroy(struct flow_table *table); 54 int ovs_flow_tbl_flush(struct flow_table *flow_table); 56 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, 58 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow); 59 int ovs_flow_tbl_num_masks(const struct flow_table *table); 62 struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *, 65 struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *, [all …]
|
D | flow_table.c | 96 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() 167 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() 220 hlist_for_each_entry_safe(flow, n, head, flow_table.node[ver]) { in table_instance_destroy() 221 hlist_del_rcu(&flow->flow_table.node[ver]); in table_instance_destroy() 241 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy() 261 hlist_for_each_entry_rcu(flow, head, flow_table.node[ver]) { in ovs_flow_tbl_dump_next() 287 head = find_bucket(ti, flow->flow_table.hash); in table_instance_insert() 288 hlist_add_head_rcu(&flow->flow_table.node[ti->node_ver], head); in table_instance_insert() 320 flow_table.node[old_ver]) in flow_table_copy_flows() 341 int ovs_flow_tbl_flush(struct flow_table *flow_table) in ovs_flow_tbl_flush() argument [all …]
|
D | Makefile | 14 flow_table.o \
|
D | datapath.h | 69 struct flow_table table;
|
D | flow.h | 210 } flow_table, ufid_table; member
|
/net/netfilter/ |
D | nf_flow_table_core.c | 201 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) in flow_offload_add() argument 207 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 213 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 217 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_add() 232 static void flow_offload_del(struct nf_flowtable *flow_table, in flow_offload_del() argument 237 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del() 240 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del() 267 flow_offload_lookup(struct nf_flowtable *flow_table, in flow_offload_lookup() argument 275 tuplehash = rhashtable_lookup(&flow_table->rhashtable, tuple, in flow_offload_lookup() 294 nf_flow_table_iterate(struct nf_flowtable *flow_table, in nf_flow_table_iterate() argument [all …]
|
D | nf_flow_table_ip.c | 240 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ip_hook() local 256 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ip_hook() 470 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ipv6_hook() local 485 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ipv6_hook()
|
/net/core/ |
D | net-sysfs.c | 769 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local 773 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt() 774 if (flow_table) in show_rps_dev_flow_table_cnt() 775 val = (unsigned long)flow_table->mask + 1; in show_rps_dev_flow_table_cnt() 869 struct rps_dev_flow_table *flow_table; in rx_queue_release() local 877 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release() 878 if (flow_table) { in rx_queue_release() 880 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
|
D | dev.c | 3920 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local 3935 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu() 3936 if (!flow_table) in set_rps_cpu() 3938 flow_id = skb_get_hash(skb) & flow_table->mask; in set_rps_cpu() 3944 rflow = &flow_table->flows[flow_id]; in set_rps_cpu() 3968 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local 3989 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu() 3991 if (!flow_table && !map) in get_rps_cpu() 4000 if (flow_table && sock_flow_table) { in get_rps_cpu() 4015 rflow = &flow_table->flows[hash & flow_table->mask]; in get_rps_cpu() [all …]
|