When MLX5 behaves in VF mode and the hypervisor have **trusted** this VF, to be able to receive specific traffic some requests must be done to configure the NIC. There is no API currently available to do it though Verbs, but there is in Linux side using Netlink. This patches uses the wrapper .
The specific cases are: - Enable/disable promiscuous mode. - Enable/disable allmulti mode. - Add/remove mac addresses. This series applies on top of  and on top of :  https://dpdk.org/ml/archives/dev/2018-March/092621.html  https://dpdk.org/dev/patchwork/patch/36052/  https://dpdk.org/dev/patchwork/patch/35981/ Nelio Laranjeiro (5): net/mlx5: add VF information in configuration net/mlx5: retrieve device index from Netlink net/mlx5: use Netlink to add/remove MAC addresses net/mlx5: use Netlink to enable promisc/allmulti net/mlx5: add a parameter for Netlink support in VF doc/guides/nics/mlx5.rst | 13 + drivers/net/mlx5/Makefile | 3 +- drivers/net/mlx5/mlx5.c | 24 ++ drivers/net/mlx5/mlx5.h | 10 + drivers/net/mlx5/mlx5_mac.c | 25 +- drivers/net/mlx5/mlx5_trigger.c | 27 +- drivers/net/mlx5/mlx5_vf.c | 600 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 698 insertions(+), 4 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_vf.c -- 2.11.0