ixgbe: recycle pages in packet split mode
[safe/jmp/linux-2.6] / drivers / net / ixgbe / ixgbe.h
index 5ba0384..71ddac6 100644 (file)
@@ -114,6 +114,7 @@ struct ixgbe_rx_buffer {
        dma_addr_t dma;
        struct page *page;
        dma_addr_t page_dma;
+       unsigned int page_offset;
 };
 
 struct ixgbe_queue_stats {
@@ -152,9 +153,9 @@ struct ixgbe_ring {
        struct net_lro_mgr lro_mgr;
        bool lro_used;
        struct ixgbe_queue_stats stats;
-       u8 v_idx; /* maps directly to the index for this ring in the hardware
-                  * vector array, can also be used for finding the bit in EICR
-                  * and friends that represents the vector for this ring */
+       u16 v_idx; /* maps directly to the index for this ring in the hardware
+                  * vector array, can also be used for finding the bit in EICR
+                  * and friends that represents the vector for this ring */
 
 
        u16 work_limit;                /* max work per interrupt */