patch 'drivers/net: fix reported VMDq capability' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:04:24 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/0cc085651e812e5e0a467b9a95d6085ff06cfbe5

Thanks.

Kevin

---
>From 0cc085651e812e5e0a467b9a95d6085ff06cfbe5 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Thu, 22 Oct 2026 19:44:33 +0200
Subject: [PATCH] drivers/net: fix reported VMDq capability

[ upstream commit 7cf1306f707cf9aec379ec17cd30491ee41e9806 ]

Some PF drivers (dpaa, dpaa2) and VF drivers (ixgbe, ngbe, txgbe)
are announcing some VMDq capability though this support is not documented,
and no action is taken if the feature is requested.

fm10k announces capability for VF device, but rejects it at configure
time.

failsafe may support VMDq, as it only passes the requests to the ports
attached to it, hence mark it as partial support.

Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
Fixes: 7e72cbfa320b ("fm10k: add reta query/update")
Fixes: 799db4568c76 ("net/dpaa: support device info and speed capability")
Fixes: 762b275f20f8 ("net/dpaa2: add missing device info fields")
Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Fixes: 5dec0169554b ("net/txgbe: support VF get information")
Fixes: 66070ca419c1 ("net/ngbe: add hardware configuration for VF device")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 doc/guides/nics/features/failsafe.ini  | 1 +
 doc/guides/nics/features/ipn3ke.ini    | 1 -
 drivers/net/dpaa/dpaa_ethdev.c         | 1 -
 drivers/net/dpaa2/dpaa2_ethdev.c       | 1 -
 drivers/net/intel/fm10k/fm10k_ethdev.c | 9 ++-------
 drivers/net/intel/ixgbe/ixgbe_ethdev.c | 4 ----
 drivers/net/ngbe/ngbe_ethdev_vf.c      | 1 -
 drivers/net/txgbe/txgbe_ethdev_vf.c    | 1 -
 8 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/doc/guides/nics/features/failsafe.ini b/doc/guides/nics/features/failsafe.ini
index 00dcd0e03b..a665ed1ec3 100644
--- a/doc/guides/nics/features/failsafe.ini
+++ b/doc/guides/nics/features/failsafe.ini
@@ -16,4 +16,5 @@ Promiscuous mode     = Y
 Allmulticast mode    = Y
 Unicast MAC filter   = Y
+VMDq                 = P
 Multicast MAC filter = Y
 VLAN filter          = Y
diff --git a/doc/guides/nics/features/ipn3ke.ini b/doc/guides/nics/features/ipn3ke.ini
index e412978820..9ecc7324dd 100644
--- a/doc/guides/nics/features/ipn3ke.ini
+++ b/doc/guides/nics/features/ipn3ke.ini
@@ -21,5 +21,4 @@ RSS hash             = Y
 RSS key update       = Y
 RSS reta update      = Y
-VMDq                 = Y
 SR-IOV               = Y
 DCB                  = Y
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index afe54fcd09..8a18fe2d8a 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -669,5 +669,4 @@ static int dpaa_eth_dev_info(struct rte_eth_dev *dev,
 	dev_info->max_hash_mac_addrs = 0;
 	dev_info->max_vfs = 0;
-	dev_info->max_vmdq_pools = RTE_ETH_16_POOLS;
 	dev_info->flow_type_rss_offloads = DPAA_RSS_OFFLOAD_ALL;
 
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index e4c72adf6b..28341eea44 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
@@ -424,5 +424,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev,
 	dev_info->max_hash_mac_addrs = 0;
 	dev_info->max_vfs = 0;
-	dev_info->max_vmdq_pools = RTE_ETH_16_POOLS;
 	dev_info->flow_type_rss_offloads = DPAA2_RSS_OFFLOAD_ALL;
 
diff --git a/drivers/net/intel/fm10k/fm10k_ethdev.c b/drivers/net/intel/fm10k/fm10k_ethdev.c
index 97f61afec2..c5856b0636 100644
--- a/drivers/net/intel/fm10k/fm10k_ethdev.c
+++ b/drivers/net/intel/fm10k/fm10k_ethdev.c
@@ -412,5 +412,4 @@ fm10k_check_mq_mode(struct rte_eth_dev *dev)
 {
 	enum rte_eth_rx_mq_mode rx_mq_mode = dev->data->dev_conf.rxmode.mq_mode;
-	struct fm10k_hw *hw = FM10K_DEV_PRIVATE_TO_HW(dev->data->dev_private);
 	struct rte_eth_vmdq_rx_conf *vmdq_conf;
 	uint16_t nb_rx_q = dev->data->nb_rx_queues;
@@ -426,9 +425,4 @@ fm10k_check_mq_mode(struct rte_eth_dev *dev)
 		return 0;
 
-	if (hw->mac.type == fm10k_mac_vf) {
-		PMD_INIT_LOG(ERR, "VMDQ mode is not supported in VF.");
-		return -EINVAL;
-	}
-
 	/* Check VMDQ queue pool number */
 	if (vmdq_conf->nb_queue_pools >
@@ -1385,5 +1379,6 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev,
 	dev_info->vmdq_pool_base     = 0;
 	dev_info->vmdq_queue_base    = 0;
-	dev_info->max_vmdq_pools     = RTE_ETH_32_POOLS;
+	if (hw->mac.type != fm10k_mac_vf)
+		dev_info->max_vmdq_pools = RTE_ETH_32_POOLS;
 	dev_info->vmdq_queue_num     = FM10K_MAX_QUEUES_PF;
 	dev_info->rx_queue_offload_capa = fm10k_get_rx_queue_offloads_capa(dev);
diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.c b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
index 6e8680adc1..db262c12a9 100644
--- a/drivers/net/intel/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
@@ -4129,8 +4129,4 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
 	dev_info->max_hash_mac_addrs = IXGBE_VMDQ_NUM_UC_MAC;
 	dev_info->max_vfs = pci_dev->max_vfs;
-	if (hw->mac.type == ixgbe_mac_82598EB)
-		dev_info->max_vmdq_pools = RTE_ETH_16_POOLS;
-	else
-		dev_info->max_vmdq_pools = RTE_ETH_64_POOLS;
 	dev_info->rx_queue_offload_capa = ixgbe_get_rx_queue_offloads(dev);
 	dev_info->rx_offload_capa = (ixgbe_get_rx_port_offloads(dev) |
diff --git a/drivers/net/ngbe/ngbe_ethdev_vf.c b/drivers/net/ngbe/ngbe_ethdev_vf.c
index 21b9f4b2f4..251750ea2d 100644
--- a/drivers/net/ngbe/ngbe_ethdev_vf.c
+++ b/drivers/net/ngbe/ngbe_ethdev_vf.c
@@ -476,5 +476,4 @@ ngbevf_dev_info_get(struct rte_eth_dev *dev,
 	dev_info->max_hash_mac_addrs = NGBE_VMDQ_NUM_UC_MAC;
 	dev_info->max_vfs = pci_dev->max_vfs;
-	dev_info->max_vmdq_pools = RTE_ETH_64_POOLS;
 	dev_info->rx_queue_offload_capa = ngbe_get_rx_queue_offloads(dev);
 	dev_info->rx_offload_capa = (ngbe_get_rx_port_offloads(dev) |
diff --git a/drivers/net/txgbe/txgbe_ethdev_vf.c b/drivers/net/txgbe/txgbe_ethdev_vf.c
index f6fd2b1557..082b1a076c 100644
--- a/drivers/net/txgbe/txgbe_ethdev_vf.c
+++ b/drivers/net/txgbe/txgbe_ethdev_vf.c
@@ -572,5 +572,4 @@ txgbevf_dev_info_get(struct rte_eth_dev *dev,
 	dev_info->max_hash_mac_addrs = TXGBE_VMDQ_NUM_UC_MAC;
 	dev_info->max_vfs = pci_dev->max_vfs;
-	dev_info->max_vmdq_pools = RTE_ETH_64_POOLS;
 	dev_info->dev_capa &= ~RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP;
 	dev_info->rx_queue_offload_capa = txgbe_get_rx_queue_offloads(dev);
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:48.750418702 +0000
+++ 0338-drivers-net-fix-reported-VMDq-capability.patch	2026-12-03 12:52:39.257938756 +0000
@@ -1 +1 @@
-From 7cf1306f707cf9aec379ec17cd30491ee41e9806 Mon Sep 17 00:00:00 2001
+From 0cc085651e812e5e0a467b9a95d6085ff06cfbe5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7cf1306f707cf9aec379ec17cd30491ee41e9806 ]
+
@@ -23 +24,0 @@
-Cc: stable at dpdk.org
@@ -39 +40 @@
-index c7c696fbbd..09afdc1963 100644
+index 00dcd0e03b..a665ed1ec3 100644
@@ -42 +43 @@
-@@ -14,4 +14,5 @@ Promiscuous mode     = Y
+@@ -16,4 +16,5 @@ Promiscuous mode     = Y
@@ -49 +50 @@
-index 29f40a5b11..ba43b9d91c 100644
+index e412978820..9ecc7324dd 100644
@@ -52 +53 @@
-@@ -19,5 +19,4 @@ RSS hash             = Y
+@@ -21,5 +21,4 @@ RSS hash             = Y
@@ -59 +60 @@
-index 947e224b93..fe49c7b961 100644
+index afe54fcd09..8a18fe2d8a 100644
@@ -62 +63 @@
-@@ -687,5 +687,4 @@ static int dpaa_eth_dev_info(struct rte_eth_dev *dev,
+@@ -669,5 +669,4 @@ static int dpaa_eth_dev_info(struct rte_eth_dev *dev,
@@ -69 +70 @@
-index 6afd641709..b3a725c0ea 100644
+index e4c72adf6b..28341eea44 100644
@@ -72 +73 @@
-@@ -453,5 +453,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev,
+@@ -424,5 +424,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev,
@@ -77 +78 @@
- 	/* DPAA2 has no software-visible indirection table: incoming packets are
+ 
@@ -79 +80 @@
-index 3b2daba79e..9b123c0b2c 100644
+index 97f61afec2..c5856b0636 100644
@@ -98 +99 @@
-@@ -1387,5 +1381,6 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev,
+@@ -1385,5 +1379,6 @@ fm10k_dev_infos_get(struct rte_eth_dev *dev,
@@ -107 +108 @@
-index 1c9f22ffc3..5137663a61 100644
+index 6e8680adc1..db262c12a9 100644
@@ -110 +111 @@
-@@ -4001,8 +4001,4 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
+@@ -4129,8 +4129,4 @@ ixgbevf_dev_info_get(struct rte_eth_dev *dev,
@@ -120 +121 @@
-index c440e02369..55cbffaf2c 100644
+index 21b9f4b2f4..251750ea2d 100644
@@ -130 +131 @@
-index 341f62bc75..3cf33a8bd6 100644
+index f6fd2b1557..082b1a076c 100644
@@ -133 +134 @@
-@@ -576,5 +576,4 @@ txgbevf_dev_info_get(struct rte_eth_dev *dev,
+@@ -572,5 +572,4 @@ txgbevf_dev_info_get(struct rte_eth_dev *dev,



More information about the stable mailing list