aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/myri10ge/myri10ge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 711a8bf08fac..d38217a7eb11 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -1650,8 +1650,8 @@ static int myri10ge_open(struct net_device *dev)
1650 ? (128 - MXGEFW_PAD) 1650 ? (128 - MXGEFW_PAD)
1651 : (SMP_CACHE_BYTES - MXGEFW_PAD); 1651 : (SMP_CACHE_BYTES - MXGEFW_PAD);
1652 else 1652 else
1653 /* enough for an ETH_DATA_LEN frame */ 1653 /* enough for a vlan encapsulated ETH_DATA_LEN frame */
1654 mgp->small_bytes = ETH_FRAME_LEN; 1654 mgp->small_bytes = VLAN_ETH_FRAME_LEN;
1655 1655
1656 /* Override the small buffer size? */ 1656 /* Override the small buffer size? */
1657 if (myri10ge_small_bytes > 0) 1657 if (myri10ge_small_bytes > 0)