[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140418.180151.634079582942024473.davem@davemloft.net>
Date: Fri, 18 Apr 2014 18:01:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ivecera@...hat.com
Cc: netdev@...r.kernel.org, mchan@...adcom.com
Subject: Re: [PATCH net] tg3: update rx_jumbo_pending ring param only when
jumbo frames are enabled
From: Ivan Vecera <ivecera@...hat.com>
Date: Thu, 17 Apr 2014 14:51:08 +0200
> The patch fixes a problem with dropped jumbo frames after usage of
> 'ethtool -G ... rx'.
>
> Scenario:
> 1. ip link set eth0 up
> 2. ethtool -G eth0 rx N # <- This zeroes rx-jumbo
> 3. ip link set mtu 9000 dev eth0
>
> The ethtool command set rx_jumbo_pending to zero so any received jumbo
> packets are dropped and you need to use 'ethtool -G eth0 rx-jumbo N'
> to workaround the issue.
> The patch changes the logic so rx_jumbo_pending value is changed only if
> jumbo frames are enabled (MTU > 1500).
>
> Signed-off-by: Ivan Vecera <ivecera@...hat.com>
Applied and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists