net/i40e: set VF MAC from PF
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 08:45:12 +0000 (16:45 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:43 +0000 (19:41 +0100)
commit43c89d5a4fde6970dc65f974d84db479d01a0f1e
tree5b9baca94e74de4ac4f7fcc8e42f4b3fd3b29375
parent32ecaf723fa3724f6e78aad08653cb9c975b9ad9
net/i40e: set VF MAC from PF

Support setting VF MAC address from PF.
User can call the API on PF to set a specific
VF's MAC address.

PF should set MAC address before VF initialized,
if PF sets the MAC address after VF initialized,
new MAC address won't be effective until VF
reinitialized.

This will remove all existing MAC filters.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Vincent Jardin <vincent.jardin@6wind.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/rte_pmd_i40e.h
drivers/net/i40e/rte_pmd_i40e_version.map