diff options
Diffstat (limited to 'net/openvswitch/flow_table.h')
-rw-r--r-- | net/openvswitch/flow_table.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/openvswitch/flow_table.h b/net/openvswitch/flow_table.h index fbe45d5ad07d..baaeb101924d 100644 --- a/net/openvswitch/flow_table.h +++ b/net/openvswitch/flow_table.h | |||
@@ -55,12 +55,12 @@ struct flow_table { | |||
55 | int ovs_flow_init(void); | 55 | int ovs_flow_init(void); |
56 | void ovs_flow_exit(void); | 56 | void ovs_flow_exit(void); |
57 | 57 | ||
58 | struct sw_flow *ovs_flow_alloc(void); | 58 | struct sw_flow *ovs_flow_alloc(bool percpu_stats); |
59 | void ovs_flow_free(struct sw_flow *, bool deferred); | 59 | void ovs_flow_free(struct sw_flow *, bool deferred); |
60 | 60 | ||
61 | int ovs_flow_tbl_init(struct flow_table *); | 61 | int ovs_flow_tbl_init(struct flow_table *); |
62 | int ovs_flow_tbl_count(struct flow_table *table); | 62 | int ovs_flow_tbl_count(struct flow_table *table); |
63 | void ovs_flow_tbl_destroy(struct flow_table *table); | 63 | void ovs_flow_tbl_destroy(struct flow_table *table, bool deferred); |
64 | int ovs_flow_tbl_flush(struct flow_table *flow_table); | 64 | int ovs_flow_tbl_flush(struct flow_table *flow_table); |
65 | 65 | ||
66 | int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, | 66 | int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow, |
@@ -69,9 +69,11 @@ void ovs_flow_tbl_remove(struct flow_table *table, struct sw_flow *flow); | |||
69 | int ovs_flow_tbl_num_masks(const struct flow_table *table); | 69 | int ovs_flow_tbl_num_masks(const struct flow_table *table); |
70 | struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *table, | 70 | struct sw_flow *ovs_flow_tbl_dump_next(struct table_instance *table, |
71 | u32 *bucket, u32 *idx); | 71 | u32 *bucket, u32 *idx); |
72 | struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *, | 72 | struct sw_flow *ovs_flow_tbl_lookup_stats(struct flow_table *, |
73 | const struct sw_flow_key *, | 73 | const struct sw_flow_key *, |
74 | u32 *n_mask_hit); | 74 | u32 *n_mask_hit); |
75 | struct sw_flow *ovs_flow_tbl_lookup(struct flow_table *, | ||
76 | const struct sw_flow_key *); | ||
75 | 77 | ||
76 | bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, | 78 | bool ovs_flow_cmp_unmasked_key(const struct sw_flow *flow, |
77 | struct sw_flow_match *match); | 79 | struct sw_flow_match *match); |