net/ixgbe: support VF promiscuous by PF driver
authorWei Zhao <wei.zhao1@intel.com>
Fri, 8 Mar 2019 02:46:17 +0000 (10:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Mar 2019 16:52:22 +0000 (17:52 +0100)
commit0355c379b71f96f1d331e496619a7a954083124a
tree84fa68aa1aed9aeb16684e39603eac21bdf6db74
parent1f4564ed7696d55451563774b11d9b1aa92523dc
net/ixgbe: support VF promiscuous by PF driver

The patch adds the PF counterpart changes to support VF promiscuous
mode by DPDK PF driver.

For ixgbe, in order to support VF VLAN promiscuous or unicast
promiscuous, PF need to set register PFVML2FLT of bit UPE and VPE.
The patch aligned to kernel driver's implementation.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/ixgbe_pf.c