projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ea6fb
)
[PATCH] myri10ge: Full vlan frame in small_bytes
author
Brice Goglin
<brice@myri.com>
Mon, 11 Dec 2006 10:26:38 +0000
(11:26 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 11 Dec 2006 14:54:06 +0000
(09:54 -0500)
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>
drivers/net/myri10ge/myri10ge.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/myri10ge/myri10ge.c
b/drivers/net/myri10ge/myri10ge.c
index 711a8bf08facd36fe8266fc6cfc859654f915e98..d38217a7eb11ede7bf3fb49a3f5a4b6b291a3b23 100644
(file)
--- 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 a
n
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)