net/mlx5: support new representor naming format
authorDekel Peled <dekelp@mellanox.com>
Sun, 17 Mar 2019 06:23:03 +0000 (08:23 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commitb2f3a38101255ac6970eb055831588091bd7aba2
treef06e7df8e2080a8f5fba123943b450610757184c
parent761186fc7ba7fff191f2916734da82e134a9d0a1
net/mlx5: support new representor naming format

Kernel update [1] introduce new format of representors names.
This patch implements RFC [2], updating MLX5 PMD to support the new
format, while maintaining support of the existing format.

[1] https://github.com/torvalds/linux/commit/c12ecc2
[2] http://mails.dpdk.org/archives/dev/2019-March/125676.html

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_nl.c