X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fflow_table.h;h=ca8a5820f6153f67fb9ad987c4c156be882c92ea;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=1996e34c0fd85b1a9f88c3e328fe191146be5b51;hpb=b0f3a2feef9889d7e23f7941858c0c40b0505d87;p=sliver-openvswitch.git diff --git a/datapath/flow_table.h b/datapath/flow_table.h index 1996e34c0..ca8a5820f 100644 --- a/datapath/flow_table.h +++ b/datapath/flow_table.h @@ -52,15 +52,17 @@ struct flow_table { unsigned int count; }; +extern struct kmem_cache *flow_stats_cache; + int ovs_flow_init(void); void ovs_flow_exit(void); -struct sw_flow *ovs_flow_alloc(bool percpu_stats); +struct sw_flow *ovs_flow_alloc(void); void ovs_flow_free(struct sw_flow *, bool deferred); int ovs_flow_tbl_init(struct flow_table *); int ovs_flow_tbl_count(struct flow_table *table); -void ovs_flow_tbl_destroy(struct flow_table *table); +void ovs_flow_tbl_destroy(struct flow_table *table, bool deferred); int ovs_flow_tbl_flush(struct flow_table *flow_table); int ovs_flow_tbl_insert(struct flow_table *table, struct sw_flow *flow,