From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAD9AA0A0F; Mon, 5 Jul 2021 13:44:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CCD64068C; Mon, 5 Jul 2021 13:44:57 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 342174003C for ; Mon, 5 Jul 2021 13:44:56 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10035"; a="196248708" X-IronPort-AV: E=Sophos;i="5.83,325,1616482800"; d="scan'208";a="196248708" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2021 04:44:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,325,1616482800"; d="scan'208";a="490979482" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga001.jf.intel.com with ESMTP; 05 Jul 2021 04:44:51 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) 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.2242.10; Mon, 5 Jul 2021 04:44:50 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Mon, 5 Jul 2021 04:44:50 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.46) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Mon, 5 Jul 2021 04:44:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A6iuxQFnxopkeat3IoSgNwjiX9w7cPes0yYop1XKgozwLhhvlTw7OtaVD71GasM+5QE2hTGVivkmrBNEIRtB3mRVHFImcJxLCDwqJ1wSjZ7O1rqvMyqXIDyTRExvCXAg3AaozfUCA8N9i6OQBYdG02kENQzaf4vov1PCs/7PNXIyVk7NPNd64j2MiBDhpQD1l8EH1pGXrWJsW7O25Vrs/dplycY4Lz8O0tTL/VRS82pZuohUuCI2cEANdDgaPNK/0CrK6ZBzQjdgEDaVFsWU5BK9peoyPU4XiYsMb1zcGr5ZW/ItCAGNO5xBpHVCgWxJK/B5JhvSZU3g2YLNrdYnOg== 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=0UhMdCQ5U/h7KMqeMCfbQCHImD/gIb0u3iNEAj+TCDg=; b=brWvIFW8LMmXnGDXApgsVHHKh0acdMqHfD+eQvegWH02q1ujNQgmaKE8+1A7fSXXdbjNKqE2dGgtwIk2s8or1NDB4lt1jUZoXdy69wy6bW7w3pIKFQgDSCQa3UHsePK8Fc8UAaJ/pMfsojXhMVxh/jKqpBYQjo28r2kT5kFR6QOz7Yn1A/nO3z13cBDAVQhso2KybHWvSfwdaxf+p5t62Bf3dfixyRL6P2DsfGDzM4RVNIzJxQBJHCuGojqrbzqj8aneahsP+U1jYCmGSCLf/Xj+ACW73wjHTOnXepsxgnu8PoD8zAajGn/YocSbZSdQvdlRcBEx7P55gXFxRcrJ8A== 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=0UhMdCQ5U/h7KMqeMCfbQCHImD/gIb0u3iNEAj+TCDg=; b=sNiSEIN/mYuKOg+9PahDWfTJUPiDJD0dX1cx6pEp+r0n1B+iJ3K7fR6jZpAkijgRK9c/x/OqnjqOAdtSsCSYfJpDX+yUuM4kuV1C4hot5voFnB4JEOyRhWCv1eimuOZKzmHVY+lwAs4qjV4060BRmp69do4Qn5TGIH5LAzPc1xc= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3729.namprd11.prod.outlook.com (2603:10b6:408:81::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Mon, 5 Jul 2021 11:44:45 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::8807:6661:e425:102]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::8807:6661:e425:102%7]) with mapi id 15.20.4287.033; Mon, 5 Jul 2021 11:44:45 +0000 From: "Wang, Haiyue" To: David Marchand CC: "dev@dpdk.org" , "Yang, Qiming" , "Zhang, Qi Z" Thread-Topic: [dpdk-dev] [PATCH v3 1/2] net/ice: factorize firmware loading Thread-Index: AQHXbL3LHM6wvHCgqECmshcrHyKK1Kszo0VAgABcUoCAAA5jwIAACXWAgAA0GAA= Date: Mon, 5 Jul 2021 11:44:45 +0000 Message-ID: References: <20210602095836.24901-1-david.marchand@redhat.com> <20210629080632.30964-1-david.marchand@redhat.com> <20210629080632.30964-2-david.marchand@redhat.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.143.19] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86143437-ab4a-409e-dd33-08d93faa495f x-ms-traffictypediagnostic: BN8PR11MB3729: 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:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nGqzzt5PCDcv1/pca+ScfZDGlS01HY5SE1aWDVavs0QKXkV8lHzpB71sq/AlSOlATm60J1O5O5xi5XNpiXFb3BEdAyWeCnzG1J0LCt3HeNnWSBgScKygf/1bjlLMJKVRkOlh2Eb0oIvUQGayMG6tdT3fhaSpQ+9CvEA39TnAmFVCC1l3DAJBFbDXveU4AvNT5O2T4WFURj3WTZL3z/5uElxViMIW14lK8ivwsfM8AbY5jlu+2K63nrSrW1u5G+eO1VsDxvFwzUUIXkNcqr7uNuxEWM8JZ7SrwpPfXWthkCbtMJ5qTxEhX+DCjCaC/O6/fTrndPmwdJtQjbTRbTmOhsxWFyG1/BHhI0ctw8XPgzyd9xwco831Iq/u4tFbDSN2li77TWfk4sYAoVlR5aEojDk5p0rS8KJQeEgQNaAjiTZsptl6SSPVdrkrWanhaZ1ZDDr13yTX44S0tzIfY/E0p0zHI6d1oOihf9/LwdPPTMkw5eVdg6Y2/n/g9zBxShCkSalhgDWPDBolpv2D4WvoXYtf/7OJKxfEMHUSmbB90Hun2Oq8Wa11O4aZoe4es2ejsvxuu/L0DcsZyWca+NElnm/jsqOS0HT9MvpzQb8qenBBMxd04pJHIqqKtfZAFrmN6DD1C9NrFdQeevBbo1sMTw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(136003)(376002)(366004)(346002)(396003)(66946007)(76116006)(38100700002)(478600001)(71200400001)(122000001)(9686003)(26005)(5660300002)(2906002)(55016002)(186003)(66446008)(64756008)(66556008)(53546011)(6506007)(66476007)(52536014)(7696005)(107886003)(4326008)(86362001)(6916009)(8676002)(83380400001)(54906003)(316002)(33656002)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bE1RZXdwMmh4Q1RqS1ZPQzNHSmg1cGFTaURBUVd6Wk14VGRpWGh2T1RJYmJr?= =?utf-8?B?bklNLzh4VEVZUklSVlBKN2FwTUpTM2Y4dEd2ejV0NUwwa2lEaDFiVkhac3BB?= =?utf-8?B?dmtQMGFpVWxONWFycDRpSFd3ZlBCbldUZnd4RDFBajhZTzdCTHpBVTZNZFQ5?= =?utf-8?B?TStDMHZwTkdVMGU5NkRsVGlVZkRER0R3MFdWWEVIYnk0eDIveUxXZjFHZk5v?= =?utf-8?B?R29lSjdRMXYxWEc0dVljcUF3c0lTM2tqKzdJajhycXRwNGZHOWtoQWc2ZElj?= =?utf-8?B?R0w2T21hQXE4SjRlT0Y1SXZkQy9ibTFJczZYQ3F4MHM2aDZWOXgvbEVVOWww?= =?utf-8?B?cFcxSUl3cDJObEExVFlsOHNLd2FmNXA0TzI3K0NwczRzWmFXS2k1YjdJODFk?= =?utf-8?B?RDBZRG9WbnFWWTdTaHhZejhzMHZjNzVydTNHWG0wS1VKOEdVMHNGTEJyelUx?= =?utf-8?B?OG1aU1lOWjREU05VdEx5NVBwOHg1WXJXYk5uY1N5Y2RNbjBPcDNOcGlCOXVM?= =?utf-8?B?dUR6cTRzM2lKamxoUzBweGdMMXF1cTFwNU9zU0ZvSDFIb0RVSi80bzJFUEZI?= =?utf-8?B?WkpEd2ZRR21DVlVhQnp6TnNwV28ydldHVlRQMElRY2s3bGNXU1BtTVpTM3Mx?= =?utf-8?B?UFN1MHVmbklCZ2RTL2tLQkoyYVIzUmN3K0hEbVU5Rm1Z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ltVTBBMGxMWllzVmZQSFNt?= =?utf-8?B?a2lRdlpVb0p6SlVtNys0VjkvVVI1T0t5bEhGajREeVdkTDdMOWJvL0duWkVW?= =?utf-8?B?SFVmeWFiNi96MFhIRmtKbEtESEZWa05vb25mMlFqQjdodkpoc1Ayc05HUHpO?= =?utf-8?Q?gJYrx4blM/YS0637jAkDw5Q/Nsy97eQuPqHHGV5?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86143437-ab4a-409e-dd33-08d93faa495f X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2021 11:44:45.5966 (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: 9wRX7AitZ+T+AmgWgdc4mIwc93y4LLcbCBYXicmvKaAvyKb3NFriSUgPC7hZZ65meViogXMj2lodVVA0OucKBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3729 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/2] net/ice: factorize firmware loading X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYXZpZCBNYXJjaGFuZCA8ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbT4NCj4gU2VudDogTW9uZGF5LCBKdWx5IDUsIDIwMjEgMTY6 MzQNCj4gVG86IFdhbmcsIEhhaXl1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