From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1C2941B1C9 for ; Thu, 11 Jan 2018 09:12:05 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jan 2018 00:12:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,343,1511856000"; d="scan'208";a="20717671" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 11 Jan 2018 00:12:04 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 00:12:04 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 11 Jan 2018 00:12:04 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by shsmsx102.ccr.corp.intel.com ([169.254.2.189]) with mapi id 14.03.0319.002; Thu, 11 Jan 2018 16:12:02 +0800 From: "Xing, Beilei" To: Igor Ryzhov , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] i40e: fix flag sent to mac_address_write Thread-Index: AQHTimQSeLPXHy4guEWIyffAnLqwEaNuUJPQ Date: Thu, 11 Jan 2018 08:12:02 +0000 Message-ID: <94479800C636CB44BD422CB454846E013208AD12@SHSMSX101.ccr.corp.intel.com> References: <1515624018-12555-1-git-send-email-iryzhov@nfware.com> In-Reply-To: <1515624018-12555-1-git-send-email-iryzhov@nfware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] i40e: fix flag sent to mac_address_write 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: Thu, 11 Jan 2018 08:12:06 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Igor Ryzhov > Sent: Thursday, January 11, 2018 6:40 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] i40e: fix flag sent to mac_address_write Prefix with net/i40e: >=20 > Use the same value as in Linux driver. Fixes line is needed. Thanks for the patch. >=20 > Signed-off-by: Igor Ryzhov > --- > drivers/net/i40e/i40e_ethdev.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde= v.c > index 285d92b..93b9dd0 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -10795,8 +10795,7 @@ static void i40e_set_default_mac_addr(struct > rte_eth_dev *dev, > return; > } >=20 > - /* 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); > } >=20 > static int > -- > 2.6.4