public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: netdev@vger.kernel.org, Vladislav Zolotarov <vladz@broadcom.com>,
	Eilon Greenstein <eilong@broadcom.com>
Subject: Re: [PATCH v5] net: bnx2x: convert to hw_features
Date: Fri, 22 Apr 2011 06:51:04 +0200	[thread overview]
Message-ID: <1303447864.2784.26.camel@edumazet-laptop> (raw)
In-Reply-To: <20110421224134.GB7888@rere.qmqm.pl>

Le vendredi 22 avril 2011 à 00:41 +0200, Michał Mirosław a écrit :
> On Thu, Apr 21, 2011 at 04:52:11PM +0200, Eric Dumazet wrote:
> > Le mardi 12 avril 2011 à 21:38 +0200, Michał Mirosław a écrit :
> > > Since ndo_fix_features callback is postponing features change when
> > > bp->recovery_state != BNX2X_RECOVERY_DONE, netdev_update_features()
> > > has to be called again when this condition changes. Previously,
> > > ethtool_ops->set_flags callback returned -EBUSY in that case
> > > (it's not possible in the new model).
> > > 
> > > Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
> > > 
> > > v5: - don't delay set_features, as it's rtnl_locked - same as recovery process
> > > v4: - complete bp->rx_csum -> NETIF_F_RXCSUM conversion
> > >     - add check for failed ndo_set_features in ndo_open callback
> > > v3: - include NETIF_F_LRO in hw_features
> > >     - don't call netdev_update_features() if bnx2x_nic_load() failed
> > > v2: - comment in ndo_fix_features callback
> > > ---
> > I am not sure its related to these changes, but I now have in
> > net-next-2.6 :
> 
> > [   23.674263] ------------[ cut here ]------------
> > [   23.674266] WARNING: at net/core/dev.c:1318 dev_disable_lro+0x83/0x90()
> > [   23.674270] Hardware name: ProLiant BL460c G6
> > [   23.674273] Modules linked in: tg3 libphy sg
> > [   23.674280] Pid: 3070, comm: sysctl Tainted: G        W   2.6.39-rc2-01242-g3ef22b9-dirty #669
> > [   23.674282] Call Trace:
> > [   23.674285]  [<ffffffff813b94f3>] ? dev_disable_lro+0x83/0x90
> > [   23.674291]  [<ffffffff81042c9b>] warn_slowpath_common+0x8b/0xc0
> > [   23.674298]  [<ffffffff81042ce5>] warn_slowpath_null+0x15/0x20
> > [   23.674304]  [<ffffffff813b94f3>] dev_disable_lro+0x83/0x90
> > [   23.674309]  [<ffffffff81429789>] devinet_sysctl_forward+0x199/0x210
> [...]
> 
> Hmm. Looks like something is not allowing to disable LRO. Please check with
> following patch so we can be sure which driver causes this.
> 
> Best Regards,
> Michał Mirosław

Yes, obviously, and I suggested roughly the same patch some time ago.




  parent reply	other threads:[~2011-04-22  4:51 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-10 14:47 [PATCH] net: bnx2x: convert to hw_features Michał Mirosław
2011-04-10 15:10 ` Vladislav Zolotarov
2011-04-10 15:23   ` Michał Mirosław
2011-04-10 15:35     ` [PATCH v2] " Michał Mirosław
2011-04-11 14:10       ` Vladislav Zolotarov
2011-04-11 19:54         ` [PATCH v3] " Michał Mirosław
2011-04-11 20:26           ` [PATCH v4] " Michał Mirosław
2011-04-12 12:10             ` Vladislav Zolotarov
2011-04-12 14:07               ` Michał Mirosław
2011-04-12 14:36                 ` Vladislav Zolotarov
2011-04-12 14:49                   ` Michał Mirosław
2011-04-12 19:38                     ` [PATCH v5] " Michał Mirosław
2011-04-12 21:52                       ` David Miller
2011-04-21 14:52                       ` Eric Dumazet
2011-04-21 18:49                         ` Vladislav Zolotarov
2011-04-21 19:19                           ` Ben Hutchings
2011-04-21 22:15                             ` Michał Mirosław
2011-04-21 22:52                               ` Ben Hutchings
2011-04-21 23:12                                 ` [PATCH] net: fix hw_features ethtool_ops->set_flags compatibility Michał Mirosław
2011-04-21 23:19                                   ` [PATCH v2] " Michał Mirosław
2011-04-21 23:21                                   ` [PATCH v3] " Michał Mirosław
2011-04-21 23:59                                   ` [PATCH v4] " Michał Mirosław
2011-04-22  0:21                                     ` David Miller
2011-04-22  5:16                                     ` Eric Dumazet
2011-04-22  5:27                                       ` Eric Dumazet
2011-04-21 23:14                                 ` [PATCH v5] net: bnx2x: convert to hw_features Michał Mirosław
2011-04-21 23:44                                 ` Michał Mirosław
2011-04-21 22:41                         ` Michał Mirosław
2011-04-21 22:42                           ` [PATCH] net: make WARN_ON in dev_disable_lro() useful Michał Mirosław
2011-04-22  5:11                             ` Eric Dumazet
2011-04-25 18:56                               ` David Miller
2011-04-22  4:51                           ` Eric Dumazet [this message]
2011-04-13  9:36                     ` [PATCH v4] net: bnx2x: convert to hw_features Vladislav Zolotarov
2011-04-11 20:12         ` [PATCH v2] " Michał Mirosław
2011-04-12  7:26           ` Vladislav Zolotarov
2011-04-12  7:46             ` Vladislav Zolotarov

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=1303447864.2784.26.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=eilong@broadcom.com \
    --cc=mirq-linux@rere.qmqm.pl \
    --cc=netdev@vger.kernel.org \
    --cc=vladz@broadcom.com \
    /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