X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fflow_table.h;h=ca8a5820f6153f67fb9ad987c4c156be882c92ea;hb=c5cf10598f8c9f4428291e9df3ecd72a05fb1ccf;hp=f54aa82cf81eb64e0133bd5edf406ca1a4a36ebc;hpb=4f88b5e5cf2f1da2afe62e339327b6878168875a;p=sliver-openvswitch.git diff --git a/datapath/flow_table.h b/datapath/flow_table.h index f54aa82cf..ca8a5820f 100644 --- a/datapath/flow_table.h +++ b/datapath/flow_table.h @@ -52,6 +52,8 @@ struct flow_table { unsigned int count; }; +extern struct kmem_cache *flow_stats_cache; + int ovs_flow_init(void); void ovs_flow_exit(void); @@ -60,7 +62,7 @@ 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,