common/mlx5: remove class check from class drivers
authorParav Pandit <parav@mellanox.com>
Mon, 27 Jul 2020 17:47:15 +0000 (20:47 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 28 Jul 2020 17:01:30 +0000 (19:01 +0200)
commitf6d099d7da83fb973f6849161795d08842d0d328
treee5870fcd0327522fff44de6d7777a77837aa813f
parent392bf9084dd02219738f34f6930851032e1ce32f
common/mlx5: remove class check from class drivers

Now that mlx5_pci PMD checks for enabled classes and performs
probe(), remove() of associated classes, individual class driver
does not need to check if other driver is enabled.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/rte_common_mlx5_version.map
drivers/net/mlx5/linux/mlx5_os.c
drivers/vdpa/mlx5/mlx5_vdpa.c