DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Same 5 tuple UDP packets have been delivered to different queues.
@ 2019-10-07  3:12 Jun Gan
  2019-10-08 11:52 ` Asaf Penso
  0 siblings, 1 reply; 7+ messages in thread
From: Jun Gan @ 2019-10-07  3:12 UTC (permalink / raw)
  To: users

Hi All,

I just added multiple queues and enabled RSS in our application, I set
"rss_hf" to "ETH_RSS_IP | ETH_RSS_UDP", but I can see that same 5 tuple
packets, will be delivered to different queues. Do I miss something?

Here is the code:

eth_conf.rxmode.mq_mode = ETH_MQ_RX_RSS;
eth_conf.rx_adv_conf.rss_conf.rss_hf = ETH_RSS_IP | ETH_RSS_UDP
eth_conf..rx_adv_conf.rss_conf.rss_hf &= dev_info.flow_type_rss_offloads;


I actually have two queues, and two different threads(lcore) busy
polling(rx_burst) on these two queues, I also met other weird issues like:

dpdk-stable-18.11.2/drivers/net/mlx5/mlx5_rxtx_vec_sse.h:743: rxq_burst_v:
Assertion `rxq->rq_pi == rxq->cq_ci' failed.

I don't understand what does this means, I think rx_burst on the same nic
different queue should be thread-safe, isn't it?

I'm using dpdk 18.11.2, OS is centos 7.6 and NIC is MLX CX-5.

I really appreciate it if anyone can help!!

Thanks,
Jun Gan


-- 
Jun Gan

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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07  3:12 [dpdk-users] Same 5 tuple UDP packets have been delivered to different queues Jun Gan
2019-10-08 11:52 ` Asaf Penso
2019-10-09  1:56   ` Jun Gan
2019-10-09  3:12     ` Stephen Hemminger
2019-10-09  4:29       ` Jun Gan
2019-10-10  1:08         ` Stephen Hemminger
2019-10-10  4:04           ` Jun Gan

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