Searched refs:flow_table (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/net/openvswitch/
H A Dflow_table.h62 struct flow_table { struct
80 int ovs_flow_tbl_init(struct flow_table *);
81 int ovs_flow_tbl_count(const struct flow_table *table);
82 void ovs_flow_tbl_destroy(struct flow_table *table);
83 int ovs_flow_tbl_flush(struct flow_table *flow_table);
85 int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow,
87 void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow);
88 int ovs_flow_tbl_num_masks(const struct flow_table *table);
89 u32 ovs_flow_tbl_masks_cache_size(const struct flow_table *tabl
[all...]
H A DMakefile14 flow_table.o \
H A Dflow_table.c103 int ovs_flow_tbl_count(const struct flow_table *table)
245 static int tbl_mask_array_realloc(struct flow_table *tbl, int size)
270 static int tbl_mask_array_add_mask(struct flow_table *tbl,
298 static void tbl_mask_array_del_mask(struct flow_table *tbl,
331 static void flow_mask_remove(struct flow_table *tbl, struct sw_flow_mask *mask)
389 int ovs_flow_tbl_masks_cache_resize(struct flow_table *table, u32 size)
411 int ovs_flow_tbl_init(struct flow_table *table)
459 static void table_instance_flow_free(struct flow_table *table,
464 hlist_del_rcu(&flow->flow_table.node[ti->node_ver]);
476 void table_instance_flow_flush(struct flow_table *tabl
617 ovs_flow_tbl_flush(struct flow_table *flow_table) argument
[all...]
H A Ddatapath.h19 #include "flow_table.h"
89 struct flow_table table;
H A Dflow.h226 } flow_table, ufid_table; member in struct:sw_flow
H A Ddatapath.c46 #include "flow_table.h"
1894 struct flow_table *table = &dp->table;
/linux-master/include/net/netfilter/
H A Dnf_flow_table.h225 nf_flow_table_offload_add_cb(struct nf_flowtable *flow_table, argument
228 struct flow_block *block = &flow_table->flow_block;
232 down_write(&flow_table->flow_block_lock);
246 up_write(&flow_table->flow_block_lock);
248 if (flow_table->type->get)
249 flow_table->type->get(flow_table);
253 up_write(&flow_table->flow_block_lock);
258 nf_flow_table_offload_del_cb(struct nf_flowtable *flow_table, argument
261 struct flow_block *block = &flow_table
[all...]
/linux-master/net/netfilter/
H A Dnf_flow_table_core.c279 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) argument
285 err = rhashtable_insert_fast(&flow_table->rhashtable,
291 err = rhashtable_insert_fast(&flow_table->rhashtable,
295 rhashtable_remove_fast(&flow_table->rhashtable,
303 if (nf_flowtable_hw_offload(flow_table)) {
305 nf_flow_offload_add(flow_table, flow);
312 void flow_offload_refresh(struct nf_flowtable *flow_table, argument
323 if (likely(!nf_flowtable_hw_offload(flow_table)))
326 nf_flow_offload_add(flow_table, flow);
335 static void flow_offload_del(struct nf_flowtable *flow_table, argument
356 flow_offload_lookup(struct nf_flowtable *flow_table, struct flow_offload_tuple *tuple) argument
381 nf_flow_table_iterate(struct nf_flowtable *flow_table, void (*iter)(struct nf_flowtable *flowtable, struct flow_offload *flow, void *data), void *data) argument
415 nf_flow_custom_gc(struct nf_flowtable *flow_table, const struct flow_offload *flow) argument
421 nf_flow_offload_gc_step(struct nf_flowtable *flow_table, struct flow_offload *flow, void *data) argument
443 nf_flow_table_gc_run(struct nf_flowtable *flow_table) argument
450 struct nf_flowtable *flow_table; local
569 nf_flow_table_do_cleanup(struct nf_flowtable *flow_table, struct flow_offload *flow, void *data) argument
604 nf_flow_table_free(struct nf_flowtable *flow_table) argument
[all...]
H A Dnf_flow_table_ip.c349 struct nf_flowtable *flow_table, struct sk_buff *skb)
360 return flow_offload_lookup(flow_table, &tuple);
364 struct nf_flowtable *flow_table,
393 flow_offload_refresh(flow_table, flow, false);
404 if (flow_table->flags & NF_FLOWTABLE_COUNTER)
415 struct nf_flowtable *flow_table = priv; local
426 tuplehash = nf_flow_offload_lookup(&ctx, flow_table, skb);
430 ret = nf_flow_offload_forward(&ctx, flow_table, tuplehash, skb);
643 struct nf_flowtable *flow_table,
672 flow_offload_refresh(flow_table, flo
348 nf_flow_offload_lookup(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct sk_buff *skb) argument
363 nf_flow_offload_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) argument
642 nf_flow_offload_ipv6_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) argument
689 nf_flow_offload_ipv6_lookup(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct sk_buff *skb) argument
710 struct nf_flowtable *flow_table = priv; local
[all...]
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c260 if (rhashtable_lookup(&eth->flow_table, &f->cookie, mtk_flow_ht_params))
468 err = rhashtable_insert_fast(&eth->flow_table, &entry->node,
489 entry = rhashtable_lookup(&eth->flow_table, &f->cookie,
495 rhashtable_remove_fast(&eth->flow_table, &entry->node,
511 entry = rhashtable_lookup(&eth->flow_table, &f->cookie,
638 return rhashtable_init(&eth->flow_table, &mtk_flow_ht_params);
H A Dmtk_eth_soc.h1290 struct rhashtable flow_table; member in struct:mtk_eth
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c399 struct mlx5_flow_table *flow_table; local
429 flow_table = mlx5_create_flow_table(ns, &ft_attr);
430 if (IS_ERR(flow_table)) {
431 err = PTR_ERR(flow_table);
435 ft_crypto->t = flow_table;
473 flow_table = macsec_fs_auto_group_table_create(ns, 0, TX_CHECK_TABLE_LEVEL,
475 if (IS_ERR(flow_table)) {
476 err = PTR_ERR(flow_table);
480 tx_tables->ft_check = flow_table;
484 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, flow_table
1504 struct mlx5_flow_table *flow_table; local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c111 return rhashtable_lookup_fast(&priv->flow_table, &flower_cmp_arg,
519 err = rhashtable_init(&priv->flow_table, &nfp_flower_table_params);
603 rhashtable_destroy(&priv->flow_table);
708 rhashtable_free_and_destroy(&priv->flow_table,
H A Doffload.c1061 err = rhashtable_insert_fast(&priv->flow_table, &merge_flow->fl_node,
1094 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
1388 err = rhashtable_insert_fast(&priv->flow_table, &flow_pay->fl_node,
1433 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
1516 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
1618 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
H A Dmain.h267 * @flow_table: Hash table used to store flower rules
313 struct rhashtable flow_table; member in struct:nfp_flower_priv
H A Dconntrack.c1092 err = rhashtable_insert_fast(&priv->flow_table, &flow_pay->fl_node,
1111 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
1168 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table,
1838 zt->nft = ct_act->ct.flow_table;
/linux-master/drivers/infiniband/hw/mlx5/
H A Dfs.c632 mlx5_destroy_flow_table(prio->flow_table);
633 prio->flow_table = NULL;
706 prio->flow_table = ft;
792 ft = prio->flow_table;
936 if (!prio->flow_table) {
952 opfc->rule[i] = mlx5_add_flow_rules(prio->flow_table, &spec[i],
1044 struct mlx5_flow_table *ft = ft_prio->flow_table;
1155 ft_prio->flow_table = ft;
1506 if (prio->flow_table)
1525 struct mlx5_flow_table *ft = ft_prio->flow_table;
[all...]
H A Dmlx5_ib.h253 struct mlx5_flow_table *flow_table; member in struct:mlx5_ib_flow_prio
/linux-master/net/core/
H A Dnet-sysfs.c934 struct rps_dev_flow_table *flow_table; local
938 flow_table = rcu_dereference(queue->rps_flow_table);
939 if (flow_table)
940 val = (unsigned long)flow_table->mask + 1;
1034 struct rps_dev_flow_table *flow_table; local
1042 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1);
1043 if (flow_table) {
1045 call_rcu(&flow_table->rcu, rps_dev_flow_table_release);
H A Ddev.c4471 struct rps_dev_flow_table *flow_table; local
4486 flow_table = rcu_dereference(rxqueue->rps_flow_table);
4487 if (!flow_table)
4489 flow_id = skb_get_hash(skb) & flow_table->mask;
4495 rflow = &flow_table->flows[flow_id];
4519 struct rps_dev_flow_table *flow_table; local
4540 flow_table = rcu_dereference(rxqueue->rps_flow_table);
4542 if (!flow_table && !map)
4551 if (flow_table && sock_flow_table) {
4568 rflow = &flow_table
4628 struct rps_dev_flow_table *flow_table; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1485 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node,
1556 old_node = rhashtable_lookup_fast(&tc_info->flow_table,
1584 rc = rhashtable_insert_fast(&tc_info->flow_table, &new_node->node,
1614 flow_node = rhashtable_lookup_fast(&tc_info->flow_table,
1632 flow_node = rhashtable_lookup_fast(&tc_info->flow_table,
1824 num_flows = atomic_read(&tc_info->flow_table.nelems);
1828 rhashtable_walk_enter(&tc_info->flow_table, &tc_info->iter);
2027 rc = rhashtable_init(&tc_info->flow_table, &tc_info->flow_ht_params);
2075 rhashtable_destroy(&tc_info->flow_table);
2091 rhashtable_destroy(&tc_info->flow_table);
[all...]
/linux-master/include/net/
H A Dnet_namespace.h30 #include <net/netns/flow_table.h>
H A Dflow_offload.h295 struct nf_flowtable *flow_table; member in struct:flow_action_entry::__anon2578::__anon2586
/linux-master/net/sched/
H A Dact_ct.c689 /* If flow_table flow has already been updated to the
1580 entry->ct.flow_table = tcf_ct_ft(act);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c1549 attr->ct_attr.nf_ft = act->ct.flow_table;

Completed in 524 milliseconds

12