From: Brice Goglin Date: Mon, 11 Dec 2006 10:26:38 +0000 (+0100) Subject: [PATCH] myri10ge: Full vlan frame in small_bytes X-Git-Tag: MMI-PSA29.97-13-9~45878^2~26^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de3c4507047f2457359551c49b093669acb4f190;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 Signed-off-by: Jeff Garzik --- 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)