DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions
@ 2025-10-22 12:58 Amiya Ranjan Mohakud
  2025-10-22 13:32 ` Amiya Ranjan Mohakud
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Amiya Ranjan Mohakud @ 2025-10-22 12:58 UTC (permalink / raw)
  To: dev; +Cc: amiyaranjan.mohakud, stable

This fixes the issue of v4 RSS configuration failure in vmxnet3_v4_rss_configure
while writing to BAR register. It's very specific to single queue conifuguration.

Ref: https://mails.dpdk.org/archives/users/2025-April/008236.html

Bugzilla ID:1789
Cc: stable@dpdk.org

Signed-off-by: Amiya Ranjan Mohakud <amiyaranjan.mohakud@gmail.com>
---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c
index f4cdb1bb31..fee4c23091 100644
--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c
+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c
@@ -534,6 +534,12 @@ vmxnet3_dev_configure(struct rte_eth_dev *dev)
 
 	PMD_INIT_FUNC_TRACE();
 
+    /* Disabling RSS for single queue pair */
+    if (dev->data->nb_rx_queues == 1) {
+        dev->data->dev_conf.rxmode.mq_mode = ETH_MQ_RX_NONE;
+        PMD_INIT_LOG(ERR, "WARN: Disabling RSS for single Rx queue");
+    }
+
 	if (dev->data->dev_conf.rxmode.mq_mode & RTE_ETH_MQ_RX_RSS_FLAG)
 		dev->data->dev_conf.rxmode.offloads |= RTE_ETH_RX_OFFLOAD_RSS_HASH;
 
-- 
2.39.5 (Apple Git-154)


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

end of thread, other threads:[~2025-10-23  8:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-22 12:58 [PATCH] net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions Amiya Ranjan Mohakud
2025-10-22 13:32 ` Amiya Ranjan Mohakud
2025-10-22 13:35 ` Amiya Ranjan Mohakud
2025-10-22 15:56   ` [PATCH v2] " Amiya Ranjan Mohakud
2025-10-23  7:22     ` [PATCH v3] " Amiya Ranjan Mohakud
2025-10-23  8:24     ` Amiya Ranjan Mohakud
2025-10-23  8:30     ` Amiya Ranjan Mohakud
2025-10-22 16:28 ` [PATCH] " Stephen Hemminger
2025-10-22 16:32 ` Ronak Doshi

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