DPDK usage discussions
 help / color / mirror / Atom feed
* Hash rss value with mprq_en=1 device parameter
@ 2022-02-22 13:39 Дмитрий Степанов
  2022-02-23 10:48 ` Dmitry Kozlyuk
  0 siblings, 1 reply; 2+ messages in thread
From: Дмитрий Степанов @ 2022-02-22 13:39 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hi folks!

I'm using Mellanox ConnectX-6 Dx EN adapter card (100GbE; Dual-port QSFP56;
PCIe 4.0/3.0 x16) with DPDK 21.11.
I'm setting mprq_en=1 device parameter to increase rx performance. But in
that case, rte_mbuf's field `hash.rss` of the received frame is zero and
`RTE_MBUF_F_RX_RSS_HASH` flag of field `ol_flags` is not set.
Without mprq_en=1 i get valid `hash.rss` value and flag
`RTE_MBUF_F_RX_RSS_HASH` is set.
Is there any way to get valid `hash.rss` value with mprq_en=1?

Thanks,
Dmitriy Stepanov

[-- Attachment #2: Type: text/html, Size: 571 bytes --]

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

* Re: Hash rss value with mprq_en=1 device parameter
  2022-02-22 13:39 Hash rss value with mprq_en=1 device parameter Дмитрий Степанов
@ 2022-02-23 10:48 ` Dmitry Kozlyuk
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Kozlyuk @ 2022-02-23 10:48 UTC (permalink / raw)
  To: Дмитрий
	Степанов
  Cc: users

Looks like a case described in PMD docs
(https://doc.dpdk.org/guides/nics/mlx5.html):

	If Multi-Packet Rx queue is configured (mprq_en) and Rx CQE compression
	is enabled (rxq_cqe_comp_en) at the same time, RSS hash result is not
	fully supported. Some Rx packets may not have RTE_MBUF_F_RX_RSS_HASH.

I recommend checking that page in general, because mlx5 PMD supports many
features, but not all combinations of them.

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

end of thread, other threads:[~2022-02-23 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-22 13:39 Hash rss value with mprq_en=1 device parameter Дмитрий Степанов
2022-02-23 10:48 ` Dmitry Kozlyuk

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