Skip to content

Commit

Permalink
[PATCH] myri10ge: Full vlan frame in small_bytes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brice Goglin authored and Jeff Garzik committed Dec 11, 2006
1 parent 52ea6fb commit de3c450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit de3c450

Please sign in to comment.