net/mlx5: Use dev->priv.name instead of dev_name
authorHuy Nguyen <huyn@mellanox.com>
Fri, 29 Mar 2019 22:37:59 +0000 (15:37 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 2 Apr 2019 19:49:38 +0000 (12:49 -0700)
commitb09989a2142897f0c4cc6c93831f68bd7b02bedd
tree81c05fa65bfa9f58b179f5097181eef5a79c00a1
parentd05120f50b5d29f6642b1c802c1e0b948437459a
net/mlx5: Use dev->priv.name instead of dev_name

Use mlx5_core mdev private name in message instead of using pci dev_name
to provide a better report/debug of different mlx5 device types.

This patch does not change any functionality.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h
drivers/net/ethernet/mellanox/mlx5/core/health.c