ixp4xx: fix weird ethernet issues with some devices caused by the ethernet packet...
[openwrt-10.03/.git] / target / linux / ixp4xx / patches-2.6.30 / 304-ixp4xx_eth_jumboframe.patch
index 9ee3c904c0aaf7a49da73b39e5edfb3985bb2d54..b4cf824370af3f839a665c5d0f46097b6bac8fb2 100644 (file)
@@ -5,7 +5,7 @@
  #define POOL_ALLOC_SIZE               (sizeof(struct desc) * (RX_DESCS + TX_DESCS))
  #define REGS_SIZE             0x1000
 -#define MAX_MRU                       1536 /* 0x600 */
-+#define MAX_MRU                       (16320 - ETH_HLEN - ETH_FCS_LEN)
++#define MAX_MRU                       (14320 - ETH_HLEN - ETH_FCS_LEN)
  #define RX_BUFF_SIZE          ALIGN((NET_IP_ALIGN) + MAX_MRU, 4)
  
  #define NAPI_WEIGHT           16