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" <[email protected]> To: "users" <[email protected]> Cc: "j geethus" <[email protected]> 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
