From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/i40e: no more initial VF MAC address Date: Sun, 5 Mar 2017 22:22:04 +0000 Message-ID: <552fb951-440c-a349-faf4-791330b13a5b@intel.com> References: <1484703940-2967-1-git-send-email-qi.z.zhang@intel.com> <1487717129-26021-1-git-send-email-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Qi Zhang , jingjing.wu@intel.com, helin.zhang@intel.com Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id A32803DC for ; Sun, 5 Mar 2017 23:22:08 +0100 (CET) In-Reply-To: <1487717129-26021-1-git-send-email-qi.z.zhang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Applied to dpdk-next-net/master, thanks.