In testpmd, it's wrong to call rte_eth_dev_mac_addr_add to add a MAC address for a VF. Because this API is used to add a MAC address for a VMDq pool.
v3: - split the patch to 2. One for adding a new API. One for fixing the CLI. Wenzhuo Lu (2): net/i40e: new API to add VF MAC address from PF app/testpmd: fix wrong API of adding VF MAC app/test-pmd/cmdline.c | 19 ++++++++++--- drivers/net/i40e/rte_pmd_i40e.c | 44 +++++++++++++++++++++++++++++++ drivers/net/i40e/rte_pmd_i40e.h | 20 ++++++++++++++ drivers/net/i40e/rte_pmd_i40e_version.map | 7 +++++ 4 files changed, 86 insertions(+), 4 deletions(-) -- 1.9.3