[dts] [PATCH V2 1/2] test_plans/enable_package_download_in_ice_driver:change cases

Li, WenjieX A wenjiex.a.li at intel.com
Mon Jul 29 09:59:27 CEST 2019


Tested-by: Li, WenjieX A <wenjiex.a.li at intel.com>

> -----Original Message-----
> From: Peng, Yuan
> Sent: Friday, July 26, 2019 4:48 PM
> To: Li, WenjieX A <wenjiex.a.li at intel.com>; dts at dpdk.org
> Cc: Peng, Yuan <yuan.peng at intel.com>
> Subject: RE: [dts][PATCH V2 1/2]
> test_plans/enable_package_download_in_ice_driver:change cases
> 
> Acked-by: Peng, Yuan <yuan.peng at intel.com>
> 
> -----Original Message-----
> From: Li, WenjieX A
> Sent: Friday, July 26, 2019 11:55 PM
> To: dts at dpdk.org
> Cc: Peng, Yuan <yuan.peng at intel.com>; Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts][PATCH V2 1/2]
> test_plans/enable_package_download_in_ice_driver:change cases
> 
> change test cases based on dpdk 603beeb970b5d87fa7.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
>  ...ckage_download_in_ice_driver_test_plan.rst | 33 ++++++++++++++++---
>  1 file changed, 29 insertions(+), 4 deletions(-)
> 
> 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 a6dcfc2..efe2f93 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
> @@ -94,8 +94,8 @@ Test case 1: Download the package successfully
>     with different IPV4/IPV6 address or TCP/UDP/SCTP ports,
>     the packets can be distributed to different rx queues.
> 
> -Test case 2: failed to download pkg
> -===================================
> +Test case 2: Driver enters Safe Mode successfully
> +=================================================
> 
>  1. Server power on, then put a new ice.pkg to
>     /lib/firmware/intel/ice/ddp/ice.pkg.
> @@ -103,8 +103,9 @@ Test case 2: failed to download pkg
> 
>  2. Start testpmd::
> 
> -    ./testpmd -c 0x3fe -n 6 -- -i --nb-cores=8 --rxq=8 --txq=8 \
> -    --port-topology=chained
> +    ./testpmd -c 0x3fe -n 6 \
> +    -w PORT0_PCI,safe-mode-support=1 -w PORT1_PCI,safe-mode-support=1 \
> +    -- -i --nb-cores=8 --rxq=8 --txq=8 --port-topology=chained
> 
>     There will be an error reported::
> 
> @@ -133,3 +134,27 @@ Test case 2: failed to download pkg  5. Send
> UPD/TCP/SCTP+IPV4/IPV6 packets with packet generator
>     with different IPV4/IPV6 address or TCP/UDP/SCTP ports,
>     the packets can be only distributed to rx queue 0.
> +
> +Test case 3: Driver enters Safe Mode failed
> +===========================================
> +
> +1. Server power on, then put a new ice.pkg to
> +   /lib/firmware/intel/ice/ddp/ice.pkg.
> +   Make sure the new ice.pkg is different with the original one.
> +
> +2. Start testpmd::
> +
> +    ./testpmd -c 0x3fe -n 6 -- -i --nb-cores=8 --rxq=8 --txq=8 \
> +    --port-topology=chained
> +
> +   There will be an error reported::
> +
> +    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.
> +
> +3. Check port info in testpmd::
> +
> +    testpmd> show port info all
> +
> +   There is no listed port info.
> \ No newline at end of file
> --
> 2.17.1



More information about the dts mailing list