From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Vlad Zolotarov <vladz@cloudius-systems.com>
Cc: netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,
avi@cloudius-systems.com, gleb@cloudius-systems.com
Subject: Re: [PATCH net-next v10 3/7] ixgbe: Add a RETA query command to VF-PF channel API
Date: Tue, 31 Mar 2015 00:35:27 -0700 [thread overview]
Message-ID: <1427787327.2497.111.camel@jtkirshe-mobl> (raw)
In-Reply-To: <1427740529-9605-4-git-send-email-vladz@cloudius-systems.com>
[-- Attachment #1: Type: text/plain, Size: 2438 bytes --]
On Mon, 2015-03-30 at 21:35 +0300, Vlad Zolotarov wrote:
> Add this new command for 82599 and x540 devices only. Support for
> other devices
> will be added later.
>
> 82599 and x540 VFs and PF share the same RSS redirection table (RETA).
> Therefore we
> just return it for all VFs.
>
> For 82599 and x540 RETA table is an array of 32 registers (128 bytes)
> and the maximum number of
> registers that may be delivered in a single VF-PF channel command is
> 15. Therefore
> we will deliver the whole table in 3 steps: 12, 12 and 8 registers in
> each
> step correspondingly.
>
> Thus this patch does the following:
>
> - Adds a new API version (to specify a new commands set).
> - Adds the IXGBE_VF_GET_RETA command to the VF-PF commands set.
>
> Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
> ---
> New in v10:
> - Drop the PRSTYPE reading since it's VF that finally modifies it
> (via VFPSRTYPE)
> and we will add the proper masking at the VF driver level.
> - Return more self-explaining values.
>
> New in v9:
> - Reduce the support to 82599 and x540 devices only.
> - Improvements in query RETA VF-PF command implementation:
> - Use the cached RETA contents.
> - Compress the mailbox message.
>
> New in v5:
> - Use the newly added netdev op to allow/prevent the RETA query on
> a per-VF basis.
>
> New in v4:
> - Deleted an empty line in ixgbe_get_vf_reta() switch-case.
>
> New in v3:
> - Pass the number of dwords and offset in RETA in the
> IXGBE_VF_GET_RETA request message.
> This allows to reduce the added command set to a single command.
> - Added a support for all devices supported by the ixgbe driver
> that have
> SR-IOV functions support: 82599, x540 and x550. The original code
> supported
> only 82599 and x540.
> - Added the masking of the RETA entries according to the
> PSRTYPE[n].RQPL
> value.
>
> New in v1 (compared to RFC):
> - Use "if-else" statement instead of a "switch-case" for a single
> option case
> (in ixgbe_get_vf_reta()).
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 4 +++
> drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 35
> ++++++++++++++++++++++++++
> 2 files changed, 39 insertions(+)
Thanks Vlad, applied to my queue.
--
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
dev-queue
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-03-31 7:35 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 18:35 [PATCH net-next v10 0/7]: ixgbevf: Allow querying VFs RSS indirection table and key Vlad Zolotarov
2015-03-30 18:35 ` [PATCH net-next v10 1/7] if_link: Add an additional parameter to ifla_vf_info for RSS querying Vlad Zolotarov
2015-03-31 7:34 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
2015-03-30 18:35 ` [PATCH net-next v10 2/7] ixgbe: Add a new netdev op to allow/prevent a VF from querying an RSS info Vlad Zolotarov
2015-03-31 7:35 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
2015-03-30 18:35 ` [PATCH net-next v10 3/7] ixgbe: Add a RETA query command to VF-PF channel API Vlad Zolotarov
2015-03-31 7:35 ` Jeff Kirsher [this message]
2015-03-31 23:55 ` [Intel-wired-lan] " Tantilov, Emil S
2015-04-01 7:29 ` Vlad Zolotarov
2015-04-01 7:33 ` Jeff Kirsher
2015-03-30 18:35 ` [PATCH net-next v10 4/7] ixgbevf: Add a RETA query code Vlad Zolotarov
2015-03-31 7:35 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
2015-03-30 18:35 ` [PATCH net-next v10 5/7] ixgbe: Add GET_RSS_KEY command to VF-PF channel commands set Vlad Zolotarov
2015-03-31 7:35 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
2015-03-30 18:35 ` [PATCH net-next v10 6/7] ixgbevf: Add RSS Key query code Vlad Zolotarov
2015-03-31 7:36 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
2015-03-30 18:35 ` [PATCH net-next v10 7/7] ixgbevf: Add the appropriate ethtool ops to query RSS indirection table and key Vlad Zolotarov
2015-03-31 7:36 ` Jeff Kirsher
2015-04-10 23:12 ` [Intel-wired-lan] " Schmitt, Phillip J
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=1427787327.2497.111.camel@jtkirshe-mobl \
--to=jeffrey.t.kirsher@intel.com \
--cc=avi@cloudius-systems.com \
--cc=gleb@cloudius-systems.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=netdev@vger.kernel.org \
--cc=vladz@cloudius-systems.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).