| /Linux-v4.19/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 | 109 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() 204 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() 257 hlist_for_each_entry_safe(flow, n, head, flow_table.node[ver]) { in table_instance_destroy() 258 hlist_del_rcu(&flow->flow_table.node[ver]); in table_instance_destroy() 278 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy() 298 hlist_for_each_entry_rcu(flow, head, flow_table.node[ver]) { in ovs_flow_tbl_dump_next() 325 head = find_bucket(ti, flow->flow_table.hash); in table_instance_insert() 326 hlist_add_head_rcu(&flow->flow_table.node[ti->node_ver], head); in table_instance_insert() 360 flow_table.node[old_ver]) in flow_table_copy_flows() 381 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 | 82 struct flow_table table;
|
| D | flow.h | 224 } flow_table, ufid_table; member
|
| /Linux-v4.19/net/netfilter/ |
| D | nf_flow_table_core.c | 185 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) in flow_offload_add() argument 189 rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 192 rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 199 static void flow_offload_del(struct nf_flowtable *flow_table, in flow_offload_del() argument 204 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del() 207 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_del() 229 flow_offload_lookup(struct nf_flowtable *flow_table, in flow_offload_lookup() argument 236 tuplehash = rhashtable_lookup_fast(&flow_table->rhashtable, tuple, in flow_offload_lookup() 250 int nf_flow_table_iterate(struct nf_flowtable *flow_table, in nf_flow_table_iterate() argument 259 err = rhashtable_walk_init(&flow_table->rhashtable, &hti, GFP_KERNEL); in nf_flow_table_iterate() [all …]
|
| D | nf_flow_table_ip.c | 218 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ip_hook() local 234 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ip_hook() 437 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ipv6_hook() local 452 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ipv6_hook()
|
| /Linux-v4.19/include/net/netfilter/ |
| D | nf_flow_table.h | 95 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow); 96 struct flow_offload_tuple_rhash *flow_offload_lookup(struct nf_flowtable *flow_table, 98 int nf_flow_table_iterate(struct nf_flowtable *flow_table, 104 int nf_flow_table_init(struct nf_flowtable *flow_table); 105 void nf_flow_table_free(struct nf_flowtable *flow_table);
|
| /Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_tc.c | 1254 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node, in __bnxt_tc_del_flow() 1317 old_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_add_flow() 1345 rc = rhashtable_insert_fast(&tc_info->flow_table, &new_node->node, in bnxt_tc_add_flow() 1375 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_del_flow() 1393 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_get_flow_stats() 1549 num_flows = atomic_read(&tc_info->flow_table.nelems); in bnxt_tc_flow_stats_work() 1553 rhashtable_walk_enter(&tc_info->flow_table, &tc_info->iter); in bnxt_tc_flow_stats_work() 1641 rc = rhashtable_init(&tc_info->flow_table, &tc_info->flow_ht_params); in bnxt_init_tc() 1681 rhashtable_destroy(&tc_info->flow_table); in bnxt_init_tc() 1694 rhashtable_destroy(&tc_info->flow_table); in bnxt_shutdown_tc()
|
| D | bnxt.h | 1020 struct rhashtable flow_table; member
|
| /Linux-v4.19/net/core/ |
| D | net-sysfs.c | 779 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local 783 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt() 784 if (flow_table) in show_rps_dev_flow_table_cnt() 785 val = (unsigned long)flow_table->mask + 1; in show_rps_dev_flow_table_cnt() 878 struct rps_dev_flow_table *flow_table; in rx_queue_release() local 886 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release() 887 if (flow_table) { in rx_queue_release() 889 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
|
| D | dev.c | 3950 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local 3965 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu() 3966 if (!flow_table) in set_rps_cpu() 3968 flow_id = skb_get_hash(skb) & flow_table->mask; in set_rps_cpu() 3974 rflow = &flow_table->flows[flow_id]; in set_rps_cpu() 3998 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local 4019 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu() 4021 if (!flow_table && !map) in get_rps_cpu() 4030 if (flow_table && sock_flow_table) { in get_rps_cpu() 4045 rflow = &flow_table->flows[hash & flow_table->mask]; in get_rps_cpu() [all …]
|
| /Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
| D | metadata.c | 108 hash_for_each_possible_rcu(priv->flow_table, flower_entry, link, in nfp_flower_search_fl_table() 397 hash_init(priv->flow_table); in nfp_flower_metadata_init()
|
| D | main.h | 174 DECLARE_HASHTABLE(flow_table, NFP_FLOWER_HASH_BITS);
|
| D | offload.c | 518 hash_add_rcu(priv->flow_table, &flow_pay->link, flow->cookie); in nfp_flower_add_offload()
|
| /Linux-v4.19/drivers/infiniband/hw/mlx5/ |
| D | main.c | 2963 mlx5_destroy_flow_table(prio->flow_table); in put_flow_table() 2964 prio->flow_table = NULL; in put_flow_table() 3040 prio->flow_table = ft; in _get_prio() 3105 ft = prio->flow_table; in get_flow_table() 3258 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_flow_rule() 3370 ft_prio->flow_table = ft; in _create_flow_rule() 3684 if (prio->flow_table) in _get_flow_table() 3701 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_raw_flow_rule() 3730 ft_prio->flow_table = ft; in _create_raw_flow_rule()
|
| D | mlx5_ib.h | 165 struct mlx5_flow_table *flow_table; member
|