Searched refs:flow_table (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/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 | 115 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() 209 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() 262 hlist_for_each_entry_safe(flow, n, head, flow_table.node[ver]) { in table_instance_destroy() 263 hlist_del_rcu(&flow->flow_table.node[ver]); in table_instance_destroy() 283 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy() 303 hlist_for_each_entry_rcu(flow, head, flow_table.node[ver]) { in ovs_flow_tbl_dump_next() 330 head = find_bucket(ti, flow->flow_table.hash); in table_instance_insert() 331 hlist_add_head_rcu(&flow->flow_table.node[ti->node_ver], head); in table_instance_insert() 365 flow_table.node[old_ver]) in flow_table_copy_flows() 386 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 | 80 struct flow_table table;
|
D | flow.h | 174 } flow_table, ufid_table; member
|
/linux-4.4.14/include/linux/mlx5/ |
D | flow_table.h | 47 void mlx5_destroy_flow_table(void *flow_table); 48 int mlx5_add_flow_table_entry(void *flow_table, u8 match_criteria_enable, 51 void mlx5_del_flow_table_entry(void *flow_table, u32 flow_index); 52 u32 mlx5_get_flow_table_id(void *flow_table);
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | flow_table.c | 311 int mlx5_add_flow_table_entry(void *flow_table, u8 match_criteria_enable, in mlx5_add_flow_table_entry() argument 315 struct mlx5_flow_table *ft = flow_table; in mlx5_add_flow_table_entry() 336 void mlx5_del_flow_table_entry(void *flow_table, u32 flow_index) in mlx5_del_flow_table_entry() argument 338 struct mlx5_flow_table *ft = flow_table; in mlx5_del_flow_table_entry() 404 void mlx5_destroy_flow_table(void *flow_table) in mlx5_destroy_flow_table() argument 406 struct mlx5_flow_table *ft = flow_table; in mlx5_destroy_flow_table() 416 u32 mlx5_get_flow_table_id(void *flow_table) in mlx5_get_flow_table_id() argument 418 struct mlx5_flow_table *ft = flow_table; in mlx5_get_flow_table_id()
|
D | Makefile | 6 mlx5_core-$(CONFIG_MLX5_CORE_EN) += wq.o flow_table.o \
|
/linux-4.4.14/net/core/ |
D | net-sysfs.c | 747 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local 751 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt() 752 if (flow_table) in show_rps_dev_flow_table_cnt() 753 val = (unsigned long)flow_table->mask + 1; in show_rps_dev_flow_table_cnt() 847 struct rps_dev_flow_table *flow_table; in rx_queue_release() local 856 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release() 857 if (flow_table) { in rx_queue_release() 859 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
|
D | dev.c | 3233 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local 3248 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu() 3249 if (!flow_table) in set_rps_cpu() 3251 flow_id = skb_get_hash(skb) & flow_table->mask; in set_rps_cpu() 3257 rflow = &flow_table->flows[flow_id]; in set_rps_cpu() 3281 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local 3302 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu() 3304 if (!flow_table && !map) in get_rps_cpu() 3313 if (flow_table && sock_flow_table) { in get_rps_cpu() 3328 rflow = &flow_table->flows[hash & flow_table->mask]; in get_rps_cpu() [all …]
|