packet: rollover statistics
[cascardo/linux.git] / net / packet / internal.h
index a9d30a1..c035d26 100644 (file)
@@ -89,6 +89,9 @@ struct packet_fanout {
 
 struct packet_rollover {
        int                     sock;
+       atomic_long_t           num;
+       atomic_long_t           num_huge;
+       atomic_long_t           num_failed;
 #define ROLLOVER_HLEN  (L1_CACHE_BYTES / sizeof(u32))
        u32                     history[ROLLOVER_HLEN] ____cacheline_aligned;
 } ____cacheline_aligned_in_smp;