12/10/2020 13:31, g...@marvell.com:
> From: Guy Kaneti <g...@marvell.com>
> 
> Update the devbind script with new section of regex devices, also
> added OCTEONTX2 REE device ID to regex device list
> 
> Signed-off-by: Guy Kaneti <g...@marvell.com>
> ---
>  usertools/dpdk-devbind.py | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
> index 1d1113a08..cb2fc6009 100755
> --- a/usertools/dpdk-devbind.py
> +++ b/usertools/dpdk-devbind.py
> @@ -41,6 +41,8 @@
>                'SVendor': None, 'SDevice': None}
>  octeontx2_dma = {'Class': '08', 'Vendor': '177d', 'Device': 'a081',
>                'SVendor': None, 'SDevice': None}
> +octeontx2_ree = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f4',
> +              '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}
> @@ -64,6 +66,7 @@
>  misc_devices = [intel_ioat_bdw, intel_ioat_skx, intel_ioat_icx, 
> intel_idxd_spr,
>                  intel_ntb_skx, intel_ntb_icx,
>                  octeontx2_dma]
> +regex_devices = [octeontx2_ree]

Please add regex befort misc devices.

[...]
>              get_device_details(mempool_devices)
>              get_device_details(compress_devices)
>              get_device_details(misc_devices)
> +            get_device_details(regex_devices)

Here as well, before misc.


> @@ -764,6 +771,7 @@ def main():
>      get_device_details(mempool_devices)
>      get_device_details(compress_devices)
>      get_device_details(misc_devices)
> +    get_device_details(regex_devices)

Same


Reply via email to