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

2021-06-10 Thread Thomas Monjalon
27/05/2021 15:37, Xueming Li: > +static const struct { > + const char *name; > + unsigned int drv_class; > +} mlx5_classes[] = { > + { .name = "vdpa", .drv_class = MLX5_CLASS_VDPA }, > + { .name = "net", .drv_class = MLX5_CLASS_NET }, > + { .name = "regex", .drv_class = MLX5_CLA

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

2021-05-27 Thread Xueming Li
To support auxiliary bus, introduces common device driver and callbacks, suppose to replace current mlx5 common PCI bus driver. mlx5 common PCI bus driver still used by mlx5 eth, vDPA and regex PMD, will remove once all PMD drivers adapt to new common driver. Signed-off-by: Xueming Li --- drive