[dpdk-users] Can't enable RSS in DPDK with MLX5

Olga Shern olgas at mellanox.com
Wed Sep 14 13:56:53 CEST 2016


The question was already answered in Mellanox community, adding the link for other users:

https://community.mellanox.com/docs/DOC-2624?et=watches.email.document_comment&comment-2790=

Best Regards,
Olga

-----Original Message-----
From: users [mailto:users-bounces at dpdk.org] On Behalf Of MAC Lee
Sent: Tuesday, September 13, 2016 10:35 AM
To: users at dpdk.org
Subject: [dpdk-users] Can't enable RSS in DPDK with MLX5

Hi All,
    I encounter a problem when enable RSS in DPDK( I am using 16.04 with OFED 3.3-1.0.4.0) using MLX5 PMD. I tried to enable RSS function in my DPDK application by setting 1.  .rxmode.mq_mode = ETH_MQ_RX_RSS, 2.  .rx_adv_conf.rss_conf.rss_hf = ETH_RSS_PROTO_MASK with RSS key length 40,//I also try ETH_RSS_IPV4 and ETH_RSS_NONFRAG_IPV4_UDP, but still no luck3. update the reta using rte_eth_dev_rss_reta_update
however, when I print out the mbuf->hash.fdir.hash, mbuf->hash.fdir.id, mbuf->hash.rss after rte_eth_rx_burst(). All of these values are 0.
I also test the RSS using Testpmd and modify the testpmd to print those value after  rte_eth_rx_burst(). But still bad luck,  I still got all 0. What I did using Testpmd:1. testpmd -c 0x3f -n 4 -w 06:00.0,txq_inline=200 -- --burst=64 --txd=4096 --rxd=1024 --mbcache=512 --rxq=4 --txq=4 --nb-cores=4 --rss-udp --i2. testpmd>stop3. testpmd>set fwd rxonly4. testpmd> port config all rss udp5. testpmd>start6. Then pump traffic using packet generator and monitor the print out of buf->hash.fdir.hash, mbuf->hash.fdir.id, mbuf->hash.rss in testpmdMay I know how can I enable the RSS function in DPDK application using MLX5 PMD?
Best Regards,Marco


More information about the users mailing list