test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case
  2020-11-18  5:44 [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case Xie wei
@ 2020-11-18  5:43 ` Xie, WeiX
  2020-11-19  8:37 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-11-18  5:43 UTC (permalink / raw)
  To: dts

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

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

Regards,
Xie Wei

> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Wednesday, November 18, 2020 1:45 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove
> related rules from negative case
> 
> According to test plan, remove related rules from negative case.

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

18/11/2020 13:26:49                            dts: 
TEST SUITE : AdvancedIavfRSSTest
18/11/2020 13:26:49                            dts: NIC :        columbiaville_100g
18/11/2020 13:26:49             dut.10.240.183.133: 
18/11/2020 13:26:49                         tester: 
18/11/2020 13:26:49             dut.10.240.183.133: ls
18/11/2020 13:26:49             dut.10.240.183.133: ABI_VERSION  app  buildtoo  config  devtoo	doc  dpdk.log  drivers	examples  kernel  lib  license	MAINTAINERS  Makefile  meson.build  meson_options.txt  README  showversion  usertoo  VERSION	x86_64-native-linuxapp-gcc
18/11/2020 13:26:49             dut.10.240.183.133: usertools/dpdk-devbind.py --force --bind=ice 0000:81:00.0 0000:81:00.1 
18/11/2020 13:26:52             dut.10.240.183.133: 
18/11/2020 13:26:54             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
18/11/2020 13:26:54             dut.10.240.183.133: 0x8086
18/11/2020 13:26:54             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
18/11/2020 13:26:54             dut.10.240.183.133: 0x1889
18/11/2020 13:26:54             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
18/11/2020 13:26:54             dut.10.240.183.133: 0x8086
18/11/2020 13:26:54             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
18/11/2020 13:26:54             dut.10.240.183.133: 0x1889
18/11/2020 13:26:55             dut.10.240.183.133: ifconfig ens801f0 up
18/11/2020 13:26:56             dut.10.240.183.133: 
18/11/2020 13:26:56             dut.10.240.183.133: ip link set ens801f0 vf 0 mac 00:11:22:33:44:55
18/11/2020 13:26:56             dut.10.240.183.133: 
18/11/2020 13:26:56             dut.10.240.183.133: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 32,33,34,35 -n 4 -w 0000:81:01.0  --file-prefix=dpdk_24633_20201118132630   -- -i --rxq=16 --txq=16
18/11/2020 13:26:57             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dpdk_24633_20201118132630/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:81:01.0 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=171456, size=2176, socket=1
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 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:11:22:33:44:55
Checking link statuses...
Done
18/11/2020 13:27:07             dut.10.240.183.133: port config all rss all
18/11/2020 13:27:07             dut.10.240.183.133: 
Port 0 modified RSS hash function based on hardware support,requested:0x7f83fffc configured:0xf8
rss_hf 0x7f83fffc
18/11/2020 13:27:07             dut.10.240.183.133: set fwd rxonly
18/11/2020 13:27:07             dut.10.240.183.133: 
Set rxonly packet forwarding mode
18/11/2020 13:27:07             dut.10.240.183.133: set verbose 1
18/11/2020 13:27:07             dut.10.240.183.133: 
Change verbose level from 0 to 1
18/11/2020 13:27:07             dut.10.240.183.133: show port info all
18/11/2020 13:27:07             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 00:11:22:33:44:55
Device name: 0000:81:01.0
Driver name: net_iavf
Firmware-version: not available
Devargs: 
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: 100 Gbps
Link duplex: full-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 64
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 16
Max possible RX queues: 256
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 16
Max possible TX queues: 256
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
18/11/2020 13:27:07            AdvancedIavfRSSTest: rssprocess.tester_ifaces: ['enp1s0', 'enp2s0']
18/11/2020 13:27:07            AdvancedIavfRSSTest: rssprocess.test_case: <TestSuite_cvl_advanced_iavf_rss.AdvancedIavfRSSTest object at 0x7f8fc6ea2400>
18/11/2020 13:27:07            AdvancedIavfRSSTest: Test Case test_negative_case Begin
18/11/2020 13:27:07             dut.10.240.183.133: 
18/11/2020 13:27:08                         tester: 
18/11/2020 13:27:08             dut.10.240.183.133: start
18/11/2020 13:27:08             dut.10.240.183.133: 
rxonly packet forwarding - ports=1 - cores=1 - streams=16 - NUMA support enabled, MP allocation mode: native
Logical Core 33 (socket 1) forwards packets on 16 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 1) -> TX P=0/Q=2 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 1) -> TX P=0/Q=3 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 1) -> TX P=0/Q=4 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 1) -> TX P=0/Q=5 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 1) -> TX P=0/Q=6 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 1) -> TX P=0/Q=7 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=8 (socket 1) -> TX P=0/Q=8 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=9 (socket 1) -> TX P=0/Q=9 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=10 (socket 1) -> TX P=0/Q=10 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=11 (socket 1) -> TX P=0/Q=11 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=12 (socket 1) -> TX P=0/Q=12 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=13 (socket 1) -> TX P=0/Q=13 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=14 (socket 1) -> TX P=0/Q=14 (socket 1) peer=02:00:00:00:00:00
  RX P=0/Q=15 (socket 1) -> TX P=0/Q=15 (socket 1) 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: 16 Tx queue number: 16
    Rx offloads=0x0 Tx offloads=0x10000
    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=0x10000 - TX RS bit threshold=32
18/11/2020 13:27:08             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / end actions rss types eth l3-src-only end key_len 0 queues end / end
18/11/2020 13:27:08             dut.10.240.183.133: 
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
18/11/2020 13:27:08             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-udp end key_len 0 queues end / end
18/11/2020 13:27:08             dut.10.240.183.133: 
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
18/11/2020 13:27:08             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-tcp end key_len 0 queues end / end
18/11/2020 13:27:08             dut.10.240.183.133: 
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
18/11/2020 13:27:08             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv6 end key_len 0 queues end / end
18/11/2020 13:27:08             dut.10.240.183.133: 
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
18/11/2020 13:27:08             dut.10.240.183.133: flow create 0 ingress pattern eth / ipv4 / end actions rss func symmetric_toeplitz types ipv4 l3-src-only end key_len 0 queues end / end
18/11/2020 13:27:08             dut.10.240.183.133: 
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
18/11/2020 13:27:08            AdvancedIavfRSSTest: Test Case test_negative_case Result PASSED:
18/11/2020 13:27:08             dut.10.240.183.133: flow flush 0
18/11/2020 13:27:09             dut.10.240.183.133: 
testpmd> 
18/11/2020 13:27:09             dut.10.240.183.133: clear port stats all
18/11/2020 13:27:10             dut.10.240.183.133: 

  NIC statistics for port 0 cleared
testpmd> 
18/11/2020 13:27:10             dut.10.240.183.133: stop
18/11/2020 13:27:10             dut.10.240.183.133: 
Telling cores to ...
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.
18/11/2020 13:27:10                            dts: 
TEST SUITE ENDED: AdvancedIavfRSSTest

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

* [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case
@ 2020-11-18  5:44 Xie wei
  2020-11-18  5:43 ` Xie, WeiX
  2020-11-19  8:37 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-11-18  5:44 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

According to test plan, remove related rules from negative case.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_advanced_iavf_rss.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py
index 7513a809..cca520b4 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss.py
@@ -5185,11 +5185,9 @@ class AdvancedIavfRSSTest(TestCase):
         negative_rules = [
             'flow create 0 ingress pattern eth / ipv4 / end actions rss types eth l3-src-only end key_len 0 queues end / end',
             'flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-udp end key_len 0 queues end / end',
-            'flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4 end key_len 0 queues end / end',
             'flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-tcp end key_len 0 queues end / end',
             'flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv6 end key_len 0 queues end / end',
             'flow create 0 ingress pattern eth / ipv4 / end actions rss func symmetric_toeplitz types ipv4 l3-src-only end key_len 0 queues end / end',
-            'flow create 0 ingress pattern eth / ipv4 / end actions rss func symmetric_toeplitz types eth end key_len 0 queues end / end',
         ]
         for i in negative_rules:
             out = self.pmd_output.execute_cmd(i, timeout=1)
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case
  2020-11-18  5:44 [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case Xie wei
  2020-11-18  5:43 ` Xie, WeiX
@ 2020-11-19  8:37 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-11-19  8:37 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> According to test plan, remove related rules from negative case.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>

Applied

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

end of thread, other threads:[~2020-11-19  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18  5:44 [dts] [PATCH V1] tests/TestSuite_cvl_advanced_iavf_rss:remove related rules from negative case Xie wei
2020-11-18  5:43 ` Xie, WeiX
2020-11-19  8:37 ` 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).