usertools/devbind: add dlb

Message ID 1619035442-4504-1-git-send-email-timothy.mcdaniel@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Jerin Jacob
Headers
Series usertools/devbind: add dlb |

Checks

Context Check Description
ci/checkpatch warning coding style issues
ci/iol-testing fail Testing issues
ci/Intel-compilation success Compilation OK
ci/iol-abi-testing success Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-mellanox-Functional success Functional Testing PASS

Commit Message

Timothy McDaniel April 21, 2021, 8:04 p.m. UTC
  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 <timothy.mcdaniel@intel.com>
---
 usertools/dpdk-devbind.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
  

Comments

Thomas Monjalon April 25, 2021, 3:53 p.m. UTC | #1
Timothy McDaniel:
> --- a/usertools/dpdk-devbind.py
> +++ b/usertools/dpdk-devbind.py
> @@ -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]

Please try to insert new items in alphabetical order.
  
Timothy McDaniel April 26, 2021, 1 p.m. UTC | #2
> -----Original Message-----
> From: Thomas Monjalon <thomas@monjalon.net>
> Sent: Sunday, April 25, 2021 10:53 AM
> To: McDaniel, Timothy <timothy.mcdaniel@intel.com>
> Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Van
> Haaren, Harry <harry.van.haaren@intel.com>; Ray Kinsella <mdr@ashroe.eu>;
> Neil Horman <nhorman@tuxdriver.com>; Rao, Nikhil <nikhil.rao@intel.com>;
> Carrillo, Erik G <erik.g.carrillo@intel.com>; Gujjar, Abhinandan S
> <abhinandan.gujjar@intel.com>; pbhagavatula@marvell.com; Hemant Agrawal
> <hemant.agrawal@nxp.com>; mattias.ronnblom
> <mattias.ronnblom@ericsson.com>; Mccarthy, Peter
> <peter.mccarthy@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] usertools/devbind: add dlb
> 
> Timothy McDaniel:
> > --- a/usertools/dpdk-devbind.py
> > +++ b/usertools/dpdk-devbind.py
> > @@ -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]
> 
> Please try to insert new items in alphabetical order.

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

Patch

diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index 98bd1b7..f36d294 100755
--- a/usertools/dpdk-devbind.py
+++ b/usertools/dpdk-devbind.py
@@ -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]