[dpdk-dev] [PATCH v3 1/2] net/i40e: new API to add VF MAC address from PF

Stephen Hemminger stephen at networkplumber.org
Fri Aug 18 02:32:27 CEST 2017


On Fri, 18 Aug 2017 02:33:42 +0800
Wenzhuo Lu <wenzhuo.lu at 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.lu at intel.com>

What do other drivers do?
Sorry, a driver specific API is (almost) always the wrong solution.



More information about the dev mailing list