* patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4
@ 2025-12-01 14:41 Kevin Traynor
2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: Luca Boccassi; +Cc: Bruce Richardson, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/4b0f9391cee6bbc06b297687bb41f2e2b2e1fbd0
Thanks.
Kevin
---
From 4b0f9391cee6bbc06b297687bb41f2e2b2e1fbd0 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
Date: Tue, 25 Nov 2025 10:39:13 +0000
Subject: [PATCH] test/debug: fix IOVA mode on PPC64 without huge pages
[ upstream commit c94a9de51c2100659b25105ef433b88f3e6dc5af ]
1001s Running binary with argv[]:'/tmp/autopkgtest.LvdXhc/build.6vT/src/build/app/dpdk-test' '--file-prefix=debug' '-l' '0' '--no-huge' '-m' '2048'
<...>
1001s EAL: Cannot use IOVA as 'PA' since physical addresses are not available
This is similar to the commit
6b07762e9490 ("test: force IOVA mode on PPC64 without huge pages")
on ppc64 iova-mode=pa is the default, but it doesn't work with --no-huge,
so add --iova-mode=va to the test arguments.
Fixes: 2b403dd8fb37 ("test/debug: fix crash with mlx5 devices")
Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/test_debug.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/app/test/test_debug.c b/app/test/test_debug.c
index fe5dd5b02d..5ff9068e2b 100644
--- a/app/test/test_debug.c
+++ b/app/test/test_debug.c
@@ -47,5 +47,5 @@ test_debug(void)
*/
-static const char *test_args[7];
+static const char *test_args[8];
int
@@ -159,8 +159,15 @@ test_debug(void)
test_args[5] = "";
test_args[6] = "";
+ test_args[7] = "";
} else {
test_args[4] = "--no-huge";
test_args[5] = "-m";
test_args[6] = "2048";
+#ifdef RTE_ARCH_PPC_64
+ /* iova=pa is the default, but fails on ppc64 with --no-huge */
+ test_args[7] = "--iova-mode=va";
+#else
+ test_args[7] = "";
+#endif
}
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.630518175 +0000
+++ 0001-test-debug-fix-IOVA-mode-on-PPC64-without-huge-pages.patch 2025-12-01 11:18:48.566735499 +0000
@@ -1 +1 @@
-From c94a9de51c2100659b25105ef433b88f3e6dc5af Mon Sep 17 00:00:00 2001
+From 4b0f9391cee6bbc06b297687bb41f2e2b2e1fbd0 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c94a9de51c2100659b25105ef433b88f3e6dc5af ]
+
@@ -17 +18,0 @@
-Cc: stable@dpdk.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'bus/fslmc: fix const pointer in device name parsing' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'bus/ifpga: " Kevin Traynor
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Hemant Agrawal, David Marchand, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/b57e9912220d54bb43c4e81069a11f18a2f67113
Thanks.
Kevin
---
From b57e9912220d54bb43c4e81069a11f18a2f67113 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Tue, 25 Nov 2025 06:46:10 -0800
Subject: [PATCH] bus/fslmc: fix const pointer in device name parsing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[ upstream commit f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb ]
With latest glibc (Fedora Rawhide):
drivers/bus/fslmc/fslmc_bus.c: In function ‘rte_fslmc_parse’:
drivers/bus/fslmc/fslmc_bus.c:298:15: error:
assignment discards ‘const’ qualifier from pointer target type
298 | t_ptr = strchr(sep, '.');
| ^
Fixes: e67a61614d0b ("bus/fslmc: support device iteration")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/fslmc/fslmc_bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index 68ad2b801e..3a89445262 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -239,5 +239,5 @@ rte_fslmc_parse(const char *name, void *addr)
{
uint16_t dev_id;
- char *t_ptr;
+ const char *t_ptr;
const char *sep;
uint8_t sep_exists = 0;
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.669808944 +0000
+++ 0002-bus-fslmc-fix-const-pointer-in-device-name-parsing.patch 2025-12-01 11:18:48.567735501 +0000
@@ -1 +1 @@
-From f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb Mon Sep 17 00:00:00 2001
+From b57e9912220d54bb43c4e81069a11f18a2f67113 Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb ]
+
@@ -17 +18,0 @@
-Cc: stable@dpdk.org
@@ -27 +28 @@
-index 4529ec5085..abdb0ad50d 100644
+index 68ad2b801e..3a89445262 100644
@@ -30 +31 @@
-@@ -243,5 +243,5 @@ rte_fslmc_parse(const char *name, void *addr)
+@@ -239,5 +239,5 @@ rte_fslmc_parse(const char *name, void *addr)
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'bus/ifpga: fix const pointer in device name parsing' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'bus/uacce: fix const pointer in device matching' " Kevin Traynor
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/15bdd390c1c6274af76e4335c097720c43299c03
Thanks.
Kevin
---
From 15bdd390c1c6274af76e4335c097720c43299c03 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:09 +0100
Subject: [PATCH] bus/ifpga: fix const pointer in device name parsing
[ upstream commit c70b359f3734dfc6bb35ec6a6c73f2540d1e66c0 ]
With latest glibc (Fedora Rawhide):
../drivers/bus/ifpga/ifpga_bus.c: In function 'ifpga_parse':
../drivers/bus/ifpga/ifpga_bus.c:479:12: warning: assignment discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
479 | c1 = strchr(name, '|');
| ^
Fixes: 05fa3d4a6539 ("bus/ifpga: add Intel FPGA bus library")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/ifpga/ifpga_bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/ifpga/ifpga_bus.c b/drivers/bus/ifpga/ifpga_bus.c
index 11b31eee4f..bf90d1f707 100644
--- a/drivers/bus/ifpga/ifpga_bus.c
+++ b/drivers/bus/ifpga/ifpga_bus.c
@@ -465,6 +465,6 @@ ifpga_parse(const char *name, void *addr)
struct rte_rawdev *rawdev = NULL;
char rawdev_name[RTE_RAWDEV_NAME_MAX_LEN];
- char *c1 = NULL;
- char *c2 = NULL;
+ const char *c1 = NULL;
+ const char *c2 = NULL;
int port = IFPGA_BUS_DEV_PORT_MAX;
char str_port[8];
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.708519809 +0000
+++ 0003-bus-ifpga-fix-const-pointer-in-device-name-parsing.patch 2025-12-01 11:18:48.568735503 +0000
@@ -1 +1 @@
-From c70b359f3734dfc6bb35ec6a6c73f2540d1e66c0 Mon Sep 17 00:00:00 2001
+From 15bdd390c1c6274af76e4335c097720c43299c03 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c70b359f3734dfc6bb35ec6a6c73f2540d1e66c0 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
@@ -22 +23 @@
-index ca9e49f548..fdce1f6b1f 100644
+index 11b31eee4f..bf90d1f707 100644
@@ -25 +26 @@
-@@ -469,6 +469,6 @@ ifpga_parse(const char *name, void *addr)
+@@ -465,6 +465,6 @@ ifpga_parse(const char *name, void *addr)
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'bus/uacce: fix const pointer in device matching' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/ifpga: " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'common/qat: fix some const pointers' " Kevin Traynor
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: Chengwen Feng, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/95661b2394992853194d00b95882085242c029e2
Thanks.
Kevin
---
From 95661b2394992853194d00b95882085242c029e2 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:10 +0100
Subject: [PATCH] bus/uacce: fix const pointer in device matching
[ upstream commit c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 ]
With latest glibc (Fedora Rawhide):
../drivers/bus/uacce/uacce.c: In function 'uacce_match':
../drivers/bus/uacce/uacce.c:346:21: warning: assignment discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
346 | map = strstr(dev->algs, id_table->dev_alg);
| ^
Fixes: 62b906cf06ba ("bus/uacce: introduce UACCE bus")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
---
drivers/bus/uacce/uacce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/uacce/uacce.c b/drivers/bus/uacce/uacce.c
index 36d5d48abb..dc473dc09a 100644
--- a/drivers/bus/uacce/uacce.c
+++ b/drivers/bus/uacce/uacce.c
@@ -328,6 +328,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
{
const struct rte_uacce_id *id_table;
+ const char *map;
uint32_t len;
- char *map;
for (id_table = dr->id_table; id_table->dev_api != NULL; id_table++) {
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.747315833 +0000
+++ 0004-bus-uacce-fix-const-pointer-in-device-matching.patch 2025-12-01 11:18:48.570735507 +0000
@@ -1 +1 @@
-From c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 Mon Sep 17 00:00:00 2001
+From 95661b2394992853194d00b95882085242c029e2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
@@ -23 +24 @@
-index 87e68b3dbf..79f990c54c 100644
+index 36d5d48abb..dc473dc09a 100644
@@ -26 +27 @@
-@@ -329,6 +329,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
+@@ -328,6 +328,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'common/qat: fix some const pointers' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
` (2 preceding siblings ...)
2025-12-01 14:41 ` patch 'bus/uacce: fix const pointer in device matching' " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' " Kevin Traynor
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/7c0d8cfa66e76857415715d87e891370d0be7aa7
Thanks.
Kevin
---
From 7c0d8cfa66e76857415715d87e891370d0be7aa7 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:11 +0100
Subject: [PATCH] common/qat: fix some const pointers
[ upstream commit 6fc6bfb0913cdcb436346ca9c66352902cf36129 ]
With latest glibc (Fedora Rawhide):
../drivers/common/qat/qat_device.c: In function 'qat_dev_cmdline_get_val':
../drivers/common/qat/qat_device.c:183:43: warning: return discards 'const'
qualifier from pointer target type [-Wdiscarded-qualifiers]
183 | return key ? strchr(key, '=') + 1 : NULL;
| ^
../drivers/common/qat/qat_device.c: In function 'cmdline_validate':
../drivers/common/qat/qat_device.c:189:25: warning: initialization discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
189 | char *eq_sign = strchr(arg, '=');
| ^~~~~~
Fixes: 99ab2806687b ("common/qat: isolate parser arguments configuration")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/common/qat/qat_device.c | 7 ++++---
drivers/common/qat/qat_device.h | 2 +-
drivers/compress/qat/qat_comp_pmd.c | 2 +-
drivers/crypto/qat/qat_asym.c | 2 +-
drivers/crypto/qat/qat_sym.c | 2 +-
5 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c
index b582e3bf8b..07a8b19583 100644
--- a/drivers/common/qat/qat_device.c
+++ b/drivers/common/qat/qat_device.c
@@ -174,5 +174,5 @@ wireless_slice_support(uint16_t pci_dev_id)
* functions like strt*.
*/
-char *qat_dev_cmdline_get_val(struct qat_pci_device *qat_dev,
+const char *qat_dev_cmdline_get_val(struct qat_pci_device *qat_dev,
const char *key)
{
@@ -186,6 +186,7 @@ char *qat_dev_cmdline_get_val(struct qat_pci_device *qat_dev,
static int cmdline_validate(const char *arg)
{
+ const char *eq_sign = strchr(arg, '=');
int i, len;
- char *eq_sign = strchr(arg, '=');
+
/* Check for the equal sign */
if (eq_sign == NULL) {
@@ -264,5 +265,5 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev)
const struct rte_memzone *qat_dev_mz;
int qat_dev_size, extra_size;
- char *cmdline = NULL;
+ const char *cmdline = NULL;
rte_pci_device_name(&pci_dev->addr, name, sizeof(name));
diff --git a/drivers/common/qat/qat_device.h b/drivers/common/qat/qat_device.h
index f5ba1592c3..34937e963e 100644
--- a/drivers/common/qat/qat_device.h
+++ b/drivers/common/qat/qat_device.h
@@ -43,5 +43,5 @@ typedef int (*qat_dev_get_slice_map_t)(uint32_t *map,
const struct rte_pci_device *pci_dev);
-char *qat_dev_cmdline_get_val(struct qat_pci_device *qat_dev, const char *key);
+const char *qat_dev_cmdline_get_val(struct qat_pci_device *qat_dev, const char *key);
struct qat_dev_hw_spec_funcs {
diff --git a/drivers/compress/qat/qat_comp_pmd.c b/drivers/compress/qat/qat_comp_pmd.c
index 55e510c91f..92dac79423 100644
--- a/drivers/compress/qat/qat_comp_pmd.c
+++ b/drivers/compress/qat/qat_comp_pmd.c
@@ -691,5 +691,5 @@ qat_comp_dev_create(struct qat_pci_device *qat_pci_dev)
uint64_t capa_size;
uint16_t sub_id = qat_dev_instance->pci_dev->id.subsystem_device_id;
- char *cmdline = NULL;
+ const char *cmdline = NULL;
snprintf(name, RTE_COMPRESSDEV_NAME_MAX_LEN, "%s_%s",
diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c
index dff7efbbff..9c7cd64c1d 100644
--- a/drivers/crypto/qat/qat_asym.c
+++ b/drivers/crypto/qat/qat_asym.c
@@ -1568,5 +1568,5 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev)
char capa_memz_name[RTE_CRYPTODEV_NAME_MAX_LEN];
uint16_t sub_id = qat_dev_instance->pci_dev->id.subsystem_device_id;
- char *cmdline = NULL;
+ const char *cmdline = NULL;
snprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, "%s_%s",
diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c
index d979ae6489..83f1084030 100644
--- a/drivers/crypto/qat/qat_sym.c
+++ b/drivers/crypto/qat/qat_sym.c
@@ -218,5 +218,5 @@ qat_sym_dev_create(struct qat_pci_device *qat_pci_dev)
&qat_sym_gen_dev_ops[qat_pci_dev->qat_dev_gen];
uint16_t sub_id = qat_dev_instance->pci_dev->id.subsystem_device_id;
- char *cmdline = NULL;
+ const char *cmdline = NULL;
snprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, "%s_%s",
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.789034037 +0000
+++ 0005-common-qat-fix-some-const-pointers.patch 2025-12-01 11:18:48.576735519 +0000
@@ -1 +1 @@
-From 6fc6bfb0913cdcb436346ca9c66352902cf36129 Mon Sep 17 00:00:00 2001
+From 7c0d8cfa66e76857415715d87e891370d0be7aa7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 6fc6bfb0913cdcb436346ca9c66352902cf36129 ]
+
@@ -19 +20,0 @@
-Cc: stable@dpdk.org
@@ -80 +81 @@
-index 8808337551..06f037cc14 100644
+index dff7efbbff..9c7cd64c1d 100644
@@ -83 +84 @@
-@@ -1698,5 +1698,5 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev)
+@@ -1568,5 +1568,5 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev)
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
` (3 preceding siblings ...)
2025-12-01 14:41 ` patch 'common/qat: fix some const pointers' " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'net/enetfec: " Kevin Traynor
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: Hemant Agrawal, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/dc21f5fbfcf6167aa8c923a13dae0c33ed24e6ef
Thanks.
Kevin
---
From dc21f5fbfcf6167aa8c923a13dae0c33ed24e6ef Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:12 +0100
Subject: [PATCH] crypto/caam_jr: fix const pointer in UIO filename parsing
[ upstream commit 507132927cfd2e51ca509419285434b08ca2ea7c ]
With latest glibc (Fedora Rawhide):
../drivers/crypto/caam_jr/caam_jr_uio.c: In function
'file_name_match_extract':
../drivers/crypto/caam_jr/caam_jr_uio.c:111:16: warning: assignment
discards 'const' qualifier from pointer target type
[-Wdiscarded-qualifiers]
111 | substr = strstr(filename, match);
| ^
Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specific operations")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/crypto/caam_jr/caam_jr_uio.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/drivers/crypto/caam_jr/caam_jr_uio.c b/drivers/crypto/caam_jr/caam_jr_uio.c
index 8956f7750d..43357091e1 100644
--- a/drivers/crypto/caam_jr/caam_jr_uio.c
+++ b/drivers/crypto/caam_jr/caam_jr_uio.c
@@ -107,17 +107,9 @@ static bool
file_name_match_extract(const char filename[], const char match[], int *number)
{
- char *substr = NULL;
-
- substr = strstr(filename, match);
- if (substr == NULL)
- return false;
-
/* substring <match> was found in <filename>
* read number following <match> substring in <filename>
*/
- if (sscanf(filename + strlen(match), "%d", number) <= 0)
- return false;
-
- return true;
+ return strstr(filename, match) != NULL &&
+ sscanf(filename + strlen(match), "%d", number) > 0;
}
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.827974193 +0000
+++ 0006-crypto-caam_jr-fix-const-pointer-in-UIO-filename-par.patch 2025-12-01 11:18:48.577735521 +0000
@@ -1 +1 @@
-From 507132927cfd2e51ca509419285434b08ca2ea7c Mon Sep 17 00:00:00 2001
+From dc21f5fbfcf6167aa8c923a13dae0c33ed24e6ef Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 507132927cfd2e51ca509419285434b08ca2ea7c ]
+
@@ -16 +17,0 @@
-Cc: stable@dpdk.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'net/enetfec: fix const pointer in UIO filename parsing' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
` (4 preceding siblings ...)
2025-12-01 14:41 ` patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'net/memif: fix const pointer in socket check' " Kevin Traynor
2025-12-01 14:41 ` patch 'app/procinfo: fix const pointer in collectd format' " Kevin Traynor
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: Hemant Agrawal, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/1a78db33618bc42de4f281d0efd9dcb42af5b085
Thanks.
Kevin
---
From 1a78db33618bc42de4f281d0efd9dcb42af5b085 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:13 +0100
Subject: [PATCH] net/enetfec: fix const pointer in UIO filename parsing
[ upstream commit 405bbb5cdc60ea9110b3dbd9a20e55262a0d85a2 ]
With latest glibc (Fedora Rawhide):
../drivers/net/enetfec/enet_uio.c: In function 'file_name_match_extract':
../drivers/net/enetfec/enet_uio.c:37:16: warning: assignment discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
37 | substr = strstr(filename, match);
| ^
Fixes: b84fdd39638b ("net/enetfec: support UIO")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/net/enetfec/enet_uio.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/net/enetfec/enet_uio.c b/drivers/net/enetfec/enet_uio.c
index f32d5e1b1e..c3917cd9df 100644
--- a/drivers/net/enetfec/enet_uio.c
+++ b/drivers/net/enetfec/enet_uio.c
@@ -33,11 +33,5 @@ static bool
file_name_match_extract(const char filename[], const char match[])
{
- char *substr = NULL;
-
- substr = strstr(filename, match);
- if (substr == NULL)
- return false;
-
- return true;
+ return strstr(filename, match) != NULL;
}
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.866747227 +0000
+++ 0007-net-enetfec-fix-const-pointer-in-UIO-filename-parsin.patch 2025-12-01 11:18:48.578735523 +0000
@@ -1 +1 @@
-From 405bbb5cdc60ea9110b3dbd9a20e55262a0d85a2 Mon Sep 17 00:00:00 2001
+From 1a78db33618bc42de4f281d0efd9dcb42af5b085 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 405bbb5cdc60ea9110b3dbd9a20e55262a0d85a2 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'net/memif: fix const pointer in socket check' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
` (5 preceding siblings ...)
2025-12-01 14:41 ` patch 'net/enetfec: " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
2025-12-01 14:41 ` patch 'app/procinfo: fix const pointer in collectd format' " Kevin Traynor
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/05620bea85c2d2685c61f1be329bc7aad8ace49d
Thanks.
Kevin
---
From 05620bea85c2d2685c61f1be329bc7aad8ace49d Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:14 +0100
Subject: [PATCH] net/memif: fix const pointer in socket check
[ upstream commit 367d26dd8ace9e5f74d7434a82332e9813efd4bc ]
With latest glibc (Fedora Rawhide):
../drivers/net/memif/rte_eth_memif.c: In function
'memif_check_socket_filename':
../drivers/net/memif/rte_eth_memif.c:1848:13: warning: assignment discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1848 | tmp = strrchr(filename, '/');
| ^
Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/net/memif/rte_eth_memif.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c
index c0bf1e3bbf..3e6a3a41d9 100644
--- a/drivers/net/memif/rte_eth_memif.c
+++ b/drivers/net/memif/rte_eth_memif.c
@@ -1830,5 +1830,6 @@ static int
memif_check_socket_filename(const char *filename)
{
- char *dir = NULL, *tmp;
+ char *dir = NULL;
+ const char *tmp;
uint32_t idx;
int ret = 0;
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.907599032 +0000
+++ 0008-net-memif-fix-const-pointer-in-socket-check.patch 2025-12-01 11:18:48.581735529 +0000
@@ -1 +1 @@
-From 367d26dd8ace9e5f74d7434a82332e9813efd4bc Mon Sep 17 00:00:00 2001
+From 05620bea85c2d2685c61f1be329bc7aad8ace49d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 367d26dd8ace9e5f74d7434a82332e9813efd4bc ]
+
@@ -15 +16,0 @@
-Cc: stable@dpdk.org
@@ -23 +24 @@
-index 9de6f97cd9..8d7060cd7c 100644
+index c0bf1e3bbf..3e6a3a41d9 100644
@@ -26 +27 @@
-@@ -1837,5 +1837,6 @@ static int
+@@ -1830,5 +1830,6 @@ static int
^ permalink raw reply [flat|nested] 9+ messages in thread
* patch 'app/procinfo: fix const pointer in collectd format' has been queued to stable release 24.11.4
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
` (6 preceding siblings ...)
2025-12-01 14:41 ` patch 'net/memif: fix const pointer in socket check' " Kevin Traynor
@ 2025-12-01 14:41 ` Kevin Traynor
7 siblings, 0 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
To: David Marchand; +Cc: Chengwen Feng, dpdk stable
Hi,
FYI, your patch has been queued to stable release 24.11.4
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/03/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/5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82
Thanks.
Kevin
---
From 5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:15 +0100
Subject: [PATCH] app/procinfo: fix const pointer in collectd format
[ upstream commit 11a64ff198cf3d380c00f08d3895cd06dcd90d44 ]
With latest glibc (Fedora Rawhide):
../app/proc-info/main.c: In function 'collectd_resolve_cnt_type':
../app/proc-info/main.c:689:26: warning: initialization discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
689 | char *type_end = strrchr(cnt_name, '_');
| ^~~~~~~
Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
---
app/proc-info/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index e1272164b1..5a092b127b 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -697,5 +697,5 @@ nic_stats_clear(uint16_t port_id)
static void collectd_resolve_cnt_type(char *cnt_type, size_t cnt_type_len,
const char *cnt_name) {
- char *type_end = strrchr(cnt_name, '_');
+ const char *type_end = strrchr(cnt_name, '_');
if ((type_end != NULL) &&
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.947823461 +0000
+++ 0009-app-procinfo-fix-const-pointer-in-collectd-format.patch 2025-12-01 11:18:48.584735535 +0000
@@ -1 +1 @@
-From 11a64ff198cf3d380c00f08d3895cd06dcd90d44 Mon Sep 17 00:00:00 2001
+From 5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 11a64ff198cf3d380c00f08d3895cd06dcd90d44 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
@@ -23 +24 @@
-index b09c03ab35..5925bbb765 100644
+index e1272164b1..5a092b127b 100644
@@ -26 +27 @@
-@@ -687,5 +687,5 @@ nic_stats_clear(uint16_t port_id)
+@@ -697,5 +697,5 @@ nic_stats_clear(uint16_t port_id)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-12-01 14:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/ifpga: " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/uacce: fix const pointer in device matching' " Kevin Traynor
2025-12-01 14:41 ` patch 'common/qat: fix some const pointers' " Kevin Traynor
2025-12-01 14:41 ` patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'net/enetfec: " Kevin Traynor
2025-12-01 14:41 ` patch 'net/memif: fix const pointer in socket check' " Kevin Traynor
2025-12-01 14:41 ` patch 'app/procinfo: fix const pointer in collectd format' " Kevin Traynor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).