dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Vlad Zolotarov <vladz-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
To: "Ouyang,
	Changchun"
	<changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Thomas Monjalon
	<thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org"
	<dev-VfR2kkLFssw@public.gmane.org>,
	Avi Kivity
	<avi-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>,
	Gleb Natapov
	<gleb-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
Subject: Re: DPDK RSS support for ixgbevf PMD
Date: Wed, 17 Dec 2014 10:46:41 +0200	[thread overview]
Message-ID: <549142F1.2060307@cloudius-systems.com> (raw)
In-Reply-To: <F52918179C57134FAEC9EA62FA2F9625119477C7-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>


On 12/17/14 03:03, Ouyang, Changchun wrote:
> Hi ,
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Vlad Zolotarov
>> Sent: Tuesday, December 16, 2014 11:36 PM
>> To: Thomas Monjalon
>> Cc: dev-VfR2kkLFssw@public.gmane.org; Avi Kivity; Gleb Natapov
>> Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD
>>
>>
>> On 12/15/14 22:33, Thomas Monjalon wrote:
>>> 2014-12-15 21:11, Vladislav Zolotarov:
>>>> Hi,
>>>> I'm running an ixgbevf PMD on an AWS guests with extended networking
>>>> (SR-IOV functions of 82599 Intel's NIC) and noticed that even in the
>>>> current git tree there is no support for a multi-queue in this PMD:
>>>> reta size returned by rte_eth_dev_info_get() call is 0, while
>>>> max_rx_queues and max_tx_queues are both 4.
>>>>
>>>> Linux ixgbevf-2.15.3 driver on the other hand successfully
>>>> initializes 2 RSS queues: for some reason it always limits the number of
>> RSS queues by 2.
>>>> ixgbevf_main.c: line 2539
>>>> u16 rss = min_t(u16, num_online_cpus(), 2);
>>>>
>>>> The above is strange since if MRQE is set to 1010b there are 4 RSS
>>>> queues available which seems to be the case in my AWS Guest.
>>>>
>>>> However, let's get back to DPDK. As I've mentioned above the SR-IOV
>>>> function i have is RSS capable (to be 100% sure I've verified both
>>>> queues are receiving packets in a multi-socket TCP test). And it's a
>>>> shame I can't utilize it with a DPDK.
>>> Yes, it is not yet supported.
>>> But a patch was recently sent:
>>> 	http://dpdk.org/ml/archives/dev/2014-December/010028.html
>> Applying this patchset seems to break the NIC fast path functionality of a
>> AWS Guest NIC.
>> I'm still debugging it - will update u as soon as I have more specific info.

Hi, thanks for tips but I have a question below.

> Pls make sure enabling and using 4 queues on guest

Why should I enable all 4? Won't any number below or equal 4 work if (!) 
4 queues are available?
Note that there is a 82599 mode when only 2 RSS queues are available per 
VF: MRQE=1011b.

>   if you enable vf rss on host and if each vf has 4 queues,
> The packet could be received and put in any of 4 queues on guest depend on hash value of the packet.
> You could let packet IP address increased continuously and make those packets distribute to different queues.
>
> Thanks
> Changchun

  parent reply	other threads:[~2014-12-17  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 19:11 DPDK RSS support for ixgbevf PMD Vladislav Zolotarov
     [not found] ` <CAOYyTHYyx73=n2+9c9=6F6c5xLVD5F9sL6a1r--C92bwa6N7Tw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-15 20:33   ` Thomas Monjalon
2014-12-15 20:45     ` Dor Laor
     [not found]       ` <CAKUaUn7hH=6NmD524S_iFX_6THiRKRdMrsiLga_3SB_YCEQxNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-15 21:04         ` DPDK on OSv (was: RSS for ixgbevf) Thomas Monjalon
2014-12-15 23:04           ` Dor Laor
2014-12-16 15:36     ` DPDK RSS support for ixgbevf PMD Vlad Zolotarov
     [not found]       ` <5490516C.8090202-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2014-12-17  1:03         ` Ouyang, Changchun
     [not found]           ` <F52918179C57134FAEC9EA62FA2F9625119477C7-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-12-17  8:46             ` Vlad Zolotarov [this message]
     [not found]               ` <549142F1.2060307-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2014-12-18  1:32                 ` Ouyang, Changchun
     [not found]                   ` <F52918179C57134FAEC9EA62FA2F9625119481F1-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-12-18 10:33                     ` Vlad Zolotarov
     [not found]                       ` <5492AD87.8080401-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2014-12-19  1:17                         ` 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=549142F1.2060307@cloudius-systems.com \
    --to=vladz-rmzwmc9putnjc61us3ad9latqe2ktcn/@public.gmane.org \
    --cc=avi-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org \
    --cc=changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=gleb-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org \
    --cc=thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.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).