From: Haiyang Zhang <haiyangz@microsoft.com>
To: David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
KY Srinivasan <kys@microsoft.com>,
"olaf@aepfle.de" <olaf@aepfle.de>,
"jasowang@redhat.com" <jasowang@redhat.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"driverdev-devel@linuxdriverproject.org"
<driverdev-devel@linuxdriverproject.org>
Subject: RE: [PATCH net-next,v3] hyperv: Add support for virtual Receive Side Scaling (vRSS)
Date: Wed, 19 Mar 2014 21:36:24 +0000 [thread overview]
Message-ID: <96538481deb64ee0a7fd511bedfa1d55@DFM-DB3MBX15-06.exchange.corp.microsoft.com> (raw)
In-Reply-To: <20140319.164005.1815461875771862691.davem@davemloft.net>
> -----Original Message-----
> > +
> > +
> > +/* ndis_recv_scale_cap/cap_flag */
>
> One empty line is sufficient, we don't need two of them here.
I will fix this and other formats you pointed out below, also check the whole patch
for similar issues.
> > - net = alloc_etherdev(sizeof(struct net_device_context));
> > + net = alloc_etherdev_mq(sizeof(struct net_device_context),
> > + num_online_cpus());
> > if (!net)
> > return -ENOMEM;
> >
>
> num_online_cpus() can change, will your driver accomodate this?
HyperV currently doesn't support hot-add/remove cpu, so this is constant for
this driver.
Thanks,
- Haiyang
next prev parent reply other threads:[~2014-03-19 21:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-18 22:15 Haiyang Zhang
2014-03-19 20:40 ` David Miller
2014-03-19 21:36 ` Haiyang Zhang [this message]
2014-03-19 21:56 ` Sergei Shtylyov
2014-03-19 21:00 ` Stephen Rothwell
2014-03-20 3:41 ` 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=96538481deb64ee0a7fd511bedfa1d55@DFM-DB3MBX15-06.exchange.corp.microsoft.com \
--to=haiyangz@microsoft.com \
--cc=davem@davemloft.net \
--cc=driverdev-devel@linuxdriverproject.org \
--cc=jasowang@redhat.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olaf@aepfle.de \
/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
all inboxes | Powered by JetHome®