From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: David L Stevens <david.stevens@oracle.com>
Cc: davem@davemloft.net, bob.picco@oracle.com,
dwight.engen@oracle.com, raghuram.kothakota@oracle.com,
netdev@vger.kernel.org
Subject: Re: [PATCHv3 RFC net-next 1/4] sunvnet: NAPIfy sunvnet
Date: Wed, 15 Oct 2014 13:22:04 -0400 [thread overview]
Message-ID: <20141015172204.GF11840@oracle.com> (raw)
In-Reply-To: <543EAC34.1010502@oracle.com>
On (10/15/14 13:17), David L Stevens wrote:
> > -static void maybe_tx_wakeup(unsigned long param)
> > +static void maybe_tx_wakeup(struct vnet *vp)
> > {
> > - struct vnet *vp = (struct vnet *)param;
> > struct net_device *dev = vp->dev;
> >
> > netif_tx_lock(dev);
>
> Isn't this a function type conflict for tasklet_init()?
maybe_tx_wakeup is not a tasklet any more. That was one of the
big benefits of going NAPI, as David Miller pointed out- we
are already in NAPI context, so the original reason (deadlock
with dev_watchdog) does not exist any more.
I'm working on adding the rest of your comments about
removing comments and making an int into a bool.
--Sowmini
prev parent reply other threads:[~2014-10-15 17:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-15 16:42 [PATCHv3 RFC net-next 1/4] sunvnet: NAPIfy sunvnet Sowmini Varadhan
2014-10-15 17:17 ` David L Stevens
2014-10-15 17:22 ` Sowmini Varadhan [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=20141015172204.GF11840@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=bob.picco@oracle.com \
--cc=davem@davemloft.net \
--cc=david.stevens@oracle.com \
--cc=dwight.engen@oracle.com \
--cc=netdev@vger.kernel.org \
--cc=raghuram.kothakota@oracle.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;
as well as URLs for NNTP newsgroup(s).