DPDK usage discussions
 help / color / mirror / Atom feed
From: Olga Shern <olgas@mellanox.com>
To: MAC Lee <mac_leehk@yahoo.com.hk>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Can't enable RSS in DPDK with MLX5
Date: Wed, 14 Sep 2016 11:56:53 +0000	[thread overview]
Message-ID: <DB6PR0501MB2757ED7DFC804DF84E3E8BA5D3F10@DB6PR0501MB2757.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <1341016917.230797.1473752094209@mail.yahoo.com>

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@dpdk.org] On Behalf Of MAC Lee
Sent: Tuesday, September 13, 2016 10:35 AM
To: users@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

      reply	other threads:[~2016-09-14 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1341016917.230797.1473752094209.ref@mail.yahoo.com>
2016-09-13  7:34 ` MAC Lee
2016-09-14 11:56   ` Olga Shern [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=DB6PR0501MB2757ED7DFC804DF84E3E8BA5D3F10@DB6PR0501MB2757.eurprd05.prod.outlook.com \
    --to=olgas@mellanox.com \
    --cc=mac_leehk@yahoo.com.hk \
    --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).