test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Sun, QinX" <qinx.sun@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/veb_switch use different cores for 2 vfs
Date: Mon, 9 Nov 2020 07:07:23 +0000	[thread overview]
Message-ID: <3590076932e44a898c74d4fe2437ec4e@intel.com> (raw)
In-Reply-To: <20201109152952.17279-1-qinx.sun@intel.com>

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

Tested-by: Sun, QinX <qinx.sun@intel.com>
 
Regards,
Sun Qin

> -----Original Message-----
> From: sunqin <qinx.sun@intel.com>
> Sent: Monday, November 9, 2020 11:30 PM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/veb_switch use different cores for 2 vfs

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

09/11/2020 15:36:36                            dts: 
TEST SUITE : TestVEBSwitching
09/11/2020 15:36:36                            dts: NIC :        columbiaville_25g
09/11/2020 15:36:36             dut.10.240.183.254: 
09/11/2020 15:36:36                         tester: 
09/11/2020 15:36:39               TestVEBSwitching: Test Case test_VEB_switching_inter_vfs Begin
09/11/2020 15:36:39             dut.10.240.183.254: 
09/11/2020 15:36:39                         tester: 
09/11/2020 15:36:39             dut.10.240.183.254: kill_all: called by dut and has no prefix list.
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.0/vendor
09/11/2020 15:36:52             dut.10.240.183.254: 0x8086
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.0/device
09/11/2020 15:36:52             dut.10.240.183.254: 0x1889
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.0/vendor
09/11/2020 15:36:52             dut.10.240.183.254: 0x8086
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.0/device
09/11/2020 15:36:52             dut.10.240.183.254: 0x1889
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.1/vendor
09/11/2020 15:36:52             dut.10.240.183.254: 0x8086
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.1/device
09/11/2020 15:36:52             dut.10.240.183.254: 0x1889
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.1/vendor
09/11/2020 15:36:52             dut.10.240.183.254: 0x8086
09/11/2020 15:36:52             dut.10.240.183.254: cat /sys/bus/pci/devices/0000\:03\:01.1/device
09/11/2020 15:36:52             dut.10.240.183.254: 0x1889
09/11/2020 15:36:52             dut.10.240.183.254: ip link set ens865f0 vf 0 mac 00:11:22:33:44:11
09/11/2020 15:36:53             dut.10.240.183.254: 
09/11/2020 15:36:53             dut.10.240.183.254: ip link set ens865f0 vf 1 mac 00:11:22:33:44:12
09/11/2020 15:36:53             dut.10.240.183.254: 
09/11/2020 15:36:55             dut.10.240.183.254: x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1,2 -n 4 -w 0000:03:01.0  --file-prefix=test1_17370_20201109153610   -- -i --eth-peer=0,00:11:22:33:44:12
09/11/2020 15:36:56             dut.10.240.183.254: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/test1_17370_20201109153610/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:03:01.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, 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[22] 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/11/2020 15:37:06             dut.10.240.183.254: set fwd txonly
09/11/2020 15:37:06             dut.10.240.183.254: 
Set txonly packet forwarding mode
09/11/2020 15:37:06             dut.10.240.183.254: set promisc all off
09/11/2020 15:37:06             dut.10.240.183.254: 
09/11/2020 15:37:17             dut.10.240.183.254: start
09/11/2020 15:37:17             dut.10.240.183.254: 
txonly packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (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=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
09/11/2020 15:37:19             dut.10.240.183.254: stop
09/11/2020 15:37:19             dut.10.240.183.254: 
Telling cores to ...
Waiting for lcores to finish...

  ---------------------- Forward statistics for port 0  ----------------------
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 68876416       TX-dropped: 0             TX-total: 68876416
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
  RX-packets: 0              RX-dropped: 0             RX-total: 0
  TX-packets: 68876416       TX-dropped: 0             TX-total: 68876416
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
09/11/2020 15:37:19             dut.10.240.183.254: show port stats 0
09/11/2020 15:37:19             dut.10.240.183.254: 

  ######################## NIC statistics for port 0  ########################
  RX-packets: 0          RX-missed: 0          RX-bytes:  0
  RX-errors: 0
  RX-nombuf:  0         
  TX-packets: 68876416   TX-errors: 0          TX-bytes:  4408090624

  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  ############################################################################
09/11/2020 15:37:19               TestVEBSwitching: Test Case test_VEB_switching_inter_vfs Result PASSED:
09/11/2020 15:37:22             dut.10.240.183.254: quit
09/11/2020 15:37:23             dut.10.240.183.254: 

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

Shutting down port 0...
Closing ports...
Port 0 is closed
Done

Bye...
09/11/2020 15:37:28             dut.10.240.183.254: kill_all: called by dut and prefix list has value.
09/11/2020 15:37:29                            dts: 
TEST SUITE ENDED: TestVEBSwitching

  reply	other threads:[~2020-11-09  7:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 15:29 sunqin
2020-11-09  7:07 ` Sun, QinX [this message]
2020-11-11  6:30 ` 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=3590076932e44a898c74d4fe2437ec4e@intel.com \
    --to=qinx.sun@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).