!148 add Intel DLB device binding
Merge pull request !148 from speech_white/master
This commit is contained in:
commit
5f4e2f4dd2
31
0267-usertools-add-Intel-DLB-device-binding.patch
Normal file
31
0267-usertools-add-Intel-DLB-device-binding.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From dfbf3715354e41c8751972d2bcb04a8f5a6961dd Mon Sep 17 00:00:00 2001
|
||||
From: speech_white <humin29@huawei.com>
|
||||
Date: Fri, 10 Dec 2021 09:20:28 +0800
|
||||
Subject: [PATCH] usertools: add Intel DLB device binding
|
||||
|
||||
Fix execution failure to add DLB to usertools/dpdk-devbind.py
|
||||
|
||||
Signed-off-by: speech_white <humin29@huawei.com>
|
||||
---
|
||||
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.23.0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: dpdk
|
||||
Version: 20.11
|
||||
Release: 16
|
||||
Release: 17
|
||||
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
|
||||
@ -292,6 +293,7 @@ BuildRequires: kernel-devel numactl-devel
|
||||
BuildRequires: libpcap libpcap-devel
|
||||
BuildRequires: uname-build-checks
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: groff-base
|
||||
|
||||
%define kern_devel_ver %(uname -r)
|
||||
|
||||
@ -410,6 +412,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/${namer}/extra/dpdk/rte_kni.ko
|
||||
/usr/sbin/depmod
|
||||
|
||||
%changelog
|
||||
* Sat Dec 11 2021 Min Hu <humin29@huawei.com> - 20.11-17
|
||||
- Fix execution failure to add DLB to usertools/dpdk-devbind.py
|
||||
|
||||
* Fri Dec 10 2021 Min Hu <humin29@huawei.com> - 20.11-16
|
||||
- del doc package
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user