From: Roland Dreier <rdreier@cisco.com>
To: Krishna Kumar2 <krkumar2@in.ibm.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
general@lists.openfabrics.org
Subject: [ofa-general] Re: [PATCH 1/2] IPoIB: Fix unregister_netdev hang
Date: Tue, 18 Sep 2007 20:30:36 -0700 [thread overview]
Message-ID: <adak5qnjpr7.fsf@cisco.com> (raw)
In-Reply-To: <OF402F2662.AACCDAF2-ON6525735B.00108C17-6525735B.0012AB74@in.ibm.com> (Krishna Kumar2's message of "Wed, 19 Sep 2007 08:53:55 +0530")
> > and I think that is only in Dave's net-2.6.24 tree now, right?
>
> Nope, that was what I downloaded yesterday:
>
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 23
> EXTRAVERSION =-rc6
> NAME = Pink Farting Weasel
Please double check your tree. I just very carefully looked at my
trees, and the poll_more: label is added in commit 6b460a71 ("[NET]:
Make NAPI polling independent of struct net_device objects.") which is
only in the net-2.6.24 tree. Of course Dave did not change the
version information in the Makefile since he wouldn't want Linus to
pick up any extra strange changes when he pulls, so a net-2.6.24 tree
will look like 2.6.23-rc6 as you quoted.
And the refcounting bug I fixed is only in net-2.6.24.
> To be clear, netif_rx_schedule while we are still in the poll list will not
> do any harm as it does nothing since NAPI_STATE_SCHED is still set (cleared
> by netif_rx_complete which has not yet run). Effectively we lost/delayed
> processing an interrupt, if I understood the code right.
Right, we lose an interrupt, and since the CQ events are one-shot, we
never get another one, and the interface is effectively dead.
- R.
next prev parent reply other threads:[~2007-09-19 3:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-18 11:18 [ofa-general] [PATCH 1/2] IPoIB: Fix unregister_netdev hang Krishna Kumar
2007-09-18 11:18 ` [ofa-general] [PATCH 2/2] IPoIB: Code cleanup Krishna Kumar
2007-09-18 14:27 ` [PATCH 1/2] IPoIB: Fix unregister_netdev hang Roland Dreier
2007-09-19 3:23 ` Krishna Kumar2
2007-09-19 3:30 ` Roland Dreier [this message]
2007-09-19 4:24 ` [ofa-general] " Krishna Kumar2
2007-09-18 17:58 ` [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule() Roland Dreier
2007-09-18 18:04 ` [ofa-general] [PATCH net-2.6.24] Fix documentation for dev_put()/dev_hold() Roland Dreier
2007-09-18 20:16 ` David Miller
2007-09-18 20:15 ` [ofa-general] Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule() David Miller
2007-09-18 22:46 ` Roland Dreier
2007-09-18 22:50 ` David Miller
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=adak5qnjpr7.fsf@cisco.com \
--to=rdreier@cisco.com \
--cc=davem@davemloft.net \
--cc=general@lists.openfabrics.org \
--cc=krkumar2@in.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.