igb: reduce Rx header size
authorEric Dumazet <edumazet@google.com>
Fri, 3 Aug 2012 04:46:59 +0000 (04:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Sep 2012 05:51:39 +0000 (22:51 -0700)
Reduce skb truesize by 256 bytes.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h

index 9e572dd29ab288e98bd72c4859f16fbf839c9c3b..0c9f62caa8fa505a9fd958e6b30d65efe364e4b4 100644 (file)
@@ -131,9 +131,9 @@ struct vf_data_storage {
 #define MAXIMUM_ETHERNET_VLAN_SIZE 1522
 
 /* Supported Rx Buffer Sizes */
-#define IGB_RXBUFFER_512   512
+#define IGB_RXBUFFER_256   256
 #define IGB_RXBUFFER_16384 16384
-#define IGB_RX_HDR_LEN     IGB_RXBUFFER_512
+#define IGB_RX_HDR_LEN     IGB_RXBUFFER_256
 
 /* How many Tx Descriptors do we need to call netif_wake_queue ? */
 #define IGB_TX_QUEUE_WAKE      16