DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] RSS Support in SRIOV (IXGBEVF X540)
@ 2019-10-29  4:50 Geethu Joseph
  2019-10-29 11:07 ` Geethu Joseph
  0 siblings, 1 reply; 2+ messages in thread
From: Geethu Joseph @ 2019-10-29  4:50 UTC (permalink / raw)
  To: users; +Cc: j geethus



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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] RSS Support in SRIOV (IXGBEVF X540)
  2019-10-29  4:50 [dpdk-users] RSS Support in SRIOV (IXGBEVF X540) Geethu Joseph
@ 2019-10-29 11:07 ` Geethu Joseph
  0 siblings, 0 replies; 2+ messages in thread
From: Geethu Joseph @ 2019-10-29 11:07 UTC (permalink / raw)
  To: users; +Cc: j geethus

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 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-30 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29  4:50 [dpdk-users] RSS Support in SRIOV (IXGBEVF X540) Geethu Joseph
2019-10-29 11:07 ` Geethu Joseph

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).