summaryrefslogtreecommitdiff
path: root/drivers/net/myri10ge
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2006-12-11 13:26:38 +0300
committerJeff Garzik <jeff@garzik.org>2006-12-11 17:54:06 +0300
commitde3c4507047f2457359551c49b093669acb4f190 (patch)
tree10888df6dc066e4b9809d10e7ea420819c690f9d /drivers/net/myri10ge
parent52ea6fb39b6fd08ec8718b92cddb3fed2165a921 (diff)
downloadlinux-de3c4507047f2457359551c49b093669acb4f190.tar.xz
[PATCH] myri10ge: Full vlan frame in small_bytes
Receive full vlan frames into smalls when running with a jumbo MTU. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge')
-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)
? (128 - MXGEFW_PAD)
: (SMP_CACHE_BYTES - MXGEFW_PAD);
else
- /* enough for an ETH_DATA_LEN frame */
- mgp->small_bytes = ETH_FRAME_LEN;
+ /* enough for a vlan encapsulated ETH_DATA_LEN frame */
+ mgp->small_bytes = VLAN_ETH_FRAME_LEN;
/* Override the small buffer size? */
if (myri10ge_small_bytes > 0)