[dpdk-dev] [PATCH v2] net/i40e: no more initial VF MAC address

Ferruh Yigit ferruh.yigit at intel.com
Sun Mar 5 23:22:04 CET 2017


On 2/21/2017 10:45 PM, Qi Zhang wrote:
> During PF initialization, PF will generate an initial mac address
> for VFs, the purpose is to help VF keep a constant mac address between
> its startup/shutdown cycles. Now this is not necessary, since we already
> provide an API to set VF's MAC address from PF side
> (rte_pmd_i40e_set_vf_mac_addr).
> Application can use this API to lock down VF's mac address.(of course this
> should happen before VF init)
> While without this patch, we still can use rte_pmd_i40e_set_vf_mac_addr
> to overwrite the random one, but this patch align DPDK's default behavior
> with Kernel PF driver's, and this help to give an identical experience
> when work with kernel VF driver.
> 
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net/master, thanks.



More information about the dev mailing list