On Fri, 18 Aug 2017 02:33:42 +0800 Wenzhuo Lu <wenzhuo...@intel.com> wrote:
> 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...@intel.com> What do other drivers do? Sorry, a driver specific API is (almost) always the wrong solution.