Skip to contentSkip to conversation

usertools/devbind: add dlb

PATCH Superseded Timothy McDaniel 2 participants 5 messages Apr 21, 2021 – May 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usertools/devbind: add dlb

Add dlb to usertools/dpdk-devbind.py so that it shows up as an eventdev, and is identified as Intel dlb.

---
 usertools/dpdk-devbind.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
usertools/dpdk-devbind.py +3 -1
index 98bd1b7..f36d294 100755
@@ -59,11 +59,13 @@
                  'SVendor': None, 'SDevice': None}
 intel_ntb_icx = {'Class': '06', 'Vendor': '8086', 'Device': '347e',
                  'SVendor': None, 'SDevice': None}
+intel_dlb = {'Class': '0b', 'Vendor': '8086', 'Device': '270b,2710,2714',
+             'SVendor': None, 'SDevice': None}
 
 network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]
 baseband_devices = [acceleration_class]
 crypto_devices = [encryption_class, intel_processor_class]
-eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]
+eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso, intel_dlb]
 mempool_devices = [cavium_fpa, octeontx2_npa]
 compress_devices = [cavium_zip]
 regex_devices = [octeontx2_ree]
Signature · 1 line
1.7.10
#1 lore raw

Timothy McDaniel:

Quoted 4 lines
usertools/dpdk-devbind.py +0 -0
@@ -59,11 +59,13 @@
                  'SVendor': None, 'SDevice': None}

usertools/dpdk-devbind.py line 68

Quoted 10 lines
usertools/dpdk-devbind.py +3 -1
 intel_ntb_icx = {'Class': '06', 'Vendor': '8086', 'Device': '347e',
                  'SVendor': None, 'SDevice': None}
+intel_dlb = {'Class': '0b', 'Vendor': '8086', 'Device': '270b,2710,2714',
+             'SVendor': None, 'SDevice': None}
 
 network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]
 baseband_devices = [acceleration_class]
 crypto_devices = [encryption_class, intel_processor_class]
-eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]
+eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso, intel_dlb]

Please try to insert new items in alphabetical order.

#2 lore raw
Quoted 26 lines

-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Sunday, April 25, 2021 10:53 AM
To: McDaniel, Timothy <[email protected]>
Cc: [email protected]; Jerin Jacob Kollanukkaran <[email protected]>; Van Haaren, Harry <[email protected]>; Ray Kinsella <[email protected]>; Neil Horman <[email protected]>; Rao, Nikhil <[email protected]>; Carrillo, Erik G <[email protected]>; Gujjar, Abhinandan S <[email protected]>; [email protected]; Hemant Agrawal <[email protected]>; mattias.ronnblom <[email protected]>; Mccarthy, Peter <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] usertools/devbind: add dlb

Timothy McDaniel:

Quoted 9 lines
usertools/dpdk-devbind.py +2 -0
@@ -59,11 +59,13 @@
                  'SVendor': None, 'SDevice': None}
 intel_ntb_icx = {'Class': '06', 'Vendor': '8086', 'Device': '347e',
                  'SVendor': None, 'SDevice': None}
+intel_dlb = {'Class': '0b', 'Vendor': '8086', 'Device': '270b,2710,2714',
+             'SVendor': None, 'SDevice': None}
 
Quoted 7 lines

usertools/dpdk-devbind.py line 68

Quoted 5 lines
usertools/dpdk-devbind.py +1 -1
 network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]
 baseband_devices = [acceleration_class]
 crypto_devices = [encryption_class, intel_processor_class]
-eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]
+eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso, intel_dlb]

Please try to insert new items in alphabetical order.

Thanks for the feedback, Thomas. I will update and resubmit.

#3 lore raw

PATCH v2 1/1 usertools/devbind: add dlb

In reply to Timothy McDaniel

Add dlb to usertools/dpdk-devbind.py so that it shows up as an eventdev, and is identified as Intel dlb.

---
 usertools/dpdk-devbind.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
usertools/dpdk-devbind.py +3 -1
index 98bd1b7e4..2fe0c6a6a 100755
@@ -46,6 +46,8 @@
 octeontx2_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4',
                  '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}
@@ -63,7 +65,7 @@
 network_devices = [network_class, cavium_pkx, avp_vnic, ifpga_class]
 baseband_devices = [acceleration_class]
 crypto_devices = [encryption_class, intel_processor_class]
-eventdev_devices = [cavium_sso, cavium_tim, octeontx2_sso]
+eventdev_devices = [cavium_sso, cavium_tim, intel_dlb, octeontx2_sso]
 mempool_devices = [cavium_fpa, octeontx2_npa]
 compress_devices = [cavium_zip]
 regex_devices = [octeontx2_ree]
Signature · 1 line
2.23.0