Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de3c4507047f2457359551c49b093669acb4f190
Commit:     de3c4507047f2457359551c49b093669acb4f190
Parent:     52ea6fb39b6fd08ec8718b92cddb3fed2165a921
Author:     Brice Goglin <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 11 11:26:38 2006 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Mon Dec 11 09:54:06 2006 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/myri10ge/myri10ge.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 711a8bf..d38217a 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)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to