netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: ivecera@redhat.com
Cc: netdev@vger.kernel.org, mchan@broadcom.com
Subject: Re: [PATCH net] tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled
Date: Fri, 18 Apr 2014 18:01:51 -0400 (EDT)	[thread overview]
Message-ID: <20140418.180151.634079582942024473.davem@davemloft.net> (raw)
In-Reply-To: <1397739068-14240-1-git-send-email-ivecera@redhat.com>

From: Ivan Vecera <ivecera@redhat.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@redhat.com>

Applied and queued up for -stable.

      parent reply	other threads:[~2014-04-18 21:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-17 12:51 [PATCH net] tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled Ivan Vecera
2014-04-17 17:47 ` Michael Chan
2014-04-18 22:01 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140418.180151.634079582942024473.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=ivecera@redhat.com \
    --cc=mchan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).