net/i40e: new API to add VF MAC address from PF
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Thu, 17 Aug 2017 18:33:42 +0000 (02:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit8f5dbd4ed9cb492c5ea61024e30923ce266400e7
tree42b61a94a810257d1c6e6207cd1a76c0e299f971
parentb5743da31eba03cdc7abae3295f8ba852919c4a3
net/i40e: new API to add VF MAC address from PF

Currently, rte_eth_dev_mac_addr_add is used by a testpmd CLI
to add a MAC address for VF. But the parameter 'pool' of this
API means the VMDq pool, not VF.
So, it's wrong to use it to add the VF MAC address.

This patch provides a new API that can be used to
add VF MAC address on i40e.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/i40e/rte_pmd_i40e.c
drivers/net/i40e/rte_pmd_i40e.h
drivers/net/i40e/rte_pmd_i40e_version.map