net/mlx5: set VF MAC address from host
authorRaslan Darawsheh <rasland@mellanox.com>
Mon, 11 Nov 2019 11:40:20 +0000 (11:40 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 11 Nov 2019 15:47:17 +0000 (16:47 +0100)
commit0d1d73170820aa2248d467628ef39f813c5189bb
tree3cc76848e1b76330e573d0dc8df3f28b947e2172
parentb0a9354ae7850bc1fca1a518cca28c5c8e9ba8f6
net/mlx5: set VF MAC address from host

Allow to configure the default MAC address of a VF
via its representor port in the host.

An API was proposed to specify explicitly the VF as a
target: https://patches.dpdk.org/patch/62176/

It has been rejected by the technical board in order to
keep compatibility with behavior in Intel PMDs.
http://mails.dpdk.org/archives/dev/2019-November/150588.html

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_mac.c
drivers/net/mlx5/mlx5_nl.c