test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>
Subject: Re: [dts] [PATCH V1] Add download specific package to NIC
Date: Wed, 4 Dec 2019 05:56:47 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB7D375@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20191129024634.111137-1-zhaoyan.chen@intel.com>

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 <zhaoyan.chen@intel.com>
> Subject: [dts] [PATCH V1] Add download specific package to NIC
> 
> Add download specific package to NIC
> 
> ---
>  ...le_package_download_in_ice_driver_test_plan.rst | 33
> ++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/test_plans/enable_package_download_in_ice_driver_test_plan.rst
> 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=1
> to enter Safe Mode
> 
>     The driver failed to go to safe mode and testpmd failed to start.
> +
> +
> +Test Case 4: Check specific package loadding
> +=============================================
> +
> +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-<interface serial number>.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=x86_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=8 -- -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


      reply	other threads:[~2019-12-04  5:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-29  2:46 Chen, Zhaoyan
2019-12-04  5:56 ` Tu, Lijuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8CE3E05A3F976642AAB0F4675D0AD20E0BB7D375@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=zhaoyan.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).