Home
last modified time | relevance | path

Searched refs:flow_table (Results 1 – 11 of 11) sorted by relevance

/net/openvswitch/
A Dflow_table.h62 struct flow_table { struct
80 int ovs_flow_tbl_init(struct flow_table *); argument
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);
88 int ovs_flow_tbl_num_masks(const struct flow_table *table);
93 struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *,
98 struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *,
102 struct sw_flow *ovs_flow_tbl_lookup_ufid(struct flow_table *,
110 void ovs_flow_masks_rebalance(struct flow_table *table);
[all …]
A Dflow_table.c103 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count()
411 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init()
464 hlist_del_rcu(&flow->flow_table.node[ti->node_ver]); in table_instance_flow_free()
488 flow_table.node[ti->node_ver]) { in table_instance_flow_flush()
513 void ovs_flow_tbl_destroy(struct flow_table *table) in ovs_flow_tbl_destroy()
563 head = find_bucket(ti, flow->flow_table.hash); in table_instance_insert()
597 flow_table.node[old_ver], in flow_table_copy_flows()
617 int ovs_flow_tbl_flush(struct flow_table *flow_table) in ovs_flow_tbl_flush() argument
629 old_ti = ovsl_dereference(flow_table->ti); in ovs_flow_tbl_flush()
632 rcu_assign_pointer(flow_table->ti, new_ti); in ovs_flow_tbl_flush()
[all …]
A DMakefile14 flow_table.o \
A Ddatapath.h93 struct flow_table table;
A Dflow.h226 } flow_table, ufid_table; member
A Ddatapath.c1922 struct flow_table *table = &dp->table; in __dp_destroy()
/net/netfilter/
A Dnf_flow_table_core.c345 nf_flow_offload_add(flow_table, flow); in flow_offload_add()
367 nf_flow_offload_add(flow_table, flow); in flow_offload_refresh()
443 iter(flow_table, flow, data); in nf_flow_table_iterate()
454 return flow_table->type->gc && flow_table->type->gc(flow); in nf_flow_custom_gc()
573 flow_offload_del(flow_table, flow); in nf_flow_offload_gc_step()
575 flow_offload_del(flow_table, flow); in nf_flow_offload_gc_step()
580 nf_flow_offload_del(flow_table, flow); in nf_flow_offload_gc_step()
593 struct nf_flowtable *flow_table; in nf_flow_offload_work_gc() local
596 nf_flow_table_gc_run(flow_table); in nf_flow_offload_work_gc()
750 list_del(&flow_table->list); in nf_flow_table_free()
[all …]
A Dnf_flow_table_ip.c367 return flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_lookup()
371 struct nf_flowtable *flow_table, in nf_flow_offload_forward() argument
400 flow_offload_refresh(flow_table, flow, false); in nf_flow_offload_forward()
411 if (flow_table->flags & NF_FLOWTABLE_COUNTER) in nf_flow_offload_forward()
422 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ip_hook() local
650 struct nf_flowtable *flow_table, in nf_flow_offload_ipv6_forward() argument
679 flow_offload_refresh(flow_table, flow, false); in nf_flow_offload_ipv6_forward()
689 if (flow_table->flags & NF_FLOWTABLE_COUNTER) in nf_flow_offload_ipv6_forward()
697 struct nf_flowtable *flow_table, in nf_flow_offload_ipv6_lookup() argument
709 return flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ipv6_lookup()
[all …]
/net/core/
A Dnet-sysfs.c1063 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local
1067 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt()
1068 if (flow_table) in show_rps_dev_flow_table_cnt()
1069 val = 1UL << flow_table->log; in show_rps_dev_flow_table_cnt()
1163 struct rps_dev_flow_table *flow_table; in rx_queue_release() local
1171 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release()
1172 if (flow_table) { in rx_queue_release()
1174 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
A Ddev.c4837 return hash_32(hash, flow_table->log); in rfs_slot()
4864 if (!flow_table) in set_rps_cpu()
4872 rflow = &flow_table->flows[flow_id]; in set_rps_cpu()
4896 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local
4919 if (!flow_table && !map) in get_rps_cpu()
4928 if (flow_table && sock_flow_table) { in get_rps_cpu()
4945 rflow = &flow_table->flows[rfs_slot(hash, flow_table)]; in get_rps_cpu()
5005 struct rps_dev_flow_table *flow_table; in rps_may_expire_flow() local
5012 if (flow_table && flow_id < (1UL << flow_table->log)) { in rps_may_expire_flow()
5013 rflow = &flow_table->flows[flow_id]; in rps_may_expire_flow()
[all …]
/net/sched/
A Dact_ct.c1613 entry->ct.flow_table = tcf_ct_ft(act); in tcf_ct_offload_act_setup()

Completed in 59 milliseconds