DPDK usage discussions
 help / color / mirror / Atom feed
From: Geethu Joseph <geethu.joseph@altencalsoftlabs.com>
To: users <users@dpdk.org>
Cc: j geethus <j.geethus@gmail.com>
Subject: Re: [dpdk-users] RSS Support in SRIOV (IXGBEVF X540)
Date: Tue, 29 Oct 2019 16:37:28 +0530 (IST)	[thread overview]
Message-ID: <1702215871.188317.1572347248884.JavaMail.zimbra@altencalsoftlabs.com> (raw)
In-Reply-To: <1638326866.109508.1572324655074.JavaMail.zimbra@altencalsoftlabs.com>

On further debugging I have seen that packets are distributing if RSS hash value is present in mbuf pointrt. Packets which are coming to single core is always having rss field as 0 in mbuf pointer. 

Can anybody help me why/how rss field set as 0 in mbuf pointer in X540-AT2 SRIOV mode. 

Thanks 
Geetz 


From: "Geethu Joseph" <geethu.joseph@altencalsoftlabs.com> 
To: "users" <users@dpdk.org> 
Cc: "j geethus" <j.geethus@gmail.com> 
Sent: Tuesday, October 29, 2019 10:20:55 AM 
Subject: RSS Support in SRIOV (IXGBEVF X540) 



Hi, 








Iam using Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 with SRIOV enabled and created 32 VFs. I believe this will give 4 RX and 4 TX queues per VF. In the host PF I have enabled MQ mode and RSS is set with 4. 




In my guest(Centos) am running DPDK based application with single VF, 4 cores and 4 (rx,tx) queues. But packets are distributed only in the single core. In DPDK application I have set rss_hf as ETH_RSS_PROTO_MASK and mq_mode is set to ETH_MQ_RX_RSS. App is reading from all the 4 queues. But only queue 0 is getting packets. 



How can I enable distribution of packets into all the 4 queues in ixgbevf. 







ixgbe PF 

---------- 

bash:~$ ethtool -k p2p2 | grep hash 

receive-hashing: on 



OS - Ubuntu 14.04.4 LTS 

Kernel - 4.2.0-27-generic 



Guest VF 

-------- 

OS - CentOS Linux 7 (Core) 

Kernel - 3.10.0-327.el7.x86_64 

DPDK - dpdk-17.05 





Thanks in advance. 

geetz 



      reply	other threads:[~2019-10-30 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29  4:50 Geethu Joseph
2019-10-29 11:07 ` Geethu Joseph [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=1702215871.188317.1572347248884.JavaMail.zimbra@altencalsoftlabs.com \
    --to=geethu.joseph@altencalsoftlabs.com \
    --cc=j.geethus@gmail.com \
    --cc=users@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).