From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 924F0A0350; Mon, 29 Jun 2020 05:30:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A99F5B30; Mon, 29 Jun 2020 05:30:56 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 401B71150 for ; Mon, 29 Jun 2020 05:30:54 +0200 (CEST) IronPort-SDR: j9s8TufwPhufGFBHxOzoAR3M0yCIx6I7kIkRlR7bqDRL4XmSZ2pynG8z1cgDazCnQxw4Itpdlg WjBcfvRFEb/w== X-IronPort-AV: E=McAfee;i="6000,8403,9666"; a="143377249" X-IronPort-AV: E=Sophos;i="5.75,293,1589266800"; d="scan'208";a="143377249" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2020 20:30:53 -0700 IronPort-SDR: hzcXRE3QUlmODayc8/kU9JNypo1GiJt2W8O+v1wuLDnnVjZOi79SlNocsP+iBneYaVt8mbPAQH IjmmJAw/9Xrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,293,1589266800"; d="scan'208";a="454037746" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 28 Jun 2020 20:30:52 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 28 Jun 2020 20:30:52 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 28 Jun 2020 20:30:51 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 28 Jun 2020 20:30:51 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.109) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 28 Jun 2020 20:30:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3NsISkxlhEGzos4MWbp48nEgS61eSilbBWilBFfPqY80bX6PNXwcXiRlAMxBZQ72SxGk+fnOcj4PGtoScqUkfe8Wi3hBKTJdyBKGZabODY80VLnae80zbMfD1BPmM9cK/8+NNZNNIRl4qUeaM2fVLjOdvNgIWOQM+1Gh72fuWeXxVxSsRtgMT47j3HIm4A1x84CSlW55CLG+8FtRazPgJRgvcDrSr3cO9v/tw00E4YwfXFx6YsZWs7BavDo2720JuQfzRQrQBaDGBw4MNIKnTyeSgEInQ+QgBY+3J4iCMuUv0JRJxXZmQR67rHI2+IJqHsS/BsRAZVaI0yUDHPI4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j2vy9duRbyFPD05rY5o/nTLtPUhh6t+BiUzn1TV8/38=; b=A4+KHf1g/i4h5CUlCeEqztQLfh6IozvEKzrhOo2uC4O+DUwu6EkoNbp4IGry3JTuOOnLboH+sWQXsA1NgAagV4G5aEIpG73/Dw4Z/e00Zl0vSpwITVv1+DVL54HFgcgPmp3kU5gH6cbZJlz2ENywlsAgLfqpyWHA/5+5kpRCND6bOI4gqfaCnYGNRsgLNsyT17yrAnMj3E2vrZ7wQgiNBOVP4Kis4CjMkt0oQt8QnXCTAlmlr8hx3D9c3v7y0/eHRqfRtEtfHQJiGYBRjHVbwnG7JzuIAvpfPkbQVvnVKk4QFl3EPdYvHnUooaT3ia2sP7/vr3dIPjXJ0CJ6IGg/Vw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j2vy9duRbyFPD05rY5o/nTLtPUhh6t+BiUzn1TV8/38=; b=IP4c+ysJrq3uJJ0gUvUtDJMoCdVVCRtIjSwxwpwRccSw0t8/PCSVjuR3LRIFMDvrMb0YfbnTaIGtvMkmjY1JyFV/DS8iRRr7TWXed5caj0CQMNAV3H1sI2w1T2rl1Qw5DJjibyhH3MumhoeV/vM1ym38ytfDoU1OfpdkTQ8+QIQ= Received: from BN6PR11MB0017.namprd11.prod.outlook.com (2603:10b6:405:6c::34) by BN8PR11MB3812.namprd11.prod.outlook.com (2603:10b6:408:90::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Mon, 29 Jun 2020 03:30:33 +0000 Received: from BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::c8eb:f4c9:5b58:3120]) by BN6PR11MB0017.namprd11.prod.outlook.com ([fe80::c8eb:f4c9:5b58:3120%6]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 03:30:33 +0000 From: "Yang, Qiming" To: "Sun, GuinanX" , "dev@dpdk.org" CC: "Guo, Jia" , "Lu, Wenzhuo" , "Sun, GuinanX" , "Fujinaka, Todd" Thread-Topic: [dpdk-dev] [PATCH v2 06/42] net/e1000/base: modify MAC initialization for i211 Thread-Index: AQHWSf3p5kAX31Sz/0uWu234em+oU6ju9zXQ Date: Mon, 29 Jun 2020 03:30:33 +0000 Message-ID: References: <20200622064634.70941-1-guinanx.sun@intel.com> <20200624075337.6768-1-guinanx.sun@intel.com> <20200624075337.6768-7-guinanx.sun@intel.com> In-Reply-To: <20200624075337.6768-7-guinanx.sun@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.38] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c621e9bb-38b2-4118-cfc9-08d81bdcc834 x-ms-traffictypediagnostic: BN8PR11MB3812: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3631; x-forefront-prvs: 044968D9E1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mKD2TsZzJNGi11j6Hb+ziftzBIXpcGwkroCSY2BQ5zRLocNlLs0Vah/4Cya9Jar/WqQ6ibbzm+iBGShDh0dJNq0sQjz4bJ33yEoJpsv9CScuX6kFiyq2JlKG09j2bOO/20ttqFMGNMlDnmmsZS7SUsJlxbN2r9da+0i1M6B68u/JJUPbwAo8iCKKGWWne+9coeENz5SagKINOajGcLERCxecJV2SdBO+9+eLlGU/6mQiApFImkTNoXf6TMzUZ/Sz6GRFEFFNURTzHjz/c54F5LRmj/uXbgAYILVnxeiQl6EBkEYz2DdrVDGraidWgGRh x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB0017.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(39860400002)(136003)(376002)(366004)(478600001)(110136005)(64756008)(5660300002)(66446008)(54906003)(66476007)(66946007)(66556008)(55016002)(76116006)(107886003)(7696005)(9686003)(316002)(53546011)(26005)(83380400001)(86362001)(8936002)(52536014)(33656002)(4326008)(71200400001)(186003)(2906002)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: q8Af9yLr8abvrUW62Zy/21LkVDZah//ktTlgXbsUMi1XCtXDKsaIYSoF/UP8F9mrxLfDm8/BAQ5icR7peIvv22yZQQKOCCIR8JQxHQoT/n0v8+BhmKZMpW/+pziF8azqzrwkQVdZhrXOXJIYylNtIY+YdyGGA2/6YJD2UNDUuEFmvuVDAilnd1ARpakzkiNT6vjOvsVNmqYX99UoAof0GyJv8NzD738Hv9vnOG1hYyWfDP51liQHm8Lz5y+tYXXeK3gd47+RUxRTQazFGSUknT1u8jxo00fCnMB2lwW3WkC/kBAAJBjTUwB6iv7xxDRrtcWL4X0dwuYbXsfwNIi1VDRy9VZ39ydQvWDMgG+vhoaePnu4h8LLxbIvVGnqoNebDOpb1lhKVHUDUkHIEAgZRkIs+b9wrR2Uo2CptpqB7RxTTGAuHNS/o44xMsvmbVK3I48K+2GguCd083A3lVt0ZB+yOrKh9jQWbRq1RUHI8RGnliGLQK3QBH3nGgvde8I1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB0017.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c621e9bb-38b2-4118-cfc9-08d81bdcc834 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2020 03:30:33.7105 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HURXv4oRDpJCfFkYJMTQOIL2rNC+LVAO8H3X1Y4FUV4iQ8vlu9w6NlJywHxgIL4t0P+Zk8roAS4zd/7umvAVkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3812 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 06/42] net/e1000/base: modify MAC initialization for i211 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This one should merge to the first patch. > -----Original Message----- > From: dev On Behalf Of Guinan Sun > Sent: Wednesday, June 24, 2020 15:53 > To: dev@dpdk.org > Cc: Guo, Jia ; Lu, Wenzhuo ; > Sun, GuinanX ; Fujinaka, Todd > > Subject: [dpdk-dev] [PATCH v2 06/42] net/e1000/base: modify MAC > initialization for i211 >=20 > Introduce SF/FW syncronization, acquire and release for i211 devices. >=20 > Signed-off-by: Todd Fujinaka > Signed-off-by: Guinan Sun > --- > drivers/net/e1000/base/e1000_82575.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/e1000/base/e1000_82575.c > b/drivers/net/e1000/base/e1000_82575.c > index 4c3611c6d..952bb4235 100644 > --- a/drivers/net/e1000/base/e1000_82575.c > +++ b/drivers/net/e1000/base/e1000_82575.c > @@ -486,7 +486,7 @@ STATIC s32 e1000_init_mac_params_82575(struct > e1000_hw *hw) > /* acquire SW_FW sync */ > mac->ops.acquire_swfw_sync =3D e1000_acquire_swfw_sync_82575; > mac->ops.release_swfw_sync =3D e1000_release_swfw_sync_82575; > - if (mac->type >=3D e1000_i210) { > + if (mac->type =3D=3D e1000_i210 || mac->type =3D=3D e1000_i211) { > mac->ops.acquire_swfw_sync =3D > e1000_acquire_swfw_sync_i210; > mac->ops.release_swfw_sync =3D > e1000_release_swfw_sync_i210; > } > -- > 2.17.1