datapath: dont use non-existent receive hooks
[openvswitch] / datapath / vport.h
index a5c17f6e5211a1c3bae26f631e1a3bb1ca3f76bc..0a6801d97efc0c1db472a9d459fee9bb94c58ec4 100644 (file)
@@ -10,6 +10,7 @@
 #define VPORT_H 1
 
 #include <linux/list.h>
+#include <linux/seqlock.h>
 #include <linux/skbuff.h>
 #include <linux/spinlock.h>
 
@@ -83,6 +84,7 @@ struct vport_percpu_stats {
        u64 rx_packets;
        u64 tx_bytes;
        u64 tx_packets;
+       seqcount_t seqlock;
 };
 
 struct vport_err_stats {