common/mlx5: avoid class constructor priority
authorParav Pandit <parav@mellanox.com>
Mon, 27 Jul 2020 17:47:11 +0000 (20:47 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 28 Jul 2020 16:52:11 +0000 (18:52 +0200)
commit82088001631d6255f49df5ecac2ebd2bcfc8126e
tree957d12cc796e0ebdbf4f4ab1f0a27bfaec11df14
parent1db6ebd4ef587b858e0a6b5b557b5b63be6a2c13
common/mlx5: avoid class constructor priority

mlx5_common is shared library between mlx5 net, VDPA and regex PMD.
It is better to use common initialization helper instead of using
RTE_PRIORITY_CLASS priority.

Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common.h
drivers/common/mlx5/rte_common_mlx5_version.map
drivers/net/mlx5/mlx5.c
drivers/regex/mlx5/mlx5_regex.c
drivers/vdpa/mlx5/mlx5_vdpa.c