Matan Azrad d768f324d6 net/mlx5: select driver by class device argument
There might be a case that one Mellanox device can be probed by
multiple mlx5 drivers.

One case is that any mlx5 vDPA device can be probed by both net/mlx5
and vdpa/mlx5.

Add a new mlx5 common API to get the requested driver by devargs:
class=[net/vdpa].

Skip net/mlx5 PMD probing while the device is selected to be probed by
the vDPA driver.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-02-05 09:51:20 +01:00
..
2020-02-05 09:51:20 +01:00
2020-01-17 19:46:26 +01:00
2020-01-17 19:46:01 +01:00
2020-01-17 19:46:02 +01:00
2020-01-17 19:59:19 +01:00
2020-01-17 19:59:18 +01:00
2020-01-17 19:59:18 +01:00
2019-12-12 23:23:25 +01:00
2020-01-17 19:59:19 +01:00
2020-01-17 19:46:26 +01:00
2020-01-17 19:46:02 +01:00
2020-01-20 18:02:17 +01:00