ixp4xx: fix weird ethernet issues with some devices caused by the ethernet packet...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 00:44:01 +0000 (00:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 00:44:01 +0000 (00:44 +0000)
SVN-Revision: 18262

target/linux/ixp4xx/patches-2.6.28/304-ixp4xx_eth_jumboframe.patch
target/linux/ixp4xx/patches-2.6.30/304-ixp4xx_eth_jumboframe.patch
target/linux/ixp4xx/patches-2.6.31/304-ixp4xx_eth_jumboframe.patch

index f7b5c81b6864ecf684c3532ba1bdbccb3e4310a2..8f76f7c27f467c06f338e6654938734d6c6b9c4a 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
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
index 26f5bd953de42547cd82688402f1660a6bdbb6c5..a9cbddcf5a887594b0575aa6dce31417d8ee96c0 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