test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] Add download specific package to NIC
@ 2019-11-29  2:46 Chen, Zhaoyan
  2019-12-04  5:56 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Chen, Zhaoyan @ 2019-11-29  2:46 UTC (permalink / raw)
  To: dts; +Cc: Chen, Zhaoyan

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-04  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-29  2:46 [dts] [PATCH V1] Add download specific package to NIC Chen, Zhaoyan
2019-12-04  5:56 ` Tu, Lijuan

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).