patch 'net/idpf: propagate PCI NUMA node to vport ethdev' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:49:30 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/a3c1e072a768b5c72a3c491617efb5f830eb76c0

Thanks.

Luca Boccassi

---
>From a3c1e072a768b5c72a3c491617efb5f830eb76c0 Mon Sep 17 00:00:00 2001
From: Shaiq Wani <shaiq.wani at intel.com>
Date: Tue, 11 Aug 2026 09:56:35 +0530
Subject: [PATCH] net/idpf: propagate PCI NUMA node to vport ethdev

[ upstream commit 5ab3f68ebe7997ef702f8210759c103395a5c5dc ]

The IDPF driver creates vport ethdevs via rte_eth_dev_create() with a
NULL bus_specific_init callback, bypassing the standard PCI probe path
that normally copies the PCI device's NUMA node into
eth_dev->data->numa_node via rte_eth_copy_pci_info().

As a result, rte_eth_dev_socket_id() always returns 0 regardless of
which NUMA node the device is attached to, causing NUMA-unaware memory
allocations for mempools and queue descriptors on multi-socket systems.

Set dev->data->numa_node explicitly from the parent PCI device in
idpf_dev_vport_init() to restore correct NUMA affinity.

Fixes: 5e0f60527e5b ("net/idpf: remove vport req and recv info from adapter")

Signed-off-by: Shaiq Wani <shaiq.wani at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/idpf/idpf_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index b28e14013b1..d0034b7ab81 100644
--- a/drivers/net/idpf/idpf_ethdev.c
+++ b/drivers/net/idpf/idpf_ethdev.c
@@ -1269,6 +1269,7 @@ idpf_dev_vport_init(struct rte_eth_dev *dev, void *init_params)
 	int ret = 0;
 
 	dev->dev_ops = &idpf_eth_dev_ops;
+	dev->data->numa_node = dev->device->numa_node;
 	vport->adapter = &adapter->base;
 	vport->sw_idx = param->idx;
 	vport->devarg_id = param->devarg_id;
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:56.630839447 +0000
+++ 0076-net-idpf-propagate-PCI-NUMA-node-to-vport-ethdev.patch	2026-10-27 11:43:53.590061801 +0000
@@ -1 +1 @@
-From 5ab3f68ebe7997ef702f8210759c103395a5c5dc Mon Sep 17 00:00:00 2001
+From a3c1e072a768b5c72a3c491617efb5f830eb76c0 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5ab3f68ebe7997ef702f8210759c103395a5c5dc ]
+
@@ -19 +20,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
- drivers/net/intel/idpf/idpf_ethdev.c | 1 +
+ drivers/net/idpf/idpf_ethdev.c | 1 +
@@ -27,5 +28,5 @@
-diff --git a/drivers/net/intel/idpf/idpf_ethdev.c b/drivers/net/intel/idpf/idpf_ethdev.c
-index c13505416a9..965de4ed9df 100644
---- a/drivers/net/intel/idpf/idpf_ethdev.c
-+++ b/drivers/net/intel/idpf/idpf_ethdev.c
-@@ -1565,6 +1565,7 @@ idpf_dev_vport_init(struct rte_eth_dev *dev, void *init_params)
+diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
+index b28e14013b1..d0034b7ab81 100644
+--- a/drivers/net/idpf/idpf_ethdev.c
++++ b/drivers/net/idpf/idpf_ethdev.c
+@@ -1269,6 +1269,7 @@ idpf_dev_vport_init(struct rte_eth_dev *dev, void *init_params)


More information about the stable mailing list