igb: Improve tiny packets reception performance on low frequency CPU
[dragonfly.git] / sys / dev / netif / igb / if_igb.h
index 15b26e8..792a413 100644 (file)
@@ -228,6 +228,7 @@ struct igb_tx_ring {
        int                     oact_lo_desc;
        int                     oact_hi_desc;
        int                     intr_nsegs;
+       int                     wreg_nsegs;
        int                     tx_intr_bit;
        uint32_t                tx_intr_mask;
 
@@ -264,6 +265,7 @@ struct igb_rx_ring {
         */
        struct mbuf             *fmp;
        struct mbuf             *lmp;
+       int                     rx_wreg;
 
        /* Soft stats */
        u_long                  rx_packets;
@@ -310,6 +312,7 @@ struct igb_softc {
 
        struct ifmedia          media;
        struct callout          timer;
+       int                     timer_cpuid;
 
        int                     intr_type;
        int                     intr_rid;