test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
  2021-02-04 11:35 [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step sunqin
@ 2021-02-04  3:10 ` Sun, QinX
  2021-02-19  7:42   ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Sun, QinX @ 2021-02-04  3:10 UTC (permalink / raw)
  To: dts

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

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

> -----Original Message-----
> From: sunqin <qinx.sun@intel.com>
> Sent: Thursday, February 4, 2021 7:36 PM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step

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

04/02/2021 11:37:26                            dts: 
TEST SUITE : TestCVLAdvancedRSSGTPU
04/02/2021 11:37:26                            dts: NIC :        columbiaville_25g
04/02/2021 11:37:26             dut.10.240.183.254: 
04/02/2021 11:37:26                         tester: 
04/02/2021 11:37:26             dut.10.240.183.254: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4 -n 4  --file-prefix=dpdk_3949_20210204113700  -a 0000:03:00.0 -- -i --rxq=64 --txq=64 --disable-rss --rxd=384 --txd=384
04/02/2021 11:37:27             dut.10.240.183.254: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_3949_20210204113700/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: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:1593) device: 0000:03:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.25.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_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: 68:05:CA:C1:B9:08
Checking link statuses...
Done
04/02/2021 11:37:37             dut.10.240.183.254: set fwd rxonly
04/02/2021 11:37:37             dut.10.240.183.254: 
Set rxonly packet forwarding mode
04/02/2021 11:37:37             dut.10.240.183.254: set verbose 1
04/02/2021 11:37:37             dut.10.240.183.254: 
Change verbose level from 0 to 1
04/02/2021 11:37:37             dut.10.240.183.254: show port info all
04/02/2021 11:37:38             dut.10.240.183.254: 

********************* Infos for port 0  *********************
MAC address: 68:05:CA:C1:B9:08
Device name: 0000:03:00.0
Driver name: net_ice
Firmware-version: 2.40 0x800063ea 1.2852.0
Devargs: 
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25 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: 512
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
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: 64
Max possible RX queues: 64
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: 64
Max possible TX queues: 64
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
04/02/2021 11:37:38         TestCVLAdvancedRSSGTPU: rssprocess.tester_ifaces: ['ens7', 'ens8']
04/02/2021 11:37:38         TestCVLAdvancedRSSGTPU: rssprocess.test_case: <TestSuite_cvl_advanced_rss_gtpu.TestCVLAdvancedRSSGTPU object at 0x7f7336327320>
04/02/2021 11:37:38         TestCVLAdvancedRSSGTPU: Test Case test_ipv4_gtpu_eh_ipv4_without_with_ul_dl Begin
04/02/2021 11:37:38             dut.10.240.183.254: 
04/02/2021 11:37:38                         tester: 
04/02/2021 11:37:38             dut.10.240.183.254: quit
04/02/2021 11:37:39             dut.10.240.183.254: 

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

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

Bye...
04/02/2021 11:37:39             dut.10.240.183.254: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4 -n 4  --file-prefix=dpdk_3949_20210204113700  -a 0000:03:00.0 -- -i --rxq=64 --txq=64
04/02/2021 11:37:40             dut.10.240.183.254: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/dpdk_3949_20210204113700/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: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:1593) device: 0000:03:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.25.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_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: 68:05:CA:C1:B9:08
Checking link statuses...
Done
04/02/2021 11:37:50             dut.10.240.183.254: set fwd rxonly
04/02/2021 11:37:50             dut.10.240.183.254: 
Set rxonly packet forwarding mode
04/02/2021 11:37:50             dut.10.240.183.254: set verbose 1
04/02/2021 11:37:50             dut.10.240.183.254: 
Change verbose level from 0 to 1
04/02/2021 11:37:50             dut.10.240.183.254: show port info all
04/02/2021 11:37:50             dut.10.240.183.254: 

********************* Infos for port 0  *********************
MAC address: 68:05:CA:C1:B9:08
Device name: 0000:03:00.0
Driver name: net_ice
Firmware-version: 2.40 0x800063ea 1.2852.0
Devargs: 
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 25 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: 512
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
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: 64
Max possible RX queues: 64
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: 64
Max possible TX queues: 64
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
04/02/2021 11:37:50             dut.10.240.183.254: start
04/02/2021 11:37:50             dut.10.240.183.254: 
rxonly packet forwarding - ports=1 - cores=1 - streams=64 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 64 streams:
  RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=1 (socket 0) -> TX P=0/Q=1 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=2 (socket 0) -> TX P=0/Q=2 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=3 (socket 0) -> TX P=0/Q=3 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=4 (socket 0) -> TX P=0/Q=4 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=5 (socket 0) -> TX P=0/Q=5 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=6 (socket 0) -> TX P=0/Q=6 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=7 (socket 0) -> TX P=0/Q=7 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=8 (socket 0) -> TX P=0/Q=8 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=9 (socket 0) -> TX P=0/Q=9 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=10 (socket 0) -> TX P=0/Q=10 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=11 (socket 0) -> TX P=0/Q=11 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=12 (socket 0) -> TX P=0/Q=12 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=13 (socket 0) -> TX P=0/Q=13 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=14 (socket 0) -> TX P=0/Q=14 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=15 (socket 0) -> TX P=0/Q=15 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=16 (socket 0) -> TX P=0/Q=16 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=17 (socket 0) -> TX P=0/Q=17 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=18 (socket 0) -> TX P=0/Q=18 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=19 (socket 0) -> TX P=0/Q=19 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=20 (socket 0) -> TX P=0/Q=20 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=21 (socket 0) -> TX P=0/Q=21 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=22 (socket 0) -> TX P=0/Q=22 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=23 (socket 0) -> TX P=0/Q=23 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=24 (socket 0) -> TX P=0/Q=24 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=25 (socket 0) -> TX P=0/Q=25 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=26 (socket 0) -> TX P=0/Q=26 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=27 (socket 0) -> TX P=0/Q=27 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=28 (socket 0) -> TX P=0/Q=28 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=29 (socket 0) -> TX P=0/Q=29 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=30 (socket 0) -> TX P=0/Q=30 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=31 (socket 0) -> TX P=0/Q=31 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=32 (socket 0) -> TX P=0/Q=32 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=33 (socket 0) -> TX P=0/Q=33 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=34 (socket 0) -> TX P=0/Q=34 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=35 (socket 0) -> TX P=0/Q=35 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=36 (socket 0) -> TX P=0/Q=36 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=37 (socket 0) -> TX P=0/Q=37 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=38 (socket 0) -> TX P=0/Q=38 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=39 (socket 0) -> TX P=0/Q=39 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=40 (socket 0) -> TX P=0/Q=40 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=41 (socket 0) -> TX P=0/Q=41 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=42 (socket 0) -> TX P=0/Q=42 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=43 (socket 0) -> TX P=0/Q=43 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=44 (socket 0) -> TX P=0/Q=44 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=45 (socket 0) -> TX P=0/Q=45 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=46 (socket 0) -> TX P=0/Q=46 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=47 (socket 0) -> TX P=0/Q=47 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=48 (socket 0) -> TX P=0/Q=48 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=49 (socket 0) -> TX P=0/Q=49 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=50 (socket 0) -> TX P=0/Q=50 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=51 (socket 0) -> TX P=0/Q=51 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=52 (socket 0) -> TX P=0/Q=52 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=53 (socket 0) -> TX P=0/Q=53 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=54 (socket 0) -> TX P=0/Q=54 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=55 (socket 0) -> TX P=0/Q=55 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=56 (socket 0) -> TX P=0/Q=56 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=57 (socket 0) -> TX P=0/Q=57 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=58 (socket 0) -> TX P=0/Q=58 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=59 (socket 0) -> TX P=0/Q=59 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=60 (socket 0) -> TX P=0/Q=60 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=61 (socket 0) -> TX P=0/Q=61 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=62 (socket 0) -> TX P=0/Q=62 (socket 0) peer=02:00:00:00:00:00
  RX P=0/Q=63 (socket 0) -> TX P=0/Q=63 (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: 64 Tx queue number: 64
    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=1024 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
04/02/2021 11:37:50             dut.10.240.183.254: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end
04/02/2021 11:37:50             dut.10.240.183.254: 
Flow rule #0 created
04/02/2021 11:37:50         TestCVLAdvancedRSSGTPU: ----------send packet-------------
04/02/2021 11:37:50         TestCVLAdvancedRSSGTPU: ['Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.1.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.1.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.1.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.1.1",src="192.168.0.2")/("X"*480)']
04/02/2021 11:37:51             dut.10.240.183.254: port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 2: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0xa7c8c1c2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x2
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 2: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0xa7c8c1c2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x2
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 

04/02/2021 11:37:51         TestCVLAdvancedRSSGTPU: hash_infos: [('0x1069f1e2', '0x22'), ('0x1069f1e2', '0x22'), ('0xa7c8c1c2', '0x2'), ('0x1069f1e2', '0x22'), ('0x1069f1e2', '0x22'), ('0xa7c8c1c2', '0x2')]
04/02/2021 11:37:51             dut.10.240.183.254: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss types ipv4 l3-src-only end key_len 0 queues end / end
04/02/2021 11:37:51             dut.10.240.183.254: 
Flow rule #1 created
04/02/2021 11:37:51         TestCVLAdvancedRSSGTPU: ----------send packet-------------
04/02/2021 11:37:51         TestCVLAdvancedRSSGTPU: ['Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.1.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34) /IP(dst="192.168.1.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.0.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.0.1",src="192.168.1.2")/("X"*480)', 'Ether(dst="68:05:CA:BB:26:E0")/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=1, P=1, QFI=0x34) /IP(dst="192.168.1.1",src="192.168.0.2")/("X"*480)']
04/02/2021 11:37:52             dut.10.240.183.254: port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 34: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x1069f1e2 - RSS queue=0x22 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x22
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 2: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0xa7c8c1c2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x2
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 3: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x61c1c1c3 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x3
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 35: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0xd660f1e3 - RSS queue=0x23 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x23
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 
port 0/queue 3: received 1 packets
  src=00:00:00:00:00:00 - dst=68:05:CA:BB:26:E0 - type=0x0800 - length=562 - nb_segs=1 - RSS hash=0x61c1c1c3 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=14 - l3_len=20 - l4_len=8 - VXLAN packet: packet type =32913, Destination UDP port =2152, VNI = 4660 - Receive queue=0x3
  ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD 

04/02/2021 11:37:52         TestCVLAdvancedRSSGTPU: hash_infos: [('0x1069f1e2', '0x22'), ('0x1069f1e2', '0x22'), ('0xa7c8c1c2', '0x2'), ('0x61c1c1c3', '0x3'), ('0xd660f1e3', '0x23'), ('0x61c1c1c3', '0x3')]
04/02/2021 11:37:52         TestCVLAdvancedRSSGTPU: Test Case test_ipv4_gtpu_eh_ipv4_without_with_ul_dl Result PASSED:
04/02/2021 11:37:52             dut.10.240.183.254: flow flush 0
04/02/2021 11:37:53             dut.10.240.183.254: 
testpmd> 
04/02/2021 11:37:53             dut.10.240.183.254: clear port stats all
04/02/2021 11:37:54             dut.10.240.183.254: 

  NIC statistics for port 0 cleared
testpmd> 
04/02/2021 11:37:54             dut.10.240.183.254: stop
04/02/2021 11:37:54             dut.10.240.183.254: 
Telling cores to ...
Waiting for lcores to finish...

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

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

  ------- Forward Stats for RX Port= 0/Queue=34 -> TX Port= 0/Queue=34 -------
  RX-packets: 6              TX-packets: 0              TX-dropped: 0             

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

  ---------------------- 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.
04/02/2021 11:37:54                            dts: 
TEST SUITE ENDED: TestCVLAdvancedRSSGTPU

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

* [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
@ 2021-02-04 11:35 sunqin
  2021-02-04  3:10 ` Sun, QinX
  0 siblings, 1 reply; 3+ messages in thread
From: sunqin @ 2021-02-04 11:35 UTC (permalink / raw)
  To: dts; +Cc: sunqin

The action after deleting rule is not guaranteed, so remove related steps.

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_cvl_advanced_rss_gtpu.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_rss_gtpu.py b/tests/TestSuite_cvl_advanced_rss_gtpu.py
index b41a5d4a..8dd9fdbc 100755
--- a/tests/TestSuite_cvl_advanced_rss_gtpu.py
+++ b/tests/TestSuite_cvl_advanced_rss_gtpu.py
@@ -4863,18 +4863,6 @@ class TestCVLAdvancedRSSGTPU(TestCase):
         self.verify(hash_values[4] != hash_values[3], 'packet 5 should has different hash value with packet 4')
         self.verify(hash_values[5] == hash_values[3], 'packet 6 should has same hash value with packet 4')
 
-        self.rssprocess.destroy_rule(port_id=0, rule_id=rule0)
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1[3:])
-        self.verify(hash_values[1] != hash_values[0], 'should get different hash values')
-        self.verify(hash_values[2] == hash_values[0], 'should get same hash values')
-
-        rule2 = self.rssprocess.create_rule(rules[0])
-        hash_values, queues = self.rssprocess.send_pkt_get_hash_queues(pkts1)
-        self.verify(hash_values[1] == hash_values[0], 'packet 2 should has same hash value with packet 1')
-        self.verify(hash_values[2] != hash_values[0], 'packet 3 should has different hash value with packet 1')
-        self.verify(hash_values[4] == hash_values[3], 'packet 5 should has same hash value with packet 4')
-        self.verify(hash_values[5] != hash_values[3], 'packet 6 should has different hash value with packet 4')
-
     def test_ipv4_gtpu_eh_ipv4_and_ipv4_gtpu_eh_ipv4_udp_tcp(self):
         self.switch_testpmd(enable_rss=True)
         pkts1 = [
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step
  2021-02-04  3:10 ` Sun, QinX
@ 2021-02-19  7:42   ` Tu, Lijuan
  0 siblings, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2021-02-19  7:42 UTC (permalink / raw)
  To: Sun, QinX, dts

Applied

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Sun, QinX
> Sent: 2021年2月4日 11:11
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule
> step
> 
> Tested-by: Sun, QinX <qinx.sun@intel.com>
> 
> Regards,
> Sun Qin
> 
> > -----Original Message-----
> > From: sunqin <qinx.sun@intel.com>
> > Sent: Thursday, February 4, 2021 7:36 PM
> > To: dts@dpdk.org
> > Cc: Sun, QinX <qinx.sun@intel.com>
> > Subject: [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule
> step

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

end of thread, other threads:[~2021-02-19  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 11:35 [dts] [PATCH V1] tests/cvl_advanced_rss_gtpu: remove destroy rule step sunqin
2021-02-04  3:10 ` Sun, QinX
2021-02-19  7:42   ` 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).