From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP; 05 Mar 2017 14:22:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,250,1484035200"; d="scan'208";a="72494476" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.254.177.89]) ([10.254.177.89]) by fmsmga005.fm.intel.com with ESMTP; 05 Mar 2017 14:22:05 -0800 To: Qi Zhang , jingjing.wu@intel.com, helin.zhang@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> Cc: dev@dpdk.org From: Ferruh Yigit Message-ID: <552fb951-440c-a349-faf4-791330b13a5b@intel.com> Date: Sun, 5 Mar 2017 22:22:04 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <1487717129-26021-1-git-send-email-qi.z.zhang@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: no more initial VF MAC address X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 22:22:09 -0000 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.