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

2021-07-19 Thread Xueming(Steven) Li
> -Original Message- > From: Thomas Monjalon > Sent: Monday, July 19, 2021 2:29 AM > To: Xueming(Steven) Li > Cc: Slava Ovsiienko ; dev@dpdk.org; Xueming(Steven) > Li ; Matan Azrad > ; Shahaf Shuler ; Ray Kinsella > > Subject: Re: [dpdk-dev] [PATCH v2 01/

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

2021-07-18 Thread Thomas Monjalon
13/07/2021 15:14, Xueming Li: > +static const struct { > + const char *name; > + unsigned int drv_class; > +} mlx5_classes[] = { > + { .name = "vdpa", .drv_class = MLX5_CLASS_VDPA }, > + { .name = "eth", .drv_class = MLX5_CLASS_ETH }, > + /* Keep class "net" for backward compati

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

2021-07-13 Thread Slava Ovsiienko
> -Original Message- > From: Xueming(Steven) Li > Sent: Tuesday, July 13, 2021 16:14 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Xueming(Steven) Li ; Matan > Azrad ; Shahaf Shuler ; Ray > Kinsella > Subject: [PATCH v2 01/14] common/mlx5: add common device driver > > To support auxiliary b

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

2021-07-13 Thread Xueming Li
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 P