ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 15 May 2012 10:36:39 +0000 (10:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 15 May 2012 10:36:39 +0000 (10:36 +0000)
SVN-Revision: 31736

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h

index d1f692c38804f41dfb7f7effa4221c29148cf16a..ec764c5c2f4cb762e98dd4f8f4bea4182392eee9 100644 (file)
@@ -51,9 +51,8 @@
 #define AG71XX_INT_INIT        (AG71XX_INT_ERR | AG71XX_INT_POLL)
 
 #define AG71XX_TX_MTU_LEN      1540
-#define AG71XX_RX_PKT_RESERVE  64
 #define AG71XX_RX_PKT_SIZE     \
-       (AG71XX_RX_PKT_RESERVE + ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)
+       (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)
 
 #define AG71XX_TX_RING_SIZE_DEFAULT    64
 #define AG71XX_RX_RING_SIZE_DEFAULT    128