diff --git a/0267-usertools-add-Intel-DLB-device-binding.patch b/0267-usertools-add-Intel-DLB-device-binding.patch new file mode 100644 index 0000000000000000000000000000000000000000..701a1f3a0836c9edfdce521d57e91aed2a6dc6aa --- /dev/null +++ b/0267-usertools-add-Intel-DLB-device-binding.patch @@ -0,0 +1,32 @@ +From 507813ef4de85514a0825114ebb8c9bf750f185e Mon Sep 17 00:00:00 2001 +From: Timothy McDaniel +Date: Mon, 26 Apr 2021 10:34:50 -0500 +Subject: [PATCH] usertools: add Intel DLB device binding + +Add DLB to usertools/dpdk-devbind.py so that it shows up +as an eventdev, and is identified as Intel DLB. + +Signed-off-by: Timothy McDaniel +--- + usertools/dpdk-devbind.py | 2 ++ + 1 file changed, 2 insertions(+) + mode change 100644 => 100755 usertools/dpdk-devbind.py + +diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py +old mode 100644 +new mode 100755 +index 8af3089ae..9b063dae9 +--- a/usertools/dpdk-devbind.py ++++ b/usertools/dpdk-devbind.py +@@ -47,6 +47,8 @@ + + hisilicon_dma = {'Class': '08', 'Vendor': '19e5', 'Device': 'a122', + 'SVendor': None, 'SDevice': None} ++intel_dlb = {'Class': '0b', 'Vendor': '8086', 'Device': '270b,2710,2714', ++ 'SVendor': None, 'SDevice': None} + intel_ioat_bdw = {'Class': '08', 'Vendor': '8086', + 'Device': '6f20,6f21,6f22,6f23,6f24,6f25,6f26,6f27,6f2e,6f2f', + 'SVendor': None, 'SDevice': None} +-- +2.33.0 + diff --git a/dpdk.spec b/dpdk.spec index ed6ccc026e12d3ac706900ebe33474c748698a2c..7ba9a137dda113f18db6c2f2f16b08afb8c5e8fc 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,6 +1,6 @@ Name: dpdk Version: 20.11 -Release: 15 +Release: 16 Packager: packaging@6wind.com URL: http://dpdk.org %global source_version 20.11 @@ -273,6 +273,7 @@ Patch263: 0263-net-hns3-remove-magic-numbers.patch Patch264: 0264-net-hns3-mark-unchecked-return-of-snprintf.patch Patch265: 0265-net-hns3-remove-PF-VF-duplicate-code.patch Patch266: 0266-app-testpmd-remove-unused-header-file.patch +Patch267: 0267-usertools-add-Intel-DLB-device-binding.patch Summary: Data Plane Development Kit core Group: System Environment/Libraries @@ -411,6 +412,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/${namer}/extra/dpdk/rte_kni.ko /usr/sbin/depmod %changelog +* Fri Dec 03 2021 Min Hu - 20.11-16 +- Fix execution failure to add DLB to usertools/dpdk-devbind.py + * Fri Nov 12 2021 Min Hu - 20.11-15 - synchronize dmadev and refactor for hns3 PMD