From: Vlad Zolotarov <vladz@cloudius-systems.com>
To: "dev@dpdk.org" <dev@dpdk.org>,
"Ouyang, Changchun" <changchun.ouyang@intel.com>
Subject: Re: [dpdk-dev] [PATCH 0/6] Enable VF RSS for Niantic
Date: Thu, 18 Dec 2014 15:06:04 +0200 [thread overview]
Message-ID: <5492D13C.4020006@cloudius-systems.com> (raw)
In-Reply-To: <1418897516-25918-1-git-send-email-vladz@cloudius-systems.com>
On 12/18/14 12:11, Vlad Zolotarov wrote:
> From: Changchun Ouyang <changchun.ouyang@intel.com>
>
> This patch enables VF RSS for Niantic, which allow each VF having at most 4 queues.
> The actual queue number per VF depends on the number of VF:
> VF number from 1~32: 4 queues per VF;
> VF number from 33~max vf num: 2 queues per VF;
>
> On host, to enable VF RSS functionality, mq mode should be set as ETH_MQ_RX_VMDQ_RSS
> or ETH_MQ_RX_RSS mode, and SRIOV mode should be activated.
> It also needs config VF RSS information like hash function, RSS key, RSS key length.
This patch series is missing a few things:
1. Taking into the consideration the number of Rx queues requested by a
user in the rte_eth_dev_configure().
2. dev->dev_ops->reta_query used by a rte_eth_dev_rss_reta_query() is
still not initialized for a VF. Thus there is no way to query the
RSS table contents.
3. rte_eth_dev_info_get() returns reta_size == 0 when called for a VF
function.
thanks,
vlad
>
> Changchun Ouyang (6):
> ixgbe: Code cleanup
> ixgbe: Negotiate VF API version
> ixgbe: Get VF queue number
> ether: Check VMDq RSS mode
> ixgbe: Config VF RSS
> testpmd: Set Rx VMDq RSS mode
>
> app/test-pmd/testpmd.c | 9 ++++
> lib/librte_ether/rte_ethdev.c | 21 ++++++--
> lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 1 +
> lib/librte_pmd_ixgbe/ixgbe_pf.c | 75 ++++++++++++++++++++++++++++-
> lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 95 +++++++++++++++++++++++++++----------
> 5 files changed, 171 insertions(+), 30 deletions(-)
>
> --
next parent reply other threads:[~2014-12-18 13:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1418897516-25918-1-git-send-email-vladz@cloudius-systems.com>
2014-12-18 13:06 ` Vlad Zolotarov [this message]
2014-12-19 1:35 ` Ouyang, Changchun
2014-12-21 8:01 ` Vladislav Zolotarov
2014-12-24 6:37 ` Ouyang, Changchun
2014-12-24 8:01 ` Vlad Zolotarov
2014-12-15 2:56 Ouyang Changchun
2014-12-15 10:55 ` Bruce Richardson
2014-12-16 0:58 ` Ouyang, Changchun
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=5492D13C.4020006@cloudius-systems.com \
--to=vladz@cloudius-systems.com \
--cc=changchun.ouyang@intel.com \
--cc=dev@dpdk.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;
as well as URLs for NNTP newsgroup(s).