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 41E49A2EFC for ; Thu, 19 Sep 2019 08:32:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 500C41E8E6; Thu, 19 Sep 2019 08:32:17 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9E8551E546 for ; Thu, 19 Sep 2019 08:32:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 23:32:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,522,1559545200"; d="scan'208";a="271114431" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 18 Sep 2019 23:32:14 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 23:32:13 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 18 Sep 2019 23:32:13 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 18 Sep 2019 23:32:13 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.23]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.146]) with mapi id 14.03.0439.000; Thu, 19 Sep 2019 14:32:11 +0800 From: "Zhang, Qi Z" To: "Xu, Ting" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Yang, Qiming" , "Ye, Xiaolong" , "Mcnamara, John" , "Kovacevic, Marko" Thread-Topic: [PATCH v8] net/ice: support device-specific DDP package loading Thread-Index: AQHVbR1wEywGAqfh4E6vDgz5GPeBBqcyjYlw Date: Thu, 19 Sep 2019 06:32:10 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153D98B8D@SHSMSX105.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzQwNjY2NWItMTFkYS00YjIyLWJhMmItNThiZDI3ZTNiYzM0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRFhCY2Y5NDNxV1NDWUFBWnFiR0crU2dVeGo5Z2psdDVwWFBGWDA4YW41dU1NWkFWXC82UzU2dFlWUTlZcEZTcFgifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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 v8] net/ice: support device-specific DDP package loading 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" > -----Original Message----- > From: Xu, Ting > Sent: Tuesday, September 17, 2019 9:02 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Zhang, Qi Z ; Ye, Xiaolong > ; Mcnamara, John ; > Kovacevic, Marko > Subject: [PATCH v8] net/ice: support device-specific DDP package loading >=20 > This patch adds the feature that supports loading DDP package according t= o > the device serial number. Prior to loading the default DDP package (ice.p= kg), > the driver will check for the presence of a device-specific DDP package w= ith the > name containing 64-bit PCIe Device Serial Number (ice-xxxxxxxxxxxxxxxx.pk= g) > during initialization. Users can use "lspci -vs" to get the device serial= number. > The pkg search path are /lib/firmware/updates/intel/ice/ddp/ > and /lib/firmware/intel/ice/ddp/. If the package exists, the driver will > download it to the device instead of the default one. The loaded package = type > (OS default and COMMS) will be stored in ice_adapter->active_pkg_type. Th= e > package version is stored in ice_hw->active_pkg_ver. >=20 > Signed-off-by: Ting Xu Acked-by: Qi Zhang