Skip to contentSkip to conversation

net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

PATCH Applied Amiya Ranjan Mohakud 4 participants 13 messages Oct 22, 2025 – Nov 1, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

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: [email protected]

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +6 -0
index f4cdb1bb31..fee4c23091 100644
@@ -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;
 
Signature · 1 line
2.39.5 (Apple Git-154)
#1 lore raw

PATCH 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

It fixes the issue of v4 RSS configuration failure in vmxnet3_v4_rss_configure() whilw writing to BAR register. It's very specific to single queue configuration.

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

Bugzilla ID:1789
Cc: [email protected]

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +6 -0
index f4cdb1bb31..3c0ddba80c 100644
@@ -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 = RTE_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;
 
Signature · 1 line
2.39.5 (Apple Git-154)
#2 lore raw

PATCH 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

In reply to Amiya Ranjan Mohakud

It fixes the issue of v4 RSS configuration failure in vmxnet3_v4_rss_configure() whilw writing to BAR register. It's very specific to single queue configuration.

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

Bugzilla ID:1789
Cc: [email protected]

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +6 -0
index f4cdb1bb31..3c0ddba80c 100644
@@ -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 = RTE_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;
 
Signature · 1 line
2.39.5 (Apple Git-154)
#3 lore raw

PATCH v2 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

It 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 configuration.

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

Bugzilla ID:1789
Cc: [email protected]

v2:
- Fixed typo in commit message

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +6 -0
index f4cdb1bb31..3c0ddba80c 100644
@@ -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 = RTE_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)

#4 lore raw

PATCH v3 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

It 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 configuration.

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

Bugzilla ID:1789
Cc: [email protected]

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +7 -0
index f4cdb1bb31..a0306af86c 100644
@@ -534,6 +534,13 @@ 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 == RTE_ETH_MQ_RX_RSS) {
+		dev->data->dev_conf.rxmode.mq_mode = RTE_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)

#5 lore raw

PATCH v3 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

In reply to Amiya Ranjan Mohakud

It 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 configuration.

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

Bugzilla ID:1789

Fixes 52ec00f ("net/vmxnet3: fix RSS setting on v4")

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +7 -0
index f4cdb1bb31..a0306af86c 100644
@@ -534,6 +534,13 @@ 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 == RTE_ETH_MQ_RX_RSS) {
+		dev->data->dev_conf.rxmode.mq_mode = RTE_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;
 
Signature · 1 line
2.39.5 (Apple Git-154)
#6 lore raw

PATCH v3 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions

In reply to Amiya Ranjan Mohakud

It 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 configuration.

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

Bugzilla ID:1789

Fixes 52ec00fd1474e8 ("net/vmxnet3: fix RSS setting on v4")

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

---
 drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +7 -0
index f4cdb1bb31..a0306af86c 100644
@@ -534,6 +534,13 @@ 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 == RTE_ETH_MQ_RX_RSS) {
+		dev->data->dev_conf.rxmode.mq_mode = RTE_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;
 
Signature · 1 line
2.39.5 (Apple Git-154)
#7 lore raw
Quoted 9 lines · On Thu, 23 Oct 2025 14:00:19 +0530 Amiya Ranjan Mohakud…

vmxnet3_v4_rss_configure() while writing to BAR register. It's very specific to single queue configuration.

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

Bugzilla ID:1789

Fixes 52ec00fd1474e8 ("net/vmxnet3: fix RSS setting on v4")
Quoted 6 lines

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

Queued to next-net

Acked-by on v3 1/1
#8 lore raw
In reply to Amiya Ranjan Mohakud
Quoted 38 lines · Amiya Ranjan Mohakud

It 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 configuration.

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

Bugzilla ID:1789

Fixes 52ec00fd1474e8 ("net/vmxnet3: fix RSS setting on v4")

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

---
  drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++
  1 file changed, 7 insertions(+)
drivers/net/vmxnet3/vmxnet3_ethdev.c +7 -0
index f4cdb1bb31..a0306af86c 100644
@@ -534,6 +534,13 @@ 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 == RTE_ETH_MQ_RX_RSS) {
+		dev->data->dev_conf.rxmode.mq_mode = RTE_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;
 
#9 lore raw

Thanks Jochen.
I see that the state is "Awaiting Upstream". Will it be changed to "Accepted" post upstream or Is it already accepted ?

Thanks
Amiya

Quoted 46 lines · Jochen Behrens
Quoted 15 lines · Amiya Ranjan Mohakud

It 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 configuration.

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

Bugzilla ID:1789

Fixes 52ec00fd1474e8 ("net/vmxnet3: fix RSS setting on v4")

v2:
- Fixed typo in commit message
v3:
- Checking if RSS is already enabled

Review

Quoted 6 lines
---
  drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++
  1 file changed, 7 insertions(+)
(quoted diff) +0 -0

b/drivers/net/vmxnet3/vmxnet3_ethdev.c

drivers/net/vmxnet3/vmxnet3_ethdev.c vmxnet3_dev_configure(struct rte_eth_dev *dev) · line 541

Quoted 12 lines

index f4cdb1bb31..a0306af86c 100644

drivers/net/vmxnet3/vmxnet3_ethdev.c +5 -0
@@ -534,6 +534,13 @@ 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 == RTE_ETH_MQ_RX_RSS) {
+             dev->data->dev_conf.rxmode.mq_mode = RTE_ETH_MQ_RX_NONE;
+             PMD_INIT_LOG(ERR, "WARN: Disabling RSS for single Rx

queue");

drivers/net/vmxnet3/vmxnet3_ethdev.c vmxnet3_dev_configure(struct rte_eth_dev *dev)

Quoted 4 lines
drivers/net/vmxnet3/vmxnet3_ethdev.c +2 -0
+     }
+
      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;

Quoted 1 line
#10 lore raw
Quoted 6 lines · On Sat, 1 Nov 2025 08:31:21 +0530 Amiya Ranjan Mohakud…

Thanks Jochen.
I see that the state is "Awaiting Upstream". Will it be changed to "Accepted" post upstream or Is it already accepted ?

Thanks
Amiya

I periodically have to manually go through the awaiting upstream list on patchwork. Usually happens at each rc.

#11 lore raw
In reply to Amiya Ranjan Mohakud
Quoted 10 lines · On Wed, 22 Oct 2025 18:28:44 +0530 Amiya Ranjan Mohakud…

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: [email protected]

---

Queued to next-net with slightly modified commit message. Could you identify a commit this fixes so that the LTS backport can know which versions are impacted.

maintainer
#12 lore raw
In reply to Amiya Ranjan Mohakud

drivers/net/vmxnet3/vmxnet3_ethdev.c vmxnet3_dev_configure(struct rte_eth_dev *dev) · line 542

Quoted 7 lines · Amiya Ranjan Mohakud
drivers/net/vmxnet3/vmxnet3_ethdev.c +6 -0
+    /* 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");
+    }
+

Can you check if mq_mode had RSS enabled? Otherwise, this will always LOG as WARN for application using single rx queue.

Thanks,
Ronak