patch 'ethdev: fix registers info request' has been queued to stable release 24.11.2

Kevin Traynor ktraynor at redhat.com
Fri Mar 7 13:46:40 CET 2025


Hi,

FYI, your patch has been queued to stable release 24.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/12/25. 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/17fe408765f1a43846cd566f0a0d0c4cf5b20d30

Thanks.

Kevin

---
>From 17fe408765f1a43846cd566f0a0d0c4cf5b20d30 Mon Sep 17 00:00:00 2001
From: Thierry Herbelot <thierry.herbelot at 6wind.com>
Date: Tue, 18 Feb 2025 12:58:28 +0100
Subject: [PATCH] ethdev: fix registers info request

[ upstream commit b14a65cdd0fa4b8dddffcda1e870e4b97ec53979 ]

'width' and 'offset' are input parameters when dumping the register
info of an Ethernet device. They should be copied in the new request
before calling the device callback function.

Fixes: 083db2ed9e9e ("ethdev: add report of register names and filter")

Signed-off-by: Thierry Herbelot <thierry.herbelot at 6wind.com>
---
 lib/ethdev/rte_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 9cfb397cee..5d24fd6865 100644
--- a/lib/ethdev/rte_ethdev.c
+++ b/lib/ethdev/rte_ethdev.c
@@ -6520,4 +6520,6 @@ rte_eth_dev_get_reg_info(uint16_t port_id, struct rte_dev_reg_info *info)
 
 	reg_info.length = info->length;
+	reg_info.width = info->width;
+	reg_info.offset = info->offset;
 	reg_info.data = info->data;
 
-- 
2.48.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-03-07 11:02:57.162174248 +0000
+++ 0007-ethdev-fix-registers-info-request.patch	2025-03-07 11:02:56.822335492 +0000
@@ -1 +1 @@
-From b14a65cdd0fa4b8dddffcda1e870e4b97ec53979 Mon Sep 17 00:00:00 2001
+From 17fe408765f1a43846cd566f0a0d0c4cf5b20d30 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b14a65cdd0fa4b8dddffcda1e870e4b97ec53979 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index b7b434848b..ce3059f0f5 100644
+index 9cfb397cee..5d24fd6865 100644
@@ -22 +23 @@
-@@ -6628,4 +6628,6 @@ rte_eth_dev_get_reg_info(uint16_t port_id, struct rte_dev_reg_info *info)
+@@ -6520,4 +6520,6 @@ rte_eth_dev_get_reg_info(uint16_t port_id, struct rte_dev_reg_info *info)



More information about the stable mailing list