Searched refs:flow_table (Results 1 – 11 of 11) sorted by relevance
/net/openvswitch/ |
D | flow_table.h | 62 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); 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 *table); 90 int ovs_flow_tbl_masks_cache_resize(struct flow_table *table, u32 size); [all …]
|
D | flow_table.c | 102 int ovs_flow_tbl_count(const struct flow_table *table) in ovs_flow_tbl_count() 247 static int tbl_mask_array_realloc(struct flow_table *tbl, int size) in tbl_mask_array_realloc() 272 static int tbl_mask_array_add_mask(struct flow_table *tbl, in tbl_mask_array_add_mask() 300 static void tbl_mask_array_del_mask(struct flow_table *tbl, in tbl_mask_array_del_mask() 333 static void flow_mask_remove(struct flow_table *tbl, struct sw_flow_mask *mask) in flow_mask_remove() 391 int ovs_flow_tbl_masks_cache_resize(struct flow_table *table, u32 size) in ovs_flow_tbl_masks_cache_resize() 413 int ovs_flow_tbl_init(struct flow_table *table) in ovs_flow_tbl_init() 461 static void table_instance_flow_free(struct flow_table *table, in table_instance_flow_free() 466 hlist_del_rcu(&flow->flow_table.node[ti->node_ver]); in table_instance_flow_free() 478 void table_instance_flow_flush(struct flow_table *table, in table_instance_flow_flush() [all …]
|
D | Makefile | 14 flow_table.o \
|
D | datapath.h | 89 struct flow_table table;
|
D | flow.h | 212 } flow_table, ufid_table; member
|
D | datapath.c | 1857 struct flow_table *table = &dp->table; in __dp_destroy()
|
/net/netfilter/ |
D | nf_flow_table_core.c | 282 int flow_offload_add(struct nf_flowtable *flow_table, struct flow_offload *flow) in flow_offload_add() argument 288 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 294 err = rhashtable_insert_fast(&flow_table->rhashtable, in flow_offload_add() 298 rhashtable_remove_fast(&flow_table->rhashtable, in flow_offload_add() 306 if (nf_flowtable_hw_offload(flow_table)) { in flow_offload_add() 308 nf_flow_offload_add(flow_table, flow); in flow_offload_add() 315 void flow_offload_refresh(struct nf_flowtable *flow_table, in flow_offload_refresh() argument 326 if (likely(!nf_flowtable_hw_offload(flow_table))) in flow_offload_refresh() 329 nf_flow_offload_add(flow_table, flow); in flow_offload_refresh() 338 static void flow_offload_del(struct nf_flowtable *flow_table, in flow_offload_del() argument [all …]
|
D | nf_flow_table_ip.c | 323 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ip_hook() local 342 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ip_hook() 366 flow_offload_refresh(flow_table, flow); in nf_flow_offload_ip_hook() 377 if (flow_table->flags & NF_FLOWTABLE_COUNTER) in nf_flow_offload_ip_hook() 564 struct nf_flowtable *flow_table = priv; in nf_flow_offload_ipv6_hook() local 583 tuplehash = flow_offload_lookup(flow_table, &tuple); in nf_flow_offload_ipv6_hook() 607 flow_offload_refresh(flow_table, flow); in nf_flow_offload_ipv6_hook() 617 if (flow_table->flags & NF_FLOWTABLE_COUNTER) in nf_flow_offload_ipv6_hook()
|
/net/core/ |
D | net-sysfs.c | 900 struct rps_dev_flow_table *flow_table; in show_rps_dev_flow_table_cnt() local 904 flow_table = rcu_dereference(queue->rps_flow_table); in show_rps_dev_flow_table_cnt() 905 if (flow_table) in show_rps_dev_flow_table_cnt() 906 val = (unsigned long)flow_table->mask + 1; in show_rps_dev_flow_table_cnt() 1000 struct rps_dev_flow_table *flow_table; in rx_queue_release() local 1008 flow_table = rcu_dereference_protected(queue->rps_flow_table, 1); in rx_queue_release() 1009 if (flow_table) { in rx_queue_release() 1011 call_rcu(&flow_table->rcu, rps_dev_flow_table_release); in rx_queue_release()
|
D | dev.c | 4406 struct rps_dev_flow_table *flow_table; in set_rps_cpu() local 4421 flow_table = rcu_dereference(rxqueue->rps_flow_table); in set_rps_cpu() 4422 if (!flow_table) in set_rps_cpu() 4424 flow_id = skb_get_hash(skb) & flow_table->mask; in set_rps_cpu() 4430 rflow = &flow_table->flows[flow_id]; in set_rps_cpu() 4454 struct rps_dev_flow_table *flow_table; in get_rps_cpu() local 4475 flow_table = rcu_dereference(rxqueue->rps_flow_table); in get_rps_cpu() 4477 if (!flow_table && !map) in get_rps_cpu() 4486 if (flow_table && sock_flow_table) { in get_rps_cpu() 4503 rflow = &flow_table->flows[hash & flow_table->mask]; in get_rps_cpu() [all …]
|
/net/sched/ |
D | cls_api.c | 3678 entry->ct.flow_table = tcf_ct_ft(act); in tc_setup_flow_action()
|