From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id C289D2986; Fri, 5 May 2017 16:40:44 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 190A920994; Fri, 5 May 2017 10:40:44 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 05 May 2017 10:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=83N+xukMPKC+oPQ W+wh/qSJA0Q134uZqkGfd8a2PqC0=; b=MgV1BWjnHEPLECgrpL+3rhgxjrsN+Ft P47nYVX+YMIc72njpFwV+cKi+FQWfTM136NdNm+EBIcsV5/oHCpn/DlVRHDOv/kR wcNTA8pJB/lJ3irV/ZVlez4pqGQOCXAcsy9rby1OhU2Q0XD+PLIYPfMXYWUsUQcR 2NTCfWobPCp0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=83N+xukMPKC+oPQW+wh/qSJA0Q134uZqkGfd8a2PqC0=; b=CdmArIWx qCGk9eHQA0MUsr0TeGMx7DZ8TPoMp1otOhiwv7WQiDutQBIhK2g2hSuTnwW2CxGo ICGMh12yAZRwsncPYJ4v3wU22HXo9xW5AqjqUFu6X9I+RGaO0UncPA/44OIOsSG8 PKGentgEl4qc2PZ0p1LyputiEn1ViUf5EROYn/VHYbES8Msz2NW7fslgotWayMGq quKXTL/xmw7JHAc1MjeT4ME6lIZ66LTW+GCE3NRirN2IzfYpGr5XN4CHo1Eq7duQ bOjvvV3GASsdD1c8NNng4qkEeUZMOsuiD/807gwZyiUOOYXVREOFhUsj5+lIWkQH e+15gDCNItLLKw== X-ME-Sender: X-Sasl-enc: fqRgl3n9uV/G+mtzxvM/ReR9SGUXclPz8wDERLl/QAYK 1493995243 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C60192418B; Fri, 5 May 2017 10:40:43 -0400 (EDT) From: Thomas Monjalon To: Wenzhuo Lu Cc: dev@dpdk.org, stable@dpdk.org Date: Fri, 05 May 2017 16:40:42 +0200 Message-ID: <2743853.L58fds6xUq@xps> In-Reply-To: <1493714099-5225-1-git-send-email-wenzhuo.lu@intel.com> References: <1493714099-5225-1-git-send-email-wenzhuo.lu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting 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: Fri, 05 May 2017 14:40:45 -0000 02/05/2017 10:34, Wenzhuo Lu: > Pool 0 is not PF, it's VF 0. So the MAC is set for VF 0 > but not PF. > The code introduced a weird issue. In the scenario PF + VF, > when only starting PF, the default PF MAC address is working. > But after starting a VF, the default PF MAC address becomes > the VF's address. > > Use the pool which is not occupied by VFs for PF to fix it. > > Fixes: 8164fe82846b ("ixgbe: add default mac address modifier") > Cc: stable@dpdk.org > > Signed-off-by: Wenzhuo Lu Applied, thanks