From: David Miller <davem@davemloft.net>
To: andschwa@microsoft.com
Cc: haiyangz@microsoft.com, kys@microsoft.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS filter
Date: Wed, 12 Aug 2015 14:45:49 -0700 (PDT) [thread overview]
Message-ID: <20150812.144549.1239580161501384675.davem@davemloft.net> (raw)
In-Reply-To: <1439338472-21361-1-git-send-email-andschwa@microsoft.com>
From: Andrew Schwartzmeyer <andschwa@microsoft.com>
Date: Tue, 11 Aug 2015 17:14:31 -0700
> Uses device_info->num_chn to pass user provided number of vRSS
> queues (from ethtool --set-channels) to rndis_filter_device_add. If
> nonzero and less than the maximum, set net_device->num_chn to the given
> value; else default to prior algorithm.
>
> Always initialize struct device_info to 0, otherwise not all its fields
> are guaranteed to be 0, which is necessary when checking if num_chn has
> been purposefully set.
>
> Signed-off-by: Andrew Schwartzmeyer <andschwa@microsoft.com>
Applied.
prev parent reply other threads:[~2015-08-12 21:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 0:14 Andrew Schwartzmeyer
2015-08-12 0:14 ` [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op Andrew Schwartzmeyer
2015-08-12 19:05 ` Haiyang Zhang
2015-08-12 21:45 ` David Miller
2015-08-12 19:05 ` [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS filter Haiyang Zhang
2015-08-12 21:45 ` 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=20150812.144549.1239580161501384675.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andschwa@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®