[dpdk-test-report] |WARNING| pw99836 [PATCH] bus/pci: fix unknown NUMA node value on Windows
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Wed Oct 6 03:43:15 CEST 2021
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/99836
_apply patch failure_
Submitter: Kadam, Pallavi <pallavi.kadam at 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
More information about the test-report
mailing list