test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhao, HaiyangX" <haiyangx.zhao@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1 0/5] tests: update scripts to meet CVL
Date: Thu, 11 Jun 2020 07:17:23 +0000	[thread overview]
Message-ID: <SN6PR11MB25730DDB32CB38DA7FD15087F4800@SN6PR11MB2573.namprd11.prod.outlook.com> (raw)
In-Reply-To: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com>

[-- 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 --]

  parent reply	other threads:[~2020-06-11  7:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
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 ` Zhao, HaiyangX [this message]
2020-06-19  4:50 ` [dts] [PATCH V1 0/5] tests: " 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=SN6PR11MB25730DDB32CB38DA7FD15087F4800@SN6PR11MB2573.namprd11.prod.outlook.com \
    --to=haiyangx.zhao@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).