* [dts] [PATCH V1 0/5] tests: update scripts to meet CVL
@ 2020-06-11 6:59 Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: " Haiyang Zhao
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.CVL supports following suites, update the scripts.
Haiyang Zhao (5):
tests/runtime_vf_queue_number_kernel: update scripts to meet CVL
*.add CVL support.
tests/vf_rss: update scripts to meet CVL *.add CVL support.
tests/vf_jumboframe: update scripts to meet CVL *.update scripts
to meet CVL.
tests/vf_vlan: update scripts to meet CVL *.update scripts to meet
CVL.
tests/veb_switch: update scripts to meet CVL *.update scripts to
meet CVL.
tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 ++++--
tests/TestSuite_veb_switch.py | 5 ++++-
tests/TestSuite_vf_jumboframe.py | 2 +-
tests/TestSuite_vf_rss.py | 7 ++++---
tests/TestSuite_vf_vlan.py | 20 ++++++++++++++------
5 files changed, 27 insertions(+), 13 deletions(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
@ 2020-06-11 6:59 ` Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 2/5] tests/vf_rss: " Haiyang Zhao
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.add CVL support.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py
index b7fd2ba..05db5a0 100644
--- a/tests/TestSuite_runtime_vf_queue_number_kernel.py
+++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py
@@ -51,8 +51,10 @@ class TestRuntimeVfQueueNumberKernel(TestCase):
max_queue = 16
def set_up_all(self):
- self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_25g", "fortville_spirit_single", "fortpark_BASE-T", "fortpark_TLV", "carlsville"],
- "Only supported by Fortville")
+ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", "fortville_25g", "fortville_spirit_single",
+ "fortpark_BASE-T", "fortpark_TLV", "carlsville", 'columbiaville_100g',
+ 'columbiaville_25g'],
+ "Only supported by Fortville and columbiaville")
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) > 1, "Insufficient ports")
self.vm0 = None
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts] [PATCH V1 2/5] tests/vf_rss: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: " Haiyang Zhao
@ 2020-06-11 6:59 ` Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 3/5] tests/vf_jumboframe: " Haiyang Zhao
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.add CVL support.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
| 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py
index 0bde402..35d4ea2 100644
--- a/tests/TestSuite_vf_rss.py
+++ b/tests/TestSuite_vf_rss.py
@@ -207,7 +207,7 @@ class TestVfRss(TestCase):
if self.kdriver == "fm10k":
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 128
- elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']:
+ elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']:
# compute the hash result of five tuple into the 7 LSBs value.
hash_index = int(tmp_reta_line["RSS hash"], 16) % 64
else:
@@ -234,7 +234,8 @@ class TestVfRss(TestCase):
self.verify(
self.nic in ["redrockcanyou", "atwood", "boulderrapid", "fortville_eagle", "fortville_spirit",
- "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV","fortpark_BASE-T", "carlsville"],
+ "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV",
+ "fortpark_BASE-T", "carlsville", "columbiaville_25g", "columbiaville_100g"],
"NIC Unsupported: " + str(self.nic))
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 1, "Not enough ports available")
@@ -363,7 +364,7 @@ class TestVfRss(TestCase):
self.vm_dut_0.send_expect(
"port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ")
self.vm_dut_0.send_expect("port config all rss %s" % rss_type, "testpmd> ")
- elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']:
+ elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']:
if self.nic in ['sageville', 'sagepond'] and rss_type == 'sctp':
self.logger.info('sageville and sagepond do not support rsstype sctp')
continue
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts] [PATCH V1 3/5] tests/vf_jumboframe: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: " Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 2/5] tests/vf_rss: " Haiyang Zhao
@ 2020-06-11 6:59 ` Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 4/5] tests/vf_vlan: " Haiyang Zhao
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.update scripts to meet CVL.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
tests/TestSuite_vf_jumboframe.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vf_jumboframe.py b/tests/TestSuite_vf_jumboframe.py
index 519e7aa..fcdf1b1 100644
--- a/tests/TestSuite_vf_jumboframe.py
+++ b/tests/TestSuite_vf_jumboframe.py
@@ -190,7 +190,7 @@ class TestVfJumboFrame(TestCase):
if received:
self.verify((rx_pkts == 1) and (tx_pkts == 1), "Packet forward assert error")
- if self.kdriver == "ixgbe":
+ if self.kdriver == "ixgbe" or self.kdriver == 'ice':
self.verify((rx_bytes + 4) == pktsize, "Rx packet size should be packet size - 4")
else:
self.verify(rx_bytes == pktsize, "Rx packet size should be equal to packet size")
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts] [PATCH V1 4/5] tests/vf_vlan: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
` (2 preceding siblings ...)
2020-06-11 6:59 ` [dts] [PATCH V1 3/5] tests/vf_jumboframe: " Haiyang Zhao
@ 2020-06-11 6:59 ` Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 5/5] tests/veb_switch: " Haiyang Zhao
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.update scripts to meet CVL.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
tests/TestSuite_vf_vlan.py | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py
index 7f46aa6..7aec89c 100644
--- a/tests/TestSuite_vf_vlan.py
+++ b/tests/TestSuite_vf_vlan.py
@@ -36,7 +36,6 @@ class TestVfVlan(TestCase):
self.vf_assign_method = 'vfio-pci'
self.dut.send_expect('modprobe vfio-pci', '#')
-
def set_up(self):
self.setup_vm_env()
@@ -84,6 +83,8 @@ class TestVfVlan(TestCase):
self.used_dut_port_0, 1, driver=driver)
self.sriov_vfs_port_0 = self.dut.ports_info[
self.used_dut_port_0]['vfs_port']
+ if self.kdriver == 'ice':
+ self.dut.send_expect("ip link set %s vf 0 spoofchk off" %(self.host_intf0), "# ")
self.vf0_mac = "00:10:00:00:00:00"
self.dut.send_expect("ip link set %s vf 0 mac %s" %
(self.host_intf0, self.vf0_mac), "# ")
@@ -231,12 +232,19 @@ class TestVfVlan(TestCase):
"received" not in out, "Received pacekt with wrong vlan!!!")
# remove vlan
- self.dut.send_expect(
- "ip link set %s vf 0 vlan 0" % self.host_intf0, "# ")
+ self.vm0_testpmd.execute_cmd("stop")
+ self.vm0_testpmd.execute_cmd("port stop all")
+ self.dut.send_expect("ip link set %s vf 0 vlan 0" % self.host_intf0, "# ")
+ out = self.dut.send_expect("ip link show %s" % self.host_intf0, "# ")
+ self.verify("vlan %d" % random_vlan not in out, "Failed to remove pvid on VF0")
# send packet with vlan
+ self.vm0_testpmd.execute_cmd("port reset 0")
+ self.vm0_testpmd.execute_cmd("port start all")
+ self.vm0_testpmd.execute_cmd("start")
+
out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
- if self.kdriver == "i40e":
+ if self.kdriver == "i40e" or self.kdriver == 'ice':
self.verify("received" in out, "Failed to received vlan packet!!!")
else:
self.verify(
@@ -288,7 +296,7 @@ class TestVfVlan(TestCase):
# for fortville ,
# if you want insert tx_vlan,
# please enable rx_vlan at the same time
- if self.kdriver == "i40e":
+ if self.kdriver == "i40e" or self.kdriver == 'ice':
self.vm0_testpmd.execute_cmd('vlan set filter on 0')
self.vm0_testpmd.execute_cmd('rx_vlan add %d 0' % tx_vlan)
self.vm0_testpmd.execute_cmd('stop')
@@ -358,7 +366,7 @@ class TestVfVlan(TestCase):
# send packet with vlan
out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP")
- if self.kdriver == "i40e":
+ if self.kdriver == "i40e" or self.kdriver == 'ice':
self.verify(
"received 1 packets" in out, "Received mismatched vlan packet while vlan filter on")
else:
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [dts] [PATCH V1 5/5] tests/veb_switch: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
` (3 preceding siblings ...)
2020-06-11 6:59 ` [dts] [PATCH V1 4/5] tests/vf_vlan: " Haiyang Zhao
@ 2020-06-11 6:59 ` Haiyang Zhao
2020-06-11 7:17 ` [dts] [PATCH V1 0/5] tests: " Zhao, HaiyangX
2020-06-19 4:50 ` Tu, Lijuan
6 siblings, 0 replies; 8+ messages in thread
From: Haiyang Zhao @ 2020-06-11 6:59 UTC (permalink / raw)
To: dts; +Cc: Haiyang Zhao
*.update scripts to meet CVL.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
tests/TestSuite_veb_switch.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py
index 0753646..b6b4034 100644
--- a/tests/TestSuite_veb_switch.py
+++ b/tests/TestSuite_veb_switch.py
@@ -157,7 +157,8 @@ class TestVEBSwitching(TestCase):
Prerequisite steps for each test suite.
"""
self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
- "fortville_spirit_single", "fortville_25g", "carlsville"],
+ "fortville_spirit_single", "fortville_25g", "carlsville",
+ 'columbiaville_100g', 'columbiaville_25g'],
"NIC Unsupported: " + str(self.nic))
self.dut_ports = self.dut.get_ports(self.nic)
self.verify(len(self.dut_ports) >= 1, "Insufficient ports")
@@ -279,6 +280,8 @@ class TestVEBSwitching(TestCase):
vf0_tx_stats = self.veb_get_pmd_stats("first", 0, "tx")
vf1_rx_stats = self.veb_get_pmd_stats("second", 0, "rx")
+ if self.kdriver == 'ice':
+ vf1_rx_stats[-1] = vf1_rx_stats[-1] + 4
self.verify(vf0_tx_stats[0] != 0, "no packet was sent by VF0")
self.verify(vf0_tx_stats == vf1_rx_stats, "VF1 failed to receive packets from VF0")
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [dts] [PATCH V1 0/5] tests: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
` (4 preceding siblings ...)
2020-06-11 6:59 ` [dts] [PATCH V1 5/5] tests/veb_switch: " Haiyang Zhao
@ 2020-06-11 7:17 ` Zhao, HaiyangX
2020-06-19 4:50 ` Tu, Lijuan
6 siblings, 0 replies; 8+ messages in thread
From: Zhao, HaiyangX @ 2020-06-11 7:17 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
Tested-by: Zhao, HaiyangX <haiyangx.zhao@intel.com>
Best Regards,
Zhao haiyang
> -----Original Message-----
> From: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Sent: Thursday, June 11, 2020 15:00
> To: dts@dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Subject: [dts][PATCH V1 0/5] tests: update scripts to meet CVL
>
> *.CVL supports following suites, update the scripts.
>
> Haiyang Zhao (5):
> tests/runtime_vf_queue_number_kernel: update scripts to meet CVL
> *.add CVL support.
> tests/vf_rss: update scripts to meet CVL *.add CVL support.
> tests/vf_jumboframe: update scripts to meet CVL *.update scripts
> to meet CVL.
> tests/vf_vlan: update scripts to meet CVL *.update scripts to meet
> CVL.
> tests/veb_switch: update scripts to meet CVL *.update scripts to
> meet CVL.
>
> tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 ++++--
> tests/TestSuite_veb_switch.py | 5 ++++-
> tests/TestSuite_vf_jumboframe.py | 2 +-
> tests/TestSuite_vf_rss.py | 7 ++++---
> tests/TestSuite_vf_vlan.py | 20 ++++++++++++++------
> 5 files changed, 27 insertions(+), 13 deletions(-)
>
> --
> 1.8.3.1
[-- Attachment #2: TestVfVlan.log --]
[-- Type: application/octet-stream, Size: 157420 bytes --]
[-- Attachment #3: TestVfRss.log --]
[-- Type: application/octet-stream, Size: 1267312 bytes --]
[-- Attachment #4: TestVfJumboFrame.log --]
[-- Type: application/octet-stream, Size: 95891 bytes --]
[-- Attachment #5: TestVEBSwitching.log --]
[-- Type: application/octet-stream, Size: 30077 bytes --]
09/06/2020 17:47:37 dts:
TEST SUITE : TestVEBSwitching
09/06/2020 17:47:37 dts: NIC : columbiaville_25g
09/06/2020 17:47:37 dut.10.240.183.67:
09/06/2020 17:47:37 tester:
09/06/2020 17:47:40 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs Begin
09/06/2020 17:47:40 dut.10.240.183.67:
09/06/2020 17:47:41 tester:
09/06/2020 17:47:41 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:47:52 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
09/06/2020 17:47:52 dut.10.240.183.67: 0x8086
09/06/2020 17:47:52 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
09/06/2020 17:47:52 dut.10.240.183.67: 0x1889
09/06/2020 17:47:52 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/vendor
09/06/2020 17:47:52 dut.10.240.183.67: 0x8086
09/06/2020 17:47:52 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.0/device
09/06/2020 17:47:52 dut.10.240.183.67: 0x1889
09/06/2020 17:47:53 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.1/vendor
09/06/2020 17:47:53 dut.10.240.183.67: 0x8086
09/06/2020 17:47:53 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.1/device
09/06/2020 17:47:53 dut.10.240.183.67: 0x1889
09/06/2020 17:47:53 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.1/vendor
09/06/2020 17:47:53 dut.10.240.183.67: 0x8086
09/06/2020 17:47:53 dut.10.240.183.67: cat /sys/bus/pci/devices/0000\:18\:01.1/device
09/06/2020 17:47:53 dut.10.240.183.67: 0x1889
09/06/2020 17:47:53 dut.10.240.183.67: ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:11
09/06/2020 17:47:53 dut.10.240.183.67:
09/06/2020 17:47:53 dut.10.240.183.67: ip link set enp24s0f0 vf 1 mac 00:11:22:33:44:12
09/06/2020 17:47:53 dut.10.240.183.67:
09/06/2020 17:47:56 dut.10.240.183.67: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w 0000:18:01.0 --file-prefix=test1 -- -i --eth-peer=0,00:11:22:33:44:12
09/06/2020 17:47:58 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1/mp_socket
EAL: Selected IOVA mode 'VA'
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:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID == 1 in Queue[0]
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:11
Checking link statuses...
Done
09/06/2020 17:47:58 dut.10.240.183.67: set fwd txonly
09/06/2020 17:47:58 dut.10.240.183.67: set fwd txonly
Set txonly packet forwarding mode
09/06/2020 17:47:58 dut.10.240.183.67: set promisc all off
09/06/2020 17:47:58 dut.10.240.183.67: set promisc all off
09/06/2020 17:47:59 dut.10.240.183.67: start
09/06/2020 17:47:59 dut.10.240.183.67: start
txonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=00:11:22:33:44:12
txonly packet forwarding packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=32
09/06/2020 17:48:01 dut.10.240.183.67: stop
09/06/2020 17:48:02 dut.10.240.183.67: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 56868000 TX-dropped: 0 TX-total: 56868000
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 56868000 TX-dropped: 0 TX-total: 56868000
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
09/06/2020 17:48:02 dut.10.240.183.67: show port stats 0
09/06/2020 17:48:02 dut.10.240.183.67: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 56868000 TX-errors: 0 TX-bytes: 3639552000
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
09/06/2020 17:48:02 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs Result PASSED:
09/06/2020 17:48:06 dut.10.240.183.67: quit
09/06/2020 17:48:08 dut.10.240.183.67: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
Done
Bye...
09/06/2020 17:48:13 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:48:15 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_and_pf Begin
09/06/2020 17:48:16 dut.10.240.183.67:
09/06/2020 17:48:16 tester:
09/06/2020 17:48:16 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:48:16 TestVEBSwitching: drivername: vfio-pci
09/06/2020 17:48:23 dut.10.240.183.67: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w 0000:18:00.0 --file-prefix=test1 -- -i
09/06/2020 17:48:25 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Probe PCI driver: net_ice (8086:1593) device: 0000:18:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.16.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 00:00:00:00:01:00
Checking link statuses...
Done
09/06/2020 17:48:25 dut.10.240.183.67: set fwd rxonly
09/06/2020 17:48:25 dut.10.240.183.67: set fwd rxonly
Set rxonly packet forwarding mode
09/06/2020 17:48:25 dut.10.240.183.67: set verbose 1
09/06/2020 17:48:25 dut.10.240.183.67: set verbose 1
Change verbose level from 0 to 1
09/06/2020 17:48:25 dut.10.240.183.67: set promisc all off
09/06/2020 17:48:25 dut.10.240.183.67: set promisc all off
09/06/2020 17:48:25 dut.10.240.183.67: start
09/06/2020 17:48:25 dut.10.240.183.67: start
rxonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
rxonly packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x10000
RX queue: 0
RX desc=1024 - RX free threshold=32
RX threshold registers: pthresh=8 hthresh=8 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=1024 - TX free threshold=32
TX threshold registers: pthresh=32 hthresh=0 wthresh=0
TX offloads=0x10000 - TX RS bit threshold=32
09/06/2020 17:48:33 dut.10.240.183.67:
09/06/2020 17:48:33 dut.10.240.183.67: stop
09/06/2020 17:48:33 dut.10.240.183.67: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 0 RX-dropped: 0 RX-total: 0
TX-packets: 0 TX-dropped: 0 TX-total: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
09/06/2020 17:48:33 dut.10.240.183.67: show port stats 0
09/06/2020 17:48:33 dut.10.240.183.67: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-missed: 0 RX-bytes: 0
RX-errors: 0
RX-nombuf: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
09/06/2020 17:48:33 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_and_pf Result ERROR: Traceback (most recent call last):
File "/home/zhaohy/dts/framework/test_case.py", line 316, in _execute_test_case
case_obj()
File "tests/TestSuite_veb_switch.py", line 377, in test_VEB_switching_inter_vfs_and_pf
self.verify(vf0_tx_stats[0] > 1000, "no packet was sent by VF0")
TypeError: '>' not supported between instances of 'NoneType' and 'int'
09/06/2020 17:48:39 dut.10.240.183.67: quit
09/06/2020 17:48:41 dut.10.240.183.67: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
Done
Bye...
09/06/2020 17:48:46 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:48:48 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_mac_fwd Begin
09/06/2020 17:48:48 dut.10.240.183.67:
09/06/2020 17:48:48 tester:
09/06/2020 17:48:48 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:49:02 dut.10.240.183.67: ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:11
09/06/2020 17:49:02 dut.10.240.183.67:
09/06/2020 17:49:02 dut.10.240.183.67: ip link set enp24s0f0 vf 1 mac 00:11:22:33:44:12
09/06/2020 17:49:02 dut.10.240.183.67:
09/06/2020 17:49:05 dut.10.240.183.67: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w 0000:18:01.0 --file-prefix=test1 -- -i --eth-peer=0,00:11:22:33:44:12
09/06/2020 17:49:06 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1/mp_socket
EAL: Selected IOVA mode 'VA'
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:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID == 1 in Queue[0]
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:11
Checking link statuses...
Done
09/06/2020 17:49:06 dut.10.240.183.67: set fwd mac
09/06/2020 17:49:06 dut.10.240.183.67: set fwd mac
Set mac packet forwarding mode
09/06/2020 17:49:06 dut.10.240.183.67: set promisc all off
09/06/2020 17:49:06 dut.10.240.183.67: set promisc all off
09/06/2020 17:49:06 dut.10.240.183.67: start
09/06/2020 17:49:07 dut.10.240.183.67: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=00:11:22:33:44:12
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=32
09/06/2020 17:49:12 dut.10.240.183.67: start
09/06/2020 17:49:12 dut.10.240.183.67: start
Packet forwarding already started
09/06/2020 17:49:12 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.pcap1591696152.7505882 root@10.240.183.68:/tmp/tester/
09/06/2020 17:49:14 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.cmd1591696152.7505882 root@10.240.183.68:/tmp/tester/
09/06/2020 17:49:16 tester: python3 /tmp/tester/scapy_enp26s0f0.cmd1591696152.7505882
09/06/2020 17:49:17 tester: packet ready for sending...
Ether(dst='00:11:22:33:44:11', src='00:00:20:00:00:00', type=2048)/IP(version=4, ihl=5, tos=0, len=46, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=31932, src='127.0.0.1', dst='127.0.0.1')/UDP(sport=53, dport=53, len=26, chksum=58930)/DNS(length=None, id=22616, qr=0, opcode=11, aa=0, tc=0, rd=0, ra=0, z=1, ad=0, cd=1, rcode=8, qdcount=22616, ancount=22616, nscount=22616, arcount=22616, qd=b'', an=b'', ns=b'', ar=b'')/Raw(load=b'XXXXXX')
09/06/2020 17:49:18 dut.10.240.183.67: stop
09/06/2020 17:49:18 dut.10.240.183.67: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
09/06/2020 17:49:18 dut.10.240.183.67: show port stats 0
09/06/2020 17:49:18 dut.10.240.183.67: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1 RX-missed: 0 RX-bytes: 60
RX-errors: 0
RX-nombuf: 0
TX-packets: 1 TX-errors: 0 TX-bytes: 60
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
09/06/2020 17:49:18 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_mac_fwd Result FAILED: 'VF1 failed to receive packets from VF0'
09/06/2020 17:49:22 dut.10.240.183.67: quit
09/06/2020 17:49:25 dut.10.240.183.67: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
Done
Bye...
09/06/2020 17:49:30 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:49:32 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_vlan Begin
09/06/2020 17:49:32 dut.10.240.183.67:
09/06/2020 17:49:32 tester:
09/06/2020 17:49:32 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:49:46 dut.10.240.183.67: ip link set enp24s0f0 vf 0 mac 00:11:22:33:44:11
09/06/2020 17:49:47 dut.10.240.183.67:
09/06/2020 17:49:47 dut.10.240.183.67: ip link set enp24s0f0 vf 1 mac 00:11:22:33:44:12
09/06/2020 17:49:47 dut.10.240.183.67:
09/06/2020 17:49:49 dut.10.240.183.67: ip link set enp24s0f0 vf 0 vlan 1
09/06/2020 17:49:50 dut.10.240.183.67:
09/06/2020 17:49:50 dut.10.240.183.67: ip link set enp24s0f0 vf 1 vlan 2
09/06/2020 17:49:50 dut.10.240.183.67:
09/06/2020 17:49:50 dut.10.240.183.67: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w 0000:18:01.0 --file-prefix=test1 -- -i --eth-peer=0,00:11:22:33:44:12
09/06/2020 17:49:51 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1/mp_socket
EAL: Selected IOVA mode 'VA'
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:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID == 1 in Queue[0]
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:11
Checking link statuses...
Done
09/06/2020 17:49:51 dut.10.240.183.67: set fwd mac
09/06/2020 17:49:51 dut.10.240.183.67: set fwd mac
Set mac packet forwarding mode
09/06/2020 17:49:51 dut.10.240.183.67: set promisc all off
09/06/2020 17:49:51 dut.10.240.183.67: set promisc all off
09/06/2020 17:49:51 dut.10.240.183.67: start
09/06/2020 17:49:51 dut.10.240.183.67: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=00:11:22:33:44:12
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=32
09/06/2020 17:49:57 dut.10.240.183.67: start
09/06/2020 17:49:57 dut.10.240.183.67: start
Packet forwarding already started
09/06/2020 17:49:57 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.pcap1591696197.4416695 root@10.240.183.68:/tmp/tester/
09/06/2020 17:49:59 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.cmd1591696197.4416695 root@10.240.183.68:/tmp/tester/
09/06/2020 17:50:01 tester: python3 /tmp/tester/scapy_enp26s0f0.cmd1591696197.4416695
09/06/2020 17:50:02 tester: packet ready for sending...
Ether(dst='00:11:22:33:44:11', src='00:00:20:00:00:00', type=33024)/Dot1Q(prio=0, id=0, vlan=1, type=2048)/IP(version=4, ihl=5, tos=0, len=42, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=31936, src='127.0.0.1', dst='127.0.0.1')/UDP(sport=53, dport=53, len=22, chksum=38635)/DNS(length=None, id=22616, qr=0, opcode=11, aa=0, tc=0, rd=0, ra=0, z=1, ad=0, cd=1, rcode=8, qdcount=22616, ancount=22616, nscount=22616, arcount=22616, qd=b'', an=b'', ns=b'', ar=b'')/Raw(load=b'XX')
09/06/2020 17:50:02 dut.10.240.183.67: stop
09/06/2020 17:50:02 dut.10.240.183.67: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
09/06/2020 17:50:03 dut.10.240.183.67: show port stats 0
09/06/2020 17:50:03 dut.10.240.183.67: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1 RX-missed: 0 RX-bytes: 60
RX-errors: 0
RX-nombuf: 0
TX-packets: 1 TX-errors: 0 TX-bytes: 64
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
09/06/2020 17:50:03 dut.10.240.183.67: quit
09/06/2020 17:50:05 dut.10.240.183.67: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
Done
Bye...
09/06/2020 17:50:11 dut.10.240.183.67: ip link set enp24s0f0 vf 1 vlan 1
09/06/2020 17:50:12 dut.10.240.183.67:
09/06/2020 17:50:12 dut.10.240.183.67: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w 0000:18:01.0 --file-prefix=test1 -- -i --eth-peer=0,00:11:22:33:44:12
09/06/2020 17:50:13 dut.10.240.183.67: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1/mp_socket
EAL: Selected IOVA mode 'VA'
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:18:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID == 1 in Queue[0]
Port 0: link state change event
Port 0: link state change event
Port 0: 00:11:22:33:44:11
Checking link statuses...
Done
09/06/2020 17:50:13 dut.10.240.183.67: set fwd mac
09/06/2020 17:50:13 dut.10.240.183.67: set fwd mac
Set mac packet forwarding mode
09/06/2020 17:50:13 dut.10.240.183.67: set promisc all off
09/06/2020 17:50:13 dut.10.240.183.67: set promisc all off
09/06/2020 17:50:13 dut.10.240.183.67: start
09/06/2020 17:50:13 dut.10.240.183.67: start
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=00:11:22:33:44:12
mac packet forwarding packets/burst=32
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=512 - RX free threshold=32
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=32
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=32
09/06/2020 17:50:19 dut.10.240.183.67: start
09/06/2020 17:50:19 dut.10.240.183.67: start
Packet forwarding already started
09/06/2020 17:50:19 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.pcap1591696219.4062433 root@10.240.183.68:/tmp/tester/
09/06/2020 17:50:21 tester: scp -v /home/zhaohy/dts/output/tmp/pcap/scapy_enp26s0f0.cmd1591696219.4062433 root@10.240.183.68:/tmp/tester/
09/06/2020 17:50:23 tester: python3 /tmp/tester/scapy_enp26s0f0.cmd1591696219.4062433
09/06/2020 17:50:24 tester: packet ready for sending...
Ether(dst='00:11:22:33:44:11', src='00:00:20:00:00:00', type=33024)/Dot1Q(prio=0, id=0, vlan=1, type=2048)/IP(version=4, ihl=5, tos=0, len=42, id=1, flags=0, frag=0, ttl=64, proto=17, chksum=31936, src='127.0.0.1', dst='127.0.0.1')/UDP(sport=53, dport=53, len=22, chksum=38635)/DNS(length=None, id=22616, qr=0, opcode=11, aa=0, tc=0, rd=0, ra=0, z=1, ad=0, cd=1, rcode=8, qdcount=22616, ancount=22616, nscount=22616, arcount=22616, qd=b'', an=b'', ns=b'', ar=b'')/Raw(load=b'XX')
09/06/2020 17:50:24 dut.10.240.183.67: stop
09/06/2020 17:50:24 dut.10.240.183.67: stop
Telling cores to stop...
Waiting for lcores to finish...
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 1 RX-dropped: 0 RX-total: 1
TX-packets: 1 TX-dropped: 0 TX-total: 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
09/06/2020 17:50:24 dut.10.240.183.67: show port stats 0
09/06/2020 17:50:25 dut.10.240.183.67: show port stats 0
######################## NIC statistics for port 0 ########################
RX-packets: 1 RX-missed: 0 RX-bytes: 60
RX-errors: 0
RX-nombuf: 0
TX-packets: 1 TX-errors: 0 TX-bytes: 64
Throughput (since last show)
Rx-pps: 0 Rx-bps: 0
Tx-pps: 0 Tx-bps: 0
############################################################################
09/06/2020 17:50:25 TestVEBSwitching: Test Case test_VEB_switching_inter_vfs_vlan Result PASSED:
09/06/2020 17:50:29 dut.10.240.183.67: quit
09/06/2020 17:50:31 dut.10.240.183.67: quit
Stopping port 0...
Stopping ports...
Done
Shutting down port 0...
Closing ports...
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
iavf_execute_vf_cmd(): fail to send cmd 46
Done
Bye...
09/06/2020 17:50:36 dut.10.240.183.67: kill_all: called by dut and has no prefix list.
09/06/2020 17:50:38 dts:
TEST SUITE ENDED: TestVEBSwitching
[-- Attachment #6: TestRuntimeVfQueueNumberKernel.log --]
[-- Type: application/octet-stream, Size: 725603 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [dts] [PATCH V1 0/5] tests: update scripts to meet CVL
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
` (5 preceding siblings ...)
2020-06-11 7:17 ` [dts] [PATCH V1 0/5] tests: " Zhao, HaiyangX
@ 2020-06-19 4:50 ` Tu, Lijuan
6 siblings, 0 replies; 8+ messages in thread
From: Tu, Lijuan @ 2020-06-19 4:50 UTC (permalink / raw)
To: Zhao, HaiyangX, dts; +Cc: Zhao, HaiyangX
Applied the series, thanks
-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Haiyang Zhao
Sent: 2020年6月11日 15:00
To: dts@dpdk.org
Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 0/5] tests: update scripts to meet CVL
*.CVL supports following suites, update the scripts.
Haiyang Zhao (5):
tests/runtime_vf_queue_number_kernel: update scripts to meet CVL
*.add CVL support.
tests/vf_rss: update scripts to meet CVL *.add CVL support.
tests/vf_jumboframe: update scripts to meet CVL *.update scripts
to meet CVL.
tests/vf_vlan: update scripts to meet CVL *.update scripts to meet
CVL.
tests/veb_switch: update scripts to meet CVL *.update scripts to
meet CVL.
tests/TestSuite_runtime_vf_queue_number_kernel.py | 6 ++++--
tests/TestSuite_veb_switch.py | 5 ++++-
tests/TestSuite_vf_jumboframe.py | 2 +-
tests/TestSuite_vf_rss.py | 7 ++++---
tests/TestSuite_vf_vlan.py | 20 ++++++++++++++------
5 files changed, 27 insertions(+), 13 deletions(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-06-19 4:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 6:59 [dts] [PATCH V1 0/5] tests: update scripts to meet CVL Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 1/5] tests/runtime_vf_queue_number_kernel: " Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 2/5] tests/vf_rss: " Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 3/5] tests/vf_jumboframe: " Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 4/5] tests/vf_vlan: " Haiyang Zhao
2020-06-11 6:59 ` [dts] [PATCH V1 5/5] tests/veb_switch: " Haiyang Zhao
2020-06-11 7:17 ` [dts] [PATCH V1 0/5] tests: " Zhao, HaiyangX
2020-06-19 4:50 ` 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).