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 C3A7E1B1BC for ; Wed, 24 Jan 2018 16:42:33 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7AC7122709; Wed, 24 Jan 2018 10:42:33 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:42:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=05o1Fe82uItloNtS3 I2r5gr3a0c1kx3yyFZtfwC10Tk=; b=NmrZq+TBeMo1yUTONymneV9qrC2C2u089 6b7oX5dvGPhJotYAeom0rgZK/o3qD8ub6cjCRR/IzkeSj0GylpqY9NMUcHaUFFIu dM87SmM3WxOC1DFuLyF+t+qG0VnZKXegroClL2SRHyG4StDHX+ewNpFIGXZXIfTD E+eWT3oGt88M2iH5v+wY34JkelD+7AVS7BfVP8lE/WIQOV2pDX9cL/AgKWUzc+W4 QK8y9gpFuh4BIu9Ns+dsvXwVEPqbtSlLD2mCFebUA9Y+cQelgPstnhNQLmyRGyRu GLvGywriWUYWVCQTojTWAGey5oRLjcrteOR30QZyEZuQHoQ7zmDBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=05o1Fe82uItloNtS3I2r5gr3a0c1kx3yyFZtfwC10Tk=; b=iKu47K/H SRjM5FTndUab7wYX5NXuPW1KWbAxpMM9GM4WGhmPAL/lEhvhP9RNfJrzEj4iFFxz KFKUL2+4951Edc15uNmRUJ/oy+uOrFEb8jGdlSPkz8/9Q/QuJdxNPSVu/Cc9Vlos DJsoW/3upci9y+ouJ2M0+Xih9A/ODpAJn+uHuOao8uQqUFWCzYbP0Xb/8O6Arxdb tKodz9RIxoK1QB/3wcIKIlWIJmJhwjrdBkc1zo5EtcNno8fujNLfLBC5cEEPmTf1 +ko7LbCIk+APWewfx+wboUr2jDzRIRyf6WB+FZ0j5910EUkRPNEMeAMvk3/lR5of PeV2ednUo4XDUQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id AC5BB7E43A; Wed, 24 Jan 2018 10:42:31 -0500 (EST) From: Yuanhan Liu To: Igor Ryzhov Cc: Beilei Xing , dpdk stable Date: Wed, 24 Jan 2018 23:33:37 +0800 Message-Id: <1516808026-25523-149-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/i40e: fix flag for MAC address write' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 15:42:34 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From e9399aa91a9ee6c2663f2d6049b790458c8e6e21 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Mon, 15 Jan 2018 11:32:18 +0300 Subject: [PATCH] net/i40e: fix flag for MAC address write [ upstream commit b4f42173a54a9304486cca74ba72d620680e13b1 ] Current flag is in wrong byte order for i40e_aq_mac_address_write, and just uses the well defined macro instead. Fixes: e18e01e92c29 ("i40e: support default MAC address setting") Signed-off-by: Igor Ryzhov Acked-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index bd83e7b..6c40c46 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -10904,8 +10904,8 @@ static void i40e_set_default_mac_addr(struct rte_eth_dev *dev, } memcpy(&pf->dev_addr, mac_addr, ETH_ADDR_LEN); - /* Flags: 0x3 updates port address */ - i40e_aq_mac_address_write(hw, 0x3, mac_addr->addr_bytes, NULL); + i40e_aq_mac_address_write(hw, I40E_AQC_WRITE_TYPE_LAA_WOL, + mac_addr->addr_bytes, NULL); } static int -- 2.7.4