> -----Original Message-----
> From: Xueming(Steven) Li <[email protected]>
> Sent: Tuesday, July 13, 2021 16:14
> To: Slava Ovsiienko <[email protected]>
> Cc: [email protected]; Xueming(Steven) Li <[email protected]>; Matan
> Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Ray
> Kinsella <[email protected]>
> 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 <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>