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 F06A8A04B5; Wed, 4 Dec 2019 06:56:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3C695F13; Wed, 4 Dec 2019 06:56:53 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 480D51F5 for ; Wed, 4 Dec 2019 06:56:52 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Dec 2019 21:56:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,276,1571727600"; d="scan'208";a="213714070" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga003.jf.intel.com with ESMTP; 03 Dec 2019 21:56:50 -0800 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 21:56:50 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 3 Dec 2019 21:56:49 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.29]) with mapi id 14.03.0439.000; Wed, 4 Dec 2019 13:56:48 +0800 From: "Tu, Lijuan" To: "Chen, Zhaoyan" , "dts@dpdk.org" CC: "Chen, Zhaoyan" Thread-Topic: [dts] [PATCH V1] Add download specific package to NIC Thread-Index: AQHVpmAEYq0mGjgvW06FwSedjk8nyqepgm/A Date: Wed, 4 Dec 2019 05:56:47 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB7D375@SHSMSX101.ccr.corp.intel.com> References: <20191129024634.111137-1-zhaoyan.chen@intel.com> In-Reply-To: <20191129024634.111137-1-zhaoyan.chen@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjVlMTYwMzgtYWFjMC00ZjdjLTlhN2MtY2Q5YTM3NmJmNGFiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWlptdUpwNGpKclBIbFdUTDJXK2ZOYTIyZmZnTnBORlwvM0VrVmo5bHNnbnJHd3NON0x0Y0JhWkZJR3o3ZGpPU3YifQ== 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: [dts] [PATCH V1] Add download specific package to NIC X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Chen, Zhaoyan > Sent: Friday, November 29, 2019 10:47 AM > To: dts@dpdk.org > Cc: Chen, Zhaoyan > Subject: [dts] [PATCH V1] Add download specific package to NIC >=20 > Add download specific package to NIC >=20 > --- > ...le_package_download_in_ice_driver_test_plan.rst | 33 > ++++++++++++++++++++++ > 1 file changed, 33 insertions(+) >=20 > diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.r= st > b/test_plans/enable_package_download_in_ice_driver_test_plan.rst > index 14e5427..55a83e2 100644 > --- a/test_plans/enable_package_download_in_ice_driver_test_plan.rst > +++ b/test_plans/enable_package_download_in_ice_driver_test_plan.rst > @@ -152,3 +152,36 @@ Test case 3: Driver enters Safe Mode failed > ice_dev_init(): Failed to load the DDP package,Use safe-mode-support= =3D1 > to enter Safe Mode >=20 > The driver failed to go to safe mode and testpmd failed to start. > + > + > +Test Case 4: Check specific package loadding > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +This test case requires 2 Intel E810 NICs > + > +Copy 2 different ``ice.pkg`` into ``/lib/firmware/intel/ice/ddp/``, \ > +and rename 1 ice.pkg to ice-.pkg, e.g. > +ice-8ce1abfffffefd3c.pkg > + > +Get interface's serial number by:: > + > + lspci -vs b1:00.0 #Change to your interface's BDF > + > +For example, > +- ``ice.pkg`` version is 1.2.5.1 > +- ``ice-8ce1abfffffefd3c.pkg`` version is 1.2.100.1 > + > +Compile DPDK and testpmd:: > + > + make install -j T=3Dx86_64-native-linuxapp-gcc > + > +Launch testpmd with 1 default interface and 1 specific interface:: > + > + ./x86_64-native-linux-gcc/app/testpmd -l 6-9 -n 4 -w 18:00.0 -w > + b1:00.0 --log-level=3D8 -- -i > + > +In this case, b1:00.0 interface is specific interface. > + > +Check the initial output log, it shows:: > + > +EAL: PCI device 0000:b1:00.0 on NUMA socket 0 > +EAL: probe driver: 8086:1593 net_ice > +**ice_load_pkg(): pkg to be loaded: 1.2.100.0, ICE COMMS Package** > \ No newline at end of file > -- > 2.13.0.windows.1