test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Xie, WeiX" <weix.xie@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss:change load ice package mode
Date: Tue, 21 Jul 2020 06:19:44 +0000	[thread overview]
Message-ID: <6FD6A7610D20924F885A4ECF34E8AC910463D23C@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <20200721061914.13088-1-weix.xie@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2345 bytes --]

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Tuesday, July 21, 2020 2:19 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/cvl_advanced_iavf_rss:change load ice package mode

use conf/xxx.cfg mode load ice package.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 conf/cvl_advanced_iavf_rss_package.cfg   | 4 ++++
 tests/TestSuite_cvl_advanced_iavf_rss.py | 8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)  create mode 100644 conf/cvl_advanced_iavf_rss_package.cfg

diff --git a/conf/cvl_advanced_iavf_rss_package.cfg b/conf/cvl_advanced_iavf_rss_package.cfg
new file mode 100644
index 0000000..228d481
--- /dev/null
+++ b/conf/cvl_advanced_iavf_rss_package.cfg
@@ -0,0 +1,4 @@
+[suite]
+# cvl_advanced_iavf_rss ice package file location 
+os_default_package_file_location=/lib/firmware/updates/intel/ice/ddp/ic
+e-1.3.13.0.pkg 
+comms_package_file_location=/lib/firmware/updates/intel/ice/ddp/ice_com
+ms-1.3.16.0.pkg
diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index eaf55fa..349cb40 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -4,6 +4,7 @@ import time
 from packet import Packet
 from pmd_output import PmdOutput
 from test_case import TestCase
+from config import UserConf
 import rte_flow_common as rfc
 
 vf0_mac = "00:01:23:45:67:89"
@@ -735,8 +736,11 @@ class AdvancedIavfRSSTest(TestCase):
         self.pf_pci = self.dut.ports_info[self.dut_ports[0]]['pci']
         self.verify(self.nic in ["columbiaville_25g", "columbiaville_100g"], "%s nic not support ethertype filter" % self.nic)
         self.ddp_fdir = "/lib/firmware/updates/intel/ice/ddp/"
-        self.os_pkg_name = "ice-1.3.11.0.pkg"
-        self.comms_pkg_name = "ice_comms-1.3.16.0.pkg"
+        conf_file = 'conf/cvl_advanced_iavf_rss_package.cfg'
+        conf_info = UserConf(conf_file)
+        conf_section = conf_info.conf._sections['suite']
+        self.os_pkg_name = conf_section['os_default_package_file_location']
+        self.comms_pkg_name = 
+ conf_section['comms_package_file_location']
         self.vf_flag = False
         self.create_iavf()
 
--
2.17.1


[-- Attachment #2: AdvancedIavfRSSTest.log --]
[-- Type: application/octet-stream, Size: 10383 bytes --]

21/07/2020 14:57:25                            dts: 
TEST SUITE : AdvancedIavfRSSTest
21/07/2020 14:57:25                            dts: NIC :        columbiaville_25g
21/07/2020 14:57:25             dut.10.240.183.215: 
21/07/2020 14:57:25                         tester: 
21/07/2020 14:57:29             dut.10.240.183.215: ls
21/07/2020 14:57:29             dut.10.240.183.215: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	examples  GNUmakefile  kernel  lib  license  MAINTAINERS  Makefile  meson.build  meson_options.txt  mk	README	usertools  VERSION  x86_64-native-linuxapp-gcc
21/07/2020 14:57:29             dut.10.240.183.215: usertools/dpdk-devbind.py --force --bind=ice 0000:af:00.0 0000:af:00.1 
21/07/2020 14:57:32             dut.10.240.183.215: 
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
21/07/2020 14:57:34             dut.10.240.183.215: 0x8086
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.0/device
21/07/2020 14:57:34             dut.10.240.183.215: 0x1889
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.0/vendor
21/07/2020 14:57:34             dut.10.240.183.215: 0x8086
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.0/device
21/07/2020 14:57:34             dut.10.240.183.215: 0x1889
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.1/vendor
21/07/2020 14:57:34             dut.10.240.183.215: 0x8086
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.1/device
21/07/2020 14:57:34             dut.10.240.183.215: 0x1889
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.1/vendor
21/07/2020 14:57:34             dut.10.240.183.215: 0x8086
21/07/2020 14:57:34             dut.10.240.183.215: cat /sys/bus/pci/devices/0000\:af\:01.1/device
21/07/2020 14:57:35             dut.10.240.183.215: 0x1889
21/07/2020 14:57:37             dut.10.240.183.215: ifconfig enp175s0f0 up
21/07/2020 14:57:37             dut.10.240.183.215: 
21/07/2020 14:57:37             dut.10.240.183.215: ip link set enp175s0f0 vf 0 mac 00:01:23:45:67:89
21/07/2020 14:57:38             dut.10.240.183.215: 
21/07/2020 14:57:38             dut.10.240.183.215: ip link set enp175s0f0 vf 1 mac 00:11:22:33:44:55
21/07/2020 14:57:38             dut.10.240.183.215: 
21/07/2020 14:57:38            AdvancedIavfRSSTest: Test Case test_use_os_default_package Begin
21/07/2020 14:57:38             dut.10.240.183.215: 
21/07/2020 14:57:38                         tester: 
21/07/2020 14:57:38             dut.10.240.183.215: kill_all: called by dut and has no prefix list.
21/07/2020 14:57:45             dut.10.240.183.215: ls
21/07/2020 14:57:45             dut.10.240.183.215: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	examples  GNUmakefile  kernel  lib  license  MAINTAINERS  Makefile  meson.build  meson_options.txt  mk	README	usertools  VERSION  x86_64-native-linuxapp-gcc
21/07/2020 14:57:45             dut.10.240.183.215: usertools/dpdk-devbind.py --force --bind=ice 0000:af:00.0 0000:af:00.1 
21/07/2020 14:57:46             dut.10.240.183.215: Notice: 0000:af:00.0 already bound to driver ice, skipping
Notice: 0000:af:00.1 already bound to driver ice, skipping
21/07/2020 14:57:50             dut.10.240.183.215: ifconfig enp175s0f0 up
21/07/2020 14:57:51             dut.10.240.183.215: 
21/07/2020 14:57:51             dut.10.240.183.215: ip link set enp175s0f0 vf 0 mac 00:01:23:45:67:89
21/07/2020 14:57:51             dut.10.240.183.215: 
21/07/2020 14:57:51             dut.10.240.183.215: ip link set enp175s0f0 vf 1 mac 00:11:22:33:44:55
21/07/2020 14:57:51             dut.10.240.183.215: 
21/07/2020 14:57:51             dut.10.240.183.215: x86_64-native-linuxapp-gcc/app/testpmd  -l 1,2,3,4,5,6,7,8 -n 4 -w 0000:af:01.0  --file-prefix=dpdk_20263_20200721145659    -- -i  --rxq=16 --txq=16 --port-topology=loop 
21/07/2020 14:57:52             dut.10.240.183.215: EAL: Detected 96 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_20263_20200721145659/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
iavf_read_msg_from_pf(): command mismatch, expect 44, get 17
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=203456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 1)
iavf_configure_queues(): request RXDID == 22 in Queue[0]
iavf_configure_queues(): request RXDID == 22 in Queue[1]
iavf_configure_queues(): request RXDID == 22 in Queue[2]
iavf_configure_queues(): request RXDID == 22 in Queue[3]
iavf_configure_queues(): request RXDID == 22 in Queue[4]
iavf_configure_queues(): request RXDID == 22 in Queue[5]
iavf_configure_queues(): request RXDID == 22 in Queue[6]
iavf_configure_queues(): request RXDID == 22 in Queue[7]
iavf_configure_queues(): request RXDID == 22 in Queue[8]
iavf_configure_queues(): request RXDID == 22 in Queue[9]
iavf_configure_queues(): request RXDID == 22 in Queue[10]
iavf_configure_queues(): request RXDID == 22 in Queue[11]
iavf_configure_queues(): request RXDID == 22 in Queue[12]
iavf_configure_queues(): request RXDID == 22 in Queue[13]
iavf_configure_queues(): request RXDID == 22 in Queue[14]
iavf_configure_queues(): request RXDID == 22 in Queue[15]

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event

Port 0: link state change event
Port 0: 00:01:23:45:67:89
Checking link statuses...
Done
21/07/2020 14:58:02             dut.10.240.183.215: set fwd rxonly
21/07/2020 14:58:02             dut.10.240.183.215: set fwd rxonly
Set rxonly packet forwarding mode
21/07/2020 14:58:02             dut.10.240.183.215: set verbose 1
21/07/2020 14:58:03             dut.10.240.183.215: set verbose 1
Change verbose level from 0 to 1
21/07/2020 14:58:03             dut.10.240.183.215: flow create 0 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
21/07/2020 14:58:03             dut.10.240.183.215: flow create 0 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
iavf_execute_vf_cmd(): No response or return failure (-5) for cmd 45
iavf_add_del_rss_cfg(): Failed to execute command of OP_ADD_RSS_CFG
iavf_hash_create(): fail to add RSS configure
iavf_flow_create(): Failed to create flow
port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): Failed to create parser engine.: Invalid argument
21/07/2020 14:58:03             dut.10.240.183.215: flow create 0 ingress pattern eth / ipv6 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
21/07/2020 14:58:03             dut.10.240.183.215: flow create 0 ingress pattern eth / ipv6 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end 
iavf_execute_vf_cmd(): No response or return failure (-5) for cmd 45
iavf_add_del_rss_cfg(): Failed to execute command of OP_ADD_RSS_CFG
iavf_hash_create(): fail to add RSS configure
iavf_flow_create(): Failed to create flow
port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): Failed to create parser engine.: Invalid argument
21/07/2020 14:58:03             dut.10.240.183.215: quit
21/07/2020 14:58:04             dut.10.240.183.215: quit

Stopping port 0...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Done

Bye...
21/07/2020 14:58:11             dut.10.240.183.215: ls
21/07/2020 14:58:11             dut.10.240.183.215: ABI_VERSION  app  buildtools  config  devtools	doc  dpdk.log  drivers	examples  GNUmakefile  kernel  lib  license  MAINTAINERS  Makefile  meson.build  meson_options.txt  mk	README	usertools  VERSION  x86_64-native-linuxapp-gcc
21/07/2020 14:58:11             dut.10.240.183.215: usertools/dpdk-devbind.py --force --bind=ice 0000:af:00.0 0000:af:00.1 
21/07/2020 14:58:11             dut.10.240.183.215: Notice: 0000:af:00.0 already bound to driver ice, skipping
Notice: 0000:af:00.1 already bound to driver ice, skipping
21/07/2020 14:58:16             dut.10.240.183.215: ifconfig enp175s0f0 up
21/07/2020 14:58:16             dut.10.240.183.215: 
21/07/2020 14:58:16             dut.10.240.183.215: ip link set enp175s0f0 vf 0 mac 00:01:23:45:67:89
21/07/2020 14:58:16             dut.10.240.183.215: 
21/07/2020 14:58:16             dut.10.240.183.215: ip link set enp175s0f0 vf 1 mac 00:11:22:33:44:55
21/07/2020 14:58:16             dut.10.240.183.215: 
21/07/2020 14:58:16            AdvancedIavfRSSTest: Test Case test_use_os_default_package Result PASSED:
21/07/2020 14:58:16             dut.10.240.183.215: kill_all: called by dut and prefix list has value.
21/07/2020 14:58:17                            dts: 
TEST SUITE ENDED: AdvancedIavfRSSTest

  reply	other threads:[~2020-07-21  6:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21  6:19 Xie wei
2020-07-21  6:19 ` Xie, WeiX [this message]
2020-07-24  2:40 ` Tu, Lijuan

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=6FD6A7610D20924F885A4ECF34E8AC910463D23C@CDSMSX102.ccr.corp.intel.com \
    --to=weix.xie@intel.com \
    --cc=dts@dpdk.org \
    /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).