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

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:04:26 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/035f01d4e20645f6f339d25ad0948b0e479af5e7

Thanks.

Kevin

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

[ upstream commit efeb1ec9f79757261ff3317e21be6c596b1b54e5 ]

Some drivers (idpf, cpfl) report RSS support even if lacking HW support.
On the other hand, some driver do have support but do not advertise it
(either in dev_info, or in the documentation).

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

Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Fixes: 70675bcc3a57 ("net/idpf: support RSS")
Fixes: cfbc66551a14 ("net/cpfl: support RSS")
Fixes: 5fb899f4b225 ("net/xsc: support RSS configuration")
Fixes: 9f75cad1287f ("net/xsc: add PCT interfaces")
Fixes: ff8db3711b29 ("net/nbl: support infos query")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Renyong Wan <wanry at yunsilicon.com>
---
 doc/guides/nics/features/failsafe.ini     | 1 +
 doc/guides/nics/features/ipn3ke.ini       | 3 ---
 doc/guides/nics/features/nbl.ini          | 1 +
 doc/guides/nics/features/netvsc.ini       | 1 +
 drivers/net/intel/cpfl/cpfl_ethdev.c      | 9 +++++----
 drivers/net/intel/cpfl/cpfl_representor.c | 4 +++-
 drivers/net/intel/idpf/idpf_ethdev.c      | 9 +++++----
 drivers/net/xsc/xsc_ethdev.c              | 4 ++++
 8 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/doc/guides/nics/features/failsafe.ini b/doc/guides/nics/features/failsafe.ini
index a665ed1ec3..11e100dde1 100644
--- a/doc/guides/nics/features/failsafe.ini
+++ b/doc/guides/nics/features/failsafe.ini
@@ -22,4 +22,5 @@ Flow control         = Y
 Packet type parsing  = Y
 Basic stats          = Y
+RSS hash             = P
 Stats per queue      = Y
 ARMv7                = Y
diff --git a/doc/guides/nics/features/ipn3ke.ini b/doc/guides/nics/features/ipn3ke.ini
index 1dedb532c1..e56cd9d23b 100644
--- a/doc/guides/nics/features/ipn3ke.ini
+++ b/doc/guides/nics/features/ipn3ke.ini
@@ -18,7 +18,4 @@ Allmulticast mode    = Y
 Unicast MAC filter   = Y
 Multicast MAC filter = Y
-RSS hash             = Y
-RSS key update       = Y
-RSS reta update      = Y
 SR-IOV               = Y
 VLAN filter          = Y
diff --git a/doc/guides/nics/features/nbl.ini b/doc/guides/nics/features/nbl.ini
index 3c49077dd9..d6f3944600 100644
--- a/doc/guides/nics/features/nbl.ini
+++ b/doc/guides/nics/features/nbl.ini
@@ -10,4 +10,5 @@ Scattered Rx         = Y
 Promiscuous mode     = Y
 Unicast MAC filter   = Y
+RSS hash             = Y
 VLAN offload         = P
 Basic stats          = Y
diff --git a/doc/guides/nics/features/netvsc.ini b/doc/guides/nics/features/netvsc.ini
index 32df77a03e..452c3266d6 100644
--- a/doc/guides/nics/features/netvsc.ini
+++ b/doc/guides/nics/features/netvsc.ini
@@ -10,4 +10,5 @@ Free Tx mbuf on demand = Y
 Scattered Rx         = Y
 Promiscuous mode     = Y
+RSS hash             = Y
 Allmulticast mode    = Y
 Basic stats          = Y
diff --git a/drivers/net/intel/cpfl/cpfl_ethdev.c b/drivers/net/intel/cpfl/cpfl_ethdev.c
index eb46a9f07a..715e1679ba 100644
--- a/drivers/net/intel/cpfl/cpfl_ethdev.c
+++ b/drivers/net/intel/cpfl/cpfl_ethdev.c
@@ -210,8 +210,9 @@ cpfl_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	dev_info->min_mtu = RTE_ETHER_MIN_MTU;
 
-	dev_info->hash_key_size = vport->rss_key_size;
-	dev_info->reta_size = vport->rss_lut_size;
-
-	dev_info->flow_type_rss_offloads = CPFL_RSS_OFFLOAD_ALL;
+	if (base->caps.rss_caps != 0) {
+		dev_info->hash_key_size = vport->rss_key_size;
+		dev_info->reta_size = vport->rss_lut_size;
+		dev_info->flow_type_rss_offloads = CPFL_RSS_OFFLOAD_ALL;
+	}
 
 	dev_info->rx_offload_capa =
diff --git a/drivers/net/intel/cpfl/cpfl_representor.c b/drivers/net/intel/cpfl/cpfl_representor.c
index 60b72b5ec1..bb28c0b989 100644
--- a/drivers/net/intel/cpfl/cpfl_representor.c
+++ b/drivers/net/intel/cpfl/cpfl_representor.c
@@ -196,4 +196,5 @@ cpfl_repr_dev_info_get(struct rte_eth_dev *ethdev,
 {
 	struct cpfl_repr *repr = CPFL_DEV_TO_REPR(ethdev);
+	struct cpfl_adapter_ext *adapter = repr->itf.adapter;
 
 	dev_info->device = ethdev->device;
@@ -204,5 +205,6 @@ cpfl_repr_dev_info_get(struct rte_eth_dev *ethdev,
 	dev_info->max_rx_pktlen = CPFL_MAX_FRAME_SIZE;
 
-	dev_info->flow_type_rss_offloads = CPFL_RSS_OFFLOAD_ALL;
+	if (adapter->base.caps.rss_caps != 0)
+		dev_info->flow_type_rss_offloads = CPFL_RSS_OFFLOAD_ALL;
 
 	dev_info->rx_offload_capa =
diff --git a/drivers/net/intel/idpf/idpf_ethdev.c b/drivers/net/intel/idpf/idpf_ethdev.c
index b31fa6c868..622e198976 100644
--- a/drivers/net/intel/idpf/idpf_ethdev.c
+++ b/drivers/net/intel/idpf/idpf_ethdev.c
@@ -166,8 +166,9 @@ idpf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	dev_info->min_mtu = RTE_ETHER_MIN_MTU;
 
-	dev_info->hash_key_size = vport->rss_key_size;
-	dev_info->reta_size = vport->rss_lut_size;
-
-	dev_info->flow_type_rss_offloads = IDPF_RSS_OFFLOAD_ALL;
+	if (adapter->caps.rss_caps != 0) {
+		dev_info->hash_key_size = vport->rss_key_size;
+		dev_info->reta_size = vport->rss_lut_size;
+		dev_info->flow_type_rss_offloads = IDPF_RSS_OFFLOAD_ALL;
+	}
 
 	dev_info->rx_offload_capa =
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
index 307f401a6d..35718d994c 100644
--- a/drivers/net/xsc/xsc_ethdev.c
+++ b/drivers/net/xsc/xsc_ethdev.c
@@ -470,4 +470,8 @@ xsc_ethdev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info)
 	info->speed_capa = priv->xdev->link_speed_capa;
 	info->hash_key_size = XSC_RSS_HASH_KEY_LEN;
+	info->flow_type_rss_offloads = RTE_ETH_RSS_IP | RTE_ETH_RSS_UDP |
+		RTE_ETH_RSS_TCP | RTE_ETH_RSS_L3_SRC_ONLY |
+		RTE_ETH_RSS_L3_DST_ONLY | RTE_ETH_RSS_L4_SRC_ONLY |
+		RTE_ETH_RSS_L4_DST_ONLY | RTE_ETH_RSS_LEVEL_INNERMOST;
 	info->tx_desc_lim.nb_seg_max = 8;
 	info->tx_desc_lim.nb_mtu_seg_max = 8;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:48.807976243 +0000
+++ 0340-drivers-net-fix-reported-RSS-capability.patch	2026-12-03 12:52:39.258938757 +0000
@@ -1 +1 @@
-From efeb1ec9f79757261ff3317e21be6c596b1b54e5 Mon Sep 17 00:00:00 2001
+From 035f01d4e20645f6f339d25ad0948b0e479af5e7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit efeb1ec9f79757261ff3317e21be6c596b1b54e5 ]
+
@@ -19 +20,0 @@
-Cc: stable at dpdk.org
@@ -35 +36 @@
-index 09afdc1963..b778a40be6 100644
+index a665ed1ec3..11e100dde1 100644
@@ -38,2 +39 @@
-@@ -19,4 +19,5 @@ VLAN filter          = Y
- Flow control         = Y
+@@ -22,4 +22,5 @@ Flow control         = Y
@@ -40,0 +41 @@
+ Basic stats          = Y
@@ -45 +46 @@
-index 6abaf9e4f9..1f9a28f198 100644
+index 1dedb532c1..e56cd9d23b 100644
@@ -48 +49 @@
-@@ -16,7 +16,4 @@ Allmulticast mode    = Y
+@@ -18,7 +18,4 @@ Allmulticast mode    = Y
@@ -57 +58 @@
-index 5935092a49..e799840e40 100644
+index 3c49077dd9..d6f3944600 100644
@@ -65 +66 @@
- Extended stats       = Y
+ Basic stats          = Y
@@ -67 +68 @@
-index fa8c2ac132..7bc7148f95 100644
+index 32df77a03e..452c3266d6 100644
@@ -70 +71 @@
-@@ -9,4 +9,5 @@ Free Tx mbuf on demand = Y
+@@ -10,4 +10,5 @@ Free Tx mbuf on demand = Y
@@ -75 +76 @@
- Stats per queue      = Y
+ Basic stats          = Y
@@ -77 +78 @@
-index 789bfd08f9..ace9937d4a 100644
+index eb46a9f07a..715e1679ba 100644
@@ -80 +81 @@
-@@ -211,8 +211,9 @@ cpfl_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
+@@ -210,8 +210,9 @@ cpfl_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
@@ -113 +114 @@
-index 0a0bcdf48d..bea351aa5d 100644
+index b31fa6c868..622e198976 100644
@@ -116 +117 @@
-@@ -168,8 +168,9 @@ idpf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
+@@ -166,8 +166,9 @@ idpf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
@@ -131 +132 @@
-index 5fbe68782e..20d6f58f68 100644
+index 307f401a6d..35718d994c 100644



More information about the stable mailing list