[dts] [PATCH V1] Add download specific package to NIC

Tu, Lijuan lijuan.tu at intel.com
Wed Dec 4 06:56:47 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Chen, Zhaoyan
> Sent: Friday, November 29, 2019 10:47 AM
> To: dts at dpdk.org
> Cc: Chen, Zhaoyan <zhaoyan.chen at 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



More information about the dts mailing list