[dpdk-dev] [PATCH v2 01/14] common/mlx5: add common device driver

Slava Ovsiienko viacheslavo at nvidia.com
Wed Jul 14 07:58:15 CEST 2021


> -----Original Message-----
> From: Xueming(Steven) Li <xuemingl at nvidia.com>
> Sent: Tuesday, July 13, 2021 16:14
> To: Slava Ovsiienko <viacheslavo at nvidia.com>
> Cc: dev at dpdk.org; Xueming(Steven) Li <xuemingl at nvidia.com>; Matan
> Azrad <matan at nvidia.com>; Shahaf Shuler <shahafs at nvidia.com>; Ray
> Kinsella <mdr at ashroe.eu>
> Subject: [PATCH v2 01/14] common/mlx5: add common device driver
> 
> To support auxiliary bus, introduces common device driver and callbacks,
> suppose to replace mlx5 common PCI bus driver.
> 
> Mlx5 class drivers, i.e. eth, vDPA, regex and compress normally consumes
> single Verbs device context to probe a device. The Verbs device comes from
> PCI address if the device is PCI bus device, from Auxiliary sysfs if the device is
> auxiliary bus device. Currently only PCI bus is supported.
> 
> Common device driver is a middle layer between mlx5 class drivers and bus,
> resolve and abstract bus info to Verbs device for class drivers.
> Both PCI bus driver and Auxiliary bus driver can utilize the common driver
> layer to cast bus operations to mlx5 class drivers.
> 
> Legacy mlx5 common PCI bus driver still being used by mlx5 eth, vDPA, regex
> and compress PMD, will remove once all PMD drivers migrate to new
> common driver.
> 
> Signed-off-by: Xueming Li <xuemingl at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list