app/testpmd: fix wrong API of adding VF MAC
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Thu, 17 Aug 2017 18:33:43 +0000 (02:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit5f866488dd3f411f9c0490eee33dc1a584c81dd6
tree534e54465046ed8a82fe39fd0778acd6bcb0cee7
parent8f5dbd4ed9cb492c5ea61024e30923ce266400e7
app/testpmd: fix wrong API of adding VF MAC

When adding a VF MAC address, rte_eth_dev_mac_addr_add is called.
It's not right, because this API is used to add a MAC address for
a VMDq pool not a VF. Although it can work on ixgbe as VMDq pool
and VF mean the same thing on ixgbe.

Fixes: 7741e4cf16c0 ("app/testpmd: VMDq and DCB updates")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c