test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Chen, BoX C" <box.c.chen@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/vxlan: reowrk test case
Date: Tue, 24 Nov 2020 03:28:49 +0000	[thread overview]
Message-ID: <DM6PR11MB3099CB6EB6A32EA1032FF9CFD9FB0@DM6PR11MB3099.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20201124032626.15275-1-box.c.chen@intel.com>

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

Tested-by: ChenBo <box.c.chen@intel.com>

Regards,
Chen Bo

> -----Original Message-----
> From: ChenBo <box.c.chen@intel.com>
> Sent: November 24, 2020 11:26
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts][PATCH V1] tests/vxlan: reowrk test case


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

[-- Attachment #3: TestVxlan.log --]
[-- Type: application/octet-stream, Size: 26461 bytes --]

24/11/2020 11:23:13                            dts: 
TEST SUITE : TestVxlan
24/11/2020 11:23:13                            dts: NIC :        fortville_spirit
24/11/2020 11:23:14              dut.10.240.183.77: 
24/11/2020 11:23:14                         tester: 
24/11/2020 11:23:14                      TestVxlan: Test Case test_tunnel_filter Begin
24/11/2020 11:23:14              dut.10.240.183.77: 
24/11/2020 11:23:14                         tester: 
24/11/2020 11:23:14              dut.10.240.183.77: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x3e -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
24/11/2020 11:23:15              dut.10.240.183.77: EAL: Detected 40 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:0a:00.0 (socket 0)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:0a:00.1 (socket 0)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=179456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 68:05:CA:30:68:70
Configuring Port 1 (socket 0)
Port 1: 68:05:CA:30:68:71
Checking link statuses...
Done
24/11/2020 11:23:15              dut.10.240.183.77: set fwd rxonly
24/11/2020 11:23:15              dut.10.240.183.77: 
Set rxonly packet forwarding mode
24/11/2020 11:23:15              dut.10.240.183.77: set verbose 1
24/11/2020 11:23:15              dut.10.240.183.77: 
Change verbose level from 0 to 1
24/11/2020 11:23:15              dut.10.240.183.77: rx_vxlan_port add 4789 0
24/11/2020 11:23:15              dut.10.240.183.77: 
24/11/2020 11:23:15              dut.10.240.183.77: rx_vxlan_port add 4789 1
24/11/2020 11:23:15              dut.10.240.183.77: 
24/11/2020 11:23:15              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:00:20:00:00:01 / vlan tci is 1 / end actions pf / queue index 2 / end
24/11/2020 11:23:15              dut.10.240.183.77: 
Flow rule #0 created
24/11/2020 11:23:15              dut.10.240.183.77: start
24/11/2020 11:23:16              dut.10.240.183.77: 
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
Logical Core 3 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
Logical Core 4 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
Logical Core 5 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/11/2020 11:23:18              dut.10.240.183.77:  port 0/queue 2: received 1 packets
  src=00:00:10:00:00:00 - dst=68:05:CA:30:68:70 - type=0x0800 - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1 - Receive queue=0x2
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

24/11/2020 11:23:18              dut.10.240.183.77: flow flush 0
24/11/2020 11:23:18              dut.10.240.183.77: 
24/11/2020 11:23:18              dut.10.240.183.77: stop
24/11/2020 11:23:18              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- Forward statistics for port 1  ----------------------
  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: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
24/11/2020 11:23:18              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / vlan tci is 1 / end actions pf / queue index 2 / end
24/11/2020 11:23:18              dut.10.240.183.77: 
Flow rule #0 created
24/11/2020 11:23:18              dut.10.240.183.77: start
24/11/2020 11:23:18              dut.10.240.183.77: 
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
Logical Core 3 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
Logical Core 4 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
Logical Core 5 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/11/2020 11:23:20              dut.10.240.183.77:  port 0/queue 2: received 1 packets
  src=00:00:10:00:00:00 - dst=68:05:CA:30:68:70 - type=0x0800 - length=114 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER_VLAN INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1 - Receive queue=0x2
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

24/11/2020 11:23:20              dut.10.240.183.77: flow flush 0
24/11/2020 11:23:20              dut.10.240.183.77: 
24/11/2020 11:23:20              dut.10.240.183.77: stop
24/11/2020 11:23:20              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- Forward statistics for port 1  ----------------------
  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: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
24/11/2020 11:23:20              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
24/11/2020 11:23:20              dut.10.240.183.77: 
Flow rule #0 created
24/11/2020 11:23:20              dut.10.240.183.77: start
24/11/2020 11:23:20              dut.10.240.183.77: 
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
Logical Core 3 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
Logical Core 4 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
Logical Core 5 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/11/2020 11:23:22              dut.10.240.183.77:  port 0/queue 2: received 1 packets
  src=00:00:10:00:00:00 - dst=68:05:CA:30:68:70 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1 - Receive queue=0x2
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

24/11/2020 11:23:22              dut.10.240.183.77: flow flush 0
24/11/2020 11:23:23              dut.10.240.183.77: 
24/11/2020 11:23:23              dut.10.240.183.77: stop
24/11/2020 11:23:23              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- Forward statistics for port 1  ----------------------
  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: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
24/11/2020 11:23:23              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
24/11/2020 11:23:23              dut.10.240.183.77: 
Flow rule #0 created
24/11/2020 11:23:23              dut.10.240.183.77: start
24/11/2020 11:23:23              dut.10.240.183.77: 
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
Logical Core 3 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
Logical Core 4 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
Logical Core 5 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/11/2020 11:23:25              dut.10.240.183.77:  port 0/queue 2: received 1 packets
  src=00:00:10:00:00:00 - dst=68:05:CA:30:68:70 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1 - Receive queue=0x2
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

24/11/2020 11:23:25              dut.10.240.183.77: flow flush 0
24/11/2020 11:23:25              dut.10.240.183.77: 
24/11/2020 11:23:25              dut.10.240.183.77: stop
24/11/2020 11:23:25              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- Forward statistics for port 1  ----------------------
  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: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
24/11/2020 11:23:25              dut.10.240.183.77: flow create 0 ingress pattern eth dst is 68:05:ca:30:68:70 / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 2 / end
24/11/2020 11:23:25              dut.10.240.183.77: 
Flow rule #0 created
24/11/2020 11:23:25              dut.10.240.183.77: start
24/11/2020 11:23:25              dut.10.240.183.77: 
rxonly packet forwarding - ports=2 - cores=4 - streams=8 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
Logical Core 3 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=1 (socket 0) -> TX P=1/Q=1 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
Logical Core 4 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=2 (socket 0) -> TX P=1/Q=2 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
Logical Core 5 (socket 0) forwards packets on 2 streams:
  RX P=0/Q=3 (socket 0) -> TX P=1/Q=3 (socket 0) peer=02:00:00:00:00:01
  RX P=1/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00

  rxonly packet forwarding packets/burst=32
  nb forwarding cores=4 - nb forwarding ports=2
  port 0: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
  port 1: RX queue number: 4 Tx queue number: 4
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=1024 - 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=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/11/2020 11:23:27              dut.10.240.183.77:  port 0/queue 2: received 1 packets
  src=00:00:10:00:00:00 - dst=68:05:CA:30:68:70 - type=0x0800 - length=110 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GRENAT INNER_L2_ETHER INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_UDP  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =24721, Destination UDP port =4789, VNI = 1 - Receive queue=0x2
  ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN 

24/11/2020 11:23:27              dut.10.240.183.77: flow flush 0
24/11/2020 11:23:27              dut.10.240.183.77: 
24/11/2020 11:23:27              dut.10.240.183.77: stop
24/11/2020 11:23:27              dut.10.240.183.77: 
Telling cores to ...
Waiting for lcores to finish...

  ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 1/Queue= 2 -------
  RX-packets: 1              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- Forward statistics for port 1  ----------------------
  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: 1              RX-dropped: 0             RX-total: 1
  TX-packets: 0              TX-dropped: 0             TX-total: 0
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Done.
24/11/2020 11:23:27              dut.10.240.183.77: quit
24/11/2020 11:23:28              dut.10.240.183.77: 

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

Stopping port 1...
Stopping ports...

Port 0: link state change event
Done

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

Port 1: link state change event
Port 0 is closed
Invalid port_id=0
Done

Shutting down port 1...
Closing ports...
Port 1 is closed
Invalid port_id=1
Done

Bye...
24/11/2020 11:23:28                      TestVxlan: Test Case test_tunnel_filter Result PASSED:
24/11/2020 11:23:28              dut.10.240.183.77: kill_all: called by dut and has no prefix list.
24/11/2020 11:23:30                      TestVxlan: Test Case test_tunnel_filter_invalid Begin
24/11/2020 11:23:30              dut.10.240.183.77:  
24/11/2020 11:23:30                         tester: 
24/11/2020 11:23:30              dut.10.240.183.77: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -c 0x3e -n 4 -- -i --disable-rss --rxq=4 --txq=4 --nb-cores=4 --portmask=0x3
24/11/2020 11:23:31              dut.10.240.183.77: EAL: Detected 40 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:0a:00.0 (socket 0)
EAL: Probe PCI driver: net_i40e (8086:1583) device: 0000:0a:00.1 (socket 0)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=179456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 68:05:CA:30:68:70
Configuring Port 1 (socket 0)
Port 1: 68:05:CA:30:68:71
Checking link statuses...
Done
24/11/2020 11:23:31              dut.10.240.183.77: rx_vxlan_port add 4789 0
24/11/2020 11:23:31              dut.10.240.183.77: 
24/11/2020 11:23:31              dut.10.240.183.77: rx_vxlan_port add 4789 1
24/11/2020 11:23:31              dut.10.240.183.77: 
24/11/2020 11:23:31              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:00:00:01 / end actions pf / queue index 3 / end
24/11/2020 11:23:31              dut.10.240.183.77: 
Bad arguments
24/11/2020 11:23:31              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth / ipv4 dst is 192.168.1.256 / end actions pf / queue index 3 / end
24/11/2020 11:23:31              dut.10.240.183.77: 
Bad arguments
24/11/2020 11:23:31              dut.10.240.183.77: flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 1 / eth dst is 00:00:20:00:00:01 / end actions pf / queue index 64 / end
24/11/2020 11:23:31              dut.10.240.183.77: 
port_flow_complain(): Caught PMD error type 16 (specific action): cause: 0x7ffd37878d08, Invalid queue ID for tunnel filter: Invalid argument
24/11/2020 11:23:31              dut.10.240.183.77: stop
24/11/2020 11:23:31              dut.10.240.183.77: 
Packet forwarding not started
24/11/2020 11:23:31              dut.10.240.183.77: quit
24/11/2020 11:23:33              dut.10.240.183.77: 

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

Stopping port 1...
Stopping ports...
Done

Shutting down port 0...
Closing ports...
Port 0 is closed
Invalid port_id=0
Done

Shutting down port 1...
Closing ports...
Port 1 is closed
Invalid port_id=1
Done

Bye...
24/11/2020 11:23:33                      TestVxlan: Test Case test_tunnel_filter_invalid Result PASSED:
24/11/2020 11:23:33              dut.10.240.183.77: kill_all: called by dut and has no prefix list.
24/11/2020 11:23:34                            dts: 
TEST SUITE ENDED: TestVxlan

  reply	other threads:[~2020-11-24  3:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24  3:26 ChenBo
2020-11-24  3:28 ` Chen, BoX C [this message]
2020-12-07  7:54 ` 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=DM6PR11MB3099CB6EB6A32EA1032FF9CFD9FB0@DM6PR11MB3099.namprd11.prod.outlook.com \
    --to=box.c.chen@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).