Searched refs:flow_table (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/net/openvswitch/ |
D | flow_table.h | 48 struct flow_table { struct 65 int ovs_flow_tbl_init(struct flow_table *); argument 66 int ovs_flow_tbl_count(const struct flow_table *table); 67 void ovs_flow_tbl_destroy(struct flow_table *table); 68 int ovs_flow_tbl_flush(struct flow_table *flow_table); 70 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, 72 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow); 73 int ovs_flow_tbl_num_masks(const struct flow_table *table); 76 struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *, 79 struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *, [all …]
|
D | flow_table.c | 114 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() 207 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() 260 hlist_for_each_entry_safe(flow, n, head, flow_table.node[ver]) { in table_instance_destroy() 261 hlist_del_rcu(&flow->flow_table.node[ver]); in table_instance_destroy() 281 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy() 301 hlist_for_each_entry_rcu(flow, head, flow_table.node[ver]) { in ovs_flow_tbl_dump_next() 328 head = find_bucket(ti, flow->flow_table.hash); in table_instance_insert() 329 hlist_add_head_rcu(&flow->flow_table.node[ti->node_ver], head); in table_instance_insert() 363 flow_table.node[old_ver]) in flow_table_copy_flows() 384 int ovs_flow_tbl_flush(struct flow_table *flow_table) in ovs_flow_tbl_flush() argument [all …]
|
D | Makefile | 13 flow_table.o \
|
D | datapath.h | 79 struct flow_table table;
|
D | flow.h | 229 } flow_table, ufid_table; member
|
/linux-4.1.27/net/core/ |
D | net-sysfs.c | 727 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local 731 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt() 732 if (flow_table) in show_rps_dev_flow_table_cnt() 733 val = (unsigned long)flow_table->mask + 1; in show_rps_dev_flow_table_cnt() 827 struct rps_dev_flow_table *flow_table; in rx_queue_release() local 836 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release() 837 if (flow_table) { in rx_queue_release() 839 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
|
D | dev.c | 3079 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local 3094 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu() 3095 if (!flow_table) in set_rps_cpu() 3097 flow_id = skb_get_hash(skb) & flow_table->mask; in set_rps_cpu() 3103 rflow = &flow_table->flows[flow_id]; in set_rps_cpu() 3127 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local 3148 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu() 3150 if (!flow_table && !map) in get_rps_cpu() 3159 if (flow_table && sock_flow_table) { in get_rps_cpu() 3174 rflow = &flow_table->flows[hash & flow_table->mask]; in get_rps_cpu() [all …]
|