* [dpdk-test-report] |WARNING| pw99836 [PATCH] bus/pci: fix unknown NUMA node value on Windows
@ 2021-10-06 1:43 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-10-06 1:43 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/99836
_apply patch failure_
Submitter: Kadam, Pallavi <pallavi.kadam@intel.com>
Date: Monday, September 27 2021 18:43:22
Applied on: CommitID:2700326085033fd13339a8de31f58a95d1ee9c3f
Apply patch set 99836 failed:
Checking patch drivers/bus/pci/windows/pci.c...
error: while searching for:
}
/* Get NUMA node using DEVPKEY_Device_Numa_Node */
res = SetupDiGetDevicePropertyW(dev_info, dev_info_data,
&DEVPKEY_Device_Numa_Node, &property_type,
(BYTE *)&numa_node, sizeof(numa_node), NULL, 0);
error: patch failed: drivers/bus/pci/windows/pci.c:237
error: while searching for:
DWORD error = GetLastError();
if (error == ERROR_NOT_FOUND) {
/* On older CPUs, NUMA is not bound to PCIe locality. */
dev->device.numa_node = SOCKET_ID_ANY;
return ERROR_SUCCESS;
}
RTE_LOG_WIN32_ERR("SetupDiGetDevicePropertyW"
error: patch failed: drivers/bus/pci/windows/pci.c:244
Applying patch drivers/bus/pci/windows/pci.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
diff a/drivers/bus/pci/windows/pci.c b/drivers/bus/pci/windows/pci.c (rejected hunks)
@@ -237,6 +237,7 @@ get_device_resource_info(HDEVINFO dev_info,
}
/* Get NUMA node using DEVPKEY_Device_Numa_Node */
+ dev->device.numa_node = SOCKET_ID_ANY;
res = SetupDiGetDevicePropertyW(dev_info, dev_info_data,
&DEVPKEY_Device_Numa_Node, &property_type,
(BYTE *)&numa_node, sizeof(numa_node), NULL, 0);
@@ -244,7 +245,7 @@ get_device_resource_info(HDEVINFO dev_info,
DWORD error = GetLastError();
if (error == ERROR_NOT_FOUND) {
/* On older CPUs, NUMA is not bound to PCIe locality. */
- dev->device.numa_node = SOCKET_ID_ANY;
+ dev->device.numa_node = 0;
return ERROR_SUCCESS;
}
RTE_LOG_WIN32_ERR("SetupDiGetDevicePropertyW"
https://lab.dpdk.org/results/dashboard/patchsets/18997/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-06 1:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 1:43 [dpdk-test-report] |WARNING| pw99836 [PATCH] bus/pci: fix unknown NUMA node value on Windows dpdklab
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).