net/mlx5: support getting MAC on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Mon, 28 Dec 2020 12:32:35 +0000 (14:32 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit93cc4f0dfed05d5feafbfafd42cd21931e240ed3
treeca2045d0b93c6aff45699c8ca554d12f5f2330f1
parentc2bf5433fb235d02c42720cec32de146b72884b9
net/mlx5: support getting MAC on Windows

This commits implements API mlx5_get_mac().  It returns the MAC address
saved in the device context since its creation.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/windows/meson.build
drivers/net/mlx5/windows/mlx5_ethdev_os.c [new file with mode: 0644]