net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions
Subsystems (2)
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
@@ -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)
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
@@ -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)
PATCH 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions
In reply to Amiya Ranjan MohakudIt 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
@@ -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)
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
@@ -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)
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
@@ -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)
PATCH v3 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions
In reply to Amiya Ranjan MohakudIt 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
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
@@ -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)
PATCH v3 1/1 net/vmxnet3: disable RSS for single queue configuration for ESX8.0+ versions
In reply to Amiya Ranjan MohakudIt 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
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
@@ -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)
Stephen Hemminger
AppliedQuoted 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 enabledSigned-off-by Amiya Ranjan Mohakud <[email protected]>
Queued to next-net
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 enabledSigned-off-by Amiya Ranjan Mohakud <[email protected]>--- drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/net/vmxnet3/vmxnet3_ethdev.c +7
-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" ); + } +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 ;
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
Acked-by Jochen Behrens <[email protected]>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 enabledReview
Quoted 6 lines
Signed-off-by Amiya Ranjan Mohakud <[email protected]>--- drivers/net/vmxnet3/vmxnet3_ethdev.c | 7 +++++++ 1 file changed, 7 insertions(+)(quoted diff) +0
-0
b/drivers/net/vmxnet3/vmxnet3_ethdev.cdrivers/net/vmxnet3/vmxnet3_ethdev.c vmxnet3_dev_configure(struct rte_eth_dev *dev) · line 541
Quoted 12 lines
index
f4cdb1bb31..a0306af86c100644drivers/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 Rxqueue");
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
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.
Stephen Hemminger
AppliedQuoted 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_configurewhile 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]Signed-off-by Amiya Ranjan Mohakud <[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.
Ronak Doshi
maintainerdrivers/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