test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/dcf_lifecycle  script optimization
  2020-11-18 14:14 [dts] [PATCH V1] tests/dcf_lifecycle script optimization sunqin
@ 2020-11-18  5:41 ` Sun, QinX
  2020-11-19  8:41 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Sun, QinX @ 2020-11-18  5:41 UTC (permalink / raw)
  To: dts

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

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

> -----Original Message-----
> From: sunqin <qinx.sun@intel.com>
> Sent: Wednesday, November 18, 2020 10:14 PM
> To: dts@dpdk.org
> Cc: Sun, QinX <qinx.sun@intel.com>
> Subject: [dts] [PATCH V1] tests/dcf_lifecycle script optimization

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

18/11/2020 13:45:16              dut.10.240.183.61: 0x8086
18/11/2020 13:45:16              dut.10.240.183.61: cat /sys/bus/pci/devices/0000\:af\:19.3/device
18/11/2020 13:45:16              dut.10.240.183.61: 0x1889
18/11/2020 13:45:16              dut.10.240.183.61: cat /sys/bus/pci/devices/0000\:af\:19.3/vendor
18/11/2020 13:45:16              dut.10.240.183.61: 0x8086
18/11/2020 13:45:16              dut.10.240.183.61: cat /sys/bus/pci/devices/0000\:af\:19.3/device
18/11/2020 13:45:16              dut.10.240.183.61: 0x1889
18/11/2020 13:45:21               TestDcfLifeCycle: {0: {'pf_pci': '0000:af:00.0',
     'src_mac': '02:00:00:00:00:00',
     'vfs_mac': ['00:12:34:56:01:00',
                 '00:12:34:56:01:01',
                 '00:12:34:56:01:02',
                 '00:12:34:56:01:03'],
     'vfs_pci': ['0000:af:01.0',
                 '0000:af:01.1',
                 '0000:af:01.2',
                 '0000:af:01.3']},
 1: {'pf_pci': '0000:af:00.1',
     'src_mac': '02:00:00:00:00:01',
     'vfs_mac': ['00:12:34:56:02:00',
                 '00:12:34:56:02:01',
                 '00:12:34:56:02:02',
                 '00:12:34:56:02:03'],
     'vfs_pci': ['0000:af:09.0',
                 '0000:af:09.1',
                 '0000:af:09.2',
                 '0000:af:09.3']},
 2: {'pf_pci': '0000:af:00.2',
     'src_mac': '02:00:00:00:00:02',
     'vfs_mac': ['00:12:34:56:03:00',
                 '00:12:34:56:03:01',
                 '00:12:34:56:03:02',
                 '00:12:34:56:03:03'],
     'vfs_pci': ['0000:af:11.0',
                 '0000:af:11.1',
                 '0000:af:11.2',
                 '0000:af:11.3']},
 3: {'pf_pci': '0000:af:00.3',
     'src_mac': '02:00:00:00:00:03',
     'vfs_mac': ['00:12:34:56:04:00',
                 '00:12:34:56:04:01',
                 '00:12:34:56:04:02',
                 '00:12:34:56:04:03'],
     'vfs_pci': ['0000:af:19.0',
                 '0000:af:19.1',
                 '0000:af:19.2',
                 '0000:af:19.3']}}
18/11/2020 13:45:21               TestDcfLifeCycle: Test Case test_dcf_with_adq_01 Begin
18/11/2020 13:45:21              dut.10.240.183.61: 
18/11/2020 13:45:22                         tester: 
18/11/2020 13:45:22               TestDcfLifeCycle: begin : When ADQ set on PF, PF should reject the DCF mode
18/11/2020 13:45:22              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:45:22              dut.10.240.183.61: 
18/11/2020 13:45:22               TestDcfLifeCycle: Set ADQ on PF
18/11/2020 13:45:22              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload on
18/11/2020 13:45:22              dut.10.240.183.61: 
18/11/2020 13:45:22              dut.10.240.183.61: tc qdisc add dev ens802f0 ingress
18/11/2020 13:45:22              dut.10.240.183.61: 
18/11/2020 13:45:22              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:45:22              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc ingress ffff: parent ffff:fff1 ---------------- 
18/11/2020 13:45:22              dut.10.240.183.61: tc qdisc add dev ens802f0 root mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 queues 4@0 4@4 8@8 8@16 hw 1 mode channel
18/11/2020 13:45:22              dut.10.240.183.61: 
18/11/2020 13:45:22              dut.10.240.183.61: tc filter add dev ens802f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
18/11/2020 13:45:22              dut.10.240.183.61: 
18/11/2020 13:45:22              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:45:22              dut.10.240.183.61: filter protocol ip pref 1 flower chain 0 
filter protocol ip pref 1 flower chain 0 handle 0x1 
  eth_type ipv4
  ip_proto tcp
  dst_ip 192.168.1.10
  in_hw in_hw_count 1
	action order 1: gact action pass
	 random type none pass val 0
	 index 1 ref 1 bind 1

18/11/2020 13:45:22              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:45:24              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_dcf_get_vf_resource(): Failed to get response of OP_GET_VF_RESOURCE
ice_dcf_init_hw(): Failed to get VF resource
ice_dcf_dev_init(): Failed to init DCF hardware
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200044000
EAL: Requested device 0000:af:01.0 cannot be used
EAL: Bus (pci) probe failed.
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Done
18/11/2020 13:45:25              dut.10.240.183.61: quit
18/11/2020 13:45:25              dut.10.240.183.61: 

Bye...
18/11/2020 13:45:30               TestDcfLifeCycle: Remove ADQ on PF
18/11/2020 13:45:30              dut.10.240.183.61: tc filter del dev ens802f0 parent ffff: pref 1 protocol ip
18/11/2020 13:45:30              dut.10.240.183.61: 
18/11/2020 13:45:30              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:45:30              dut.10.240.183.61: 
18/11/2020 13:45:30              dut.10.240.183.61: tc qdisc del dev ens802f0 root mqprio
18/11/2020 13:45:31              dut.10.240.183.61: 
18/11/2020 13:45:31              dut.10.240.183.61: tc qdisc del dev ens802f0 ingress
18/11/2020 13:45:31              dut.10.240.183.61: 
18/11/2020 13:45:31              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:45:31              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
18/11/2020 13:45:31              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload off
18/11/2020 13:45:31              dut.10.240.183.61: 
18/11/2020 13:45:31              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:45:39              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:E3:CE:13:0F:C0
Checking link statuses...
Done
18/11/2020 13:45:40              dut.10.240.183.61: quit
18/11/2020 13:45:41              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:45:46               TestDcfLifeCycle: Test Case test_dcf_with_adq_01 Result PASSED:
18/11/2020 13:45:46              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:45:47               TestDcfLifeCycle: Test Case test_dcf_with_adq_02 Begin
18/11/2020 13:45:47              dut.10.240.183.61: 
18/11/2020 13:45:47                         tester: 
18/11/2020 13:45:47               TestDcfLifeCycle: begin : When DCF mode enabled, ADQ setting on PF shall fail
18/11/2020 13:45:47              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:45:47              dut.10.240.183.61: 
18/11/2020 13:45:47              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:45:55              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:E3:CE:13:0F:C0
Checking link statuses...
Done
18/11/2020 13:45:56               TestDcfLifeCycle: Set ADQ on PF
18/11/2020 13:45:56              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload on
18/11/2020 13:45:56              dut.10.240.183.61: 
18/11/2020 13:45:56              dut.10.240.183.61: tc qdisc add dev ens802f0 ingress
18/11/2020 13:45:56              dut.10.240.183.61: 
18/11/2020 13:45:56              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:45:56              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc ingress ffff: parent ffff:fff1 ---------------- 
18/11/2020 13:45:56              dut.10.240.183.61: tc qdisc add dev ens802f0 root mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 queues 4@0 4@4 8@8 8@16 hw 1 mode channel
18/11/2020 13:45:56              dut.10.240.183.61: RTNETLINK answers: Operation not supported
18/11/2020 13:45:56              dut.10.240.183.61: tc filter add dev ens802f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
18/11/2020 13:45:56              dut.10.240.183.61: 
18/11/2020 13:45:56              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:45:56              dut.10.240.183.61: filter protocol ip pref 1 flower chain 0 
filter protocol ip pref 1 flower chain 0 handle 0x1 
  eth_type ipv4
  ip_proto tcp
  dst_ip 192.168.1.10
  not_in_hw
	action order 1: gact action pass
	 random type none pass val 0
	 index 1 ref 1 bind 1

18/11/2020 13:45:56               TestDcfLifeCycle: Remove ADQ on PF
18/11/2020 13:45:56              dut.10.240.183.61: tc filter del dev ens802f0 parent ffff: pref 1 protocol ip
18/11/2020 13:45:57              dut.10.240.183.61: 
18/11/2020 13:45:57              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:45:57              dut.10.240.183.61: 
18/11/2020 13:45:57              dut.10.240.183.61: tc qdisc del dev ens802f0 root mqprio
18/11/2020 13:45:57              dut.10.240.183.61: Error: Invalid qdisc name.
18/11/2020 13:45:57              dut.10.240.183.61: tc qdisc del dev ens802f0 ingress
18/11/2020 13:45:57              dut.10.240.183.61: 
18/11/2020 13:45:57              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:45:57              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
18/11/2020 13:45:57              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload off
18/11/2020 13:45:57              dut.10.240.183.61: 
18/11/2020 13:45:57              dut.10.240.183.61: quit
18/11/2020 13:45:58              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:46:03               TestDcfLifeCycle: exclusive action occurs correctly
18/11/2020 13:46:03               TestDcfLifeCycle: Set ADQ on PF
18/11/2020 13:46:03              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload on
18/11/2020 13:46:03              dut.10.240.183.61: 
18/11/2020 13:46:03              dut.10.240.183.61: tc qdisc add dev ens802f0 ingress
18/11/2020 13:46:03              dut.10.240.183.61: 
18/11/2020 13:46:03              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:46:03              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc ingress ffff: parent ffff:fff1 ---------------- 
18/11/2020 13:46:03              dut.10.240.183.61: tc qdisc add dev ens802f0 root mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 queues 4@0 4@4 8@8 8@16 hw 1 mode channel
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc filter add dev ens802f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:46:04              dut.10.240.183.61: filter protocol ip pref 1 flower chain 0 
filter protocol ip pref 1 flower chain 0 handle 0x1 
  eth_type ipv4
  ip_proto tcp
  dst_ip 192.168.1.10
  in_hw in_hw_count 1
	action order 1: gact action pass
	 random type none pass val 0
	 index 1 ref 1 bind 1

18/11/2020 13:46:04               TestDcfLifeCycle: Remove ADQ on PF
18/11/2020 13:46:04              dut.10.240.183.61: tc filter del dev ens802f0 parent ffff: pref 1 protocol ip
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc filter show dev ens802f0 parent ffff:
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc qdisc del dev ens802f0 root mqprio
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc qdisc del dev ens802f0 ingress
18/11/2020 13:46:04              dut.10.240.183.61: 
18/11/2020 13:46:04              dut.10.240.183.61: tc qdisc show dev ens802f0
18/11/2020 13:46:05              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
18/11/2020 13:46:05              dut.10.240.183.61: ethtool -K ens802f0 hw-tc-offload off
18/11/2020 13:46:05              dut.10.240.183.61: 
18/11/2020 13:46:10               TestDcfLifeCycle: Test Case test_dcf_with_adq_02 Result PASSED:
18/11/2020 13:46:10              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:46:11               TestDcfLifeCycle: Test Case test_dcf_with_adq_03 Begin
18/11/2020 13:46:11              dut.10.240.183.61: 
18/11/2020 13:46:11                         tester: 
18/11/2020 13:46:11               TestDcfLifeCycle: begin : DCF and ADQ can be enabled on different PF
18/11/2020 13:46:11              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:46:11              dut.10.240.183.61: 
18/11/2020 13:46:11              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:46:19              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:E3:CE:13:0F:C0
Checking link statuses...
Done
18/11/2020 13:46:20               TestDcfLifeCycle: Set ADQ on PF
18/11/2020 13:46:20              dut.10.240.183.61: ethtool -K ens802f1 hw-tc-offload on
18/11/2020 13:46:20              dut.10.240.183.61: 
18/11/2020 13:46:20              dut.10.240.183.61: tc qdisc add dev ens802f1 ingress
18/11/2020 13:46:20              dut.10.240.183.61: 
18/11/2020 13:46:20              dut.10.240.183.61: tc qdisc show dev ens802f1
18/11/2020 13:46:20              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc ingress ffff: parent ffff:fff1 ---------------- 
18/11/2020 13:46:20              dut.10.240.183.61: tc qdisc add dev ens802f1 root mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 queues 4@0 4@4 8@8 8@16 hw 1 mode channel
18/11/2020 13:46:20              dut.10.240.183.61: 
18/11/2020 13:46:20              dut.10.240.183.61: tc filter add dev ens802f1 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: tc filter show dev ens802f1 parent ffff:
18/11/2020 13:46:21              dut.10.240.183.61: filter protocol ip pref 1 flower chain 0 
filter protocol ip pref 1 flower chain 0 handle 0x1 
  eth_type ipv4
  ip_proto tcp
  dst_ip 192.168.1.10
  in_hw in_hw_count 1
	action order 1: gact action pass
	 random type none pass val 0
	 index 1 ref 1 bind 1

18/11/2020 13:46:21               TestDcfLifeCycle: Remove ADQ on PF
18/11/2020 13:46:21              dut.10.240.183.61: tc filter del dev ens802f1 parent ffff: pref 1 protocol ip
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: tc filter show dev ens802f1 parent ffff:
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: tc qdisc del dev ens802f1 root mqprio
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: tc qdisc del dev ens802f1 ingress
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: tc qdisc show dev ens802f1
18/11/2020 13:46:21              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
18/11/2020 13:46:21              dut.10.240.183.61: ethtool -K ens802f1 hw-tc-offload off
18/11/2020 13:46:21              dut.10.240.183.61: 
18/11/2020 13:46:21              dut.10.240.183.61: quit
18/11/2020 13:46:23              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:46:28               TestDcfLifeCycle: Set ADQ on PF
18/11/2020 13:46:28              dut.10.240.183.61: ethtool -K ens802f1 hw-tc-offload on
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc qdisc add dev ens802f1 ingress
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc qdisc show dev ens802f1
18/11/2020 13:46:28              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc ingress ffff: parent ffff:fff1 ---------------- 
18/11/2020 13:46:28              dut.10.240.183.61: tc qdisc add dev ens802f1 root mqprio num_tc 4 map 0 0 0 0 1 1 1 1 2 2 2 2 3 3 3 3 queues 4@0 4@4 8@8 8@16 hw 1 mode channel
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc filter add dev ens802f1 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc filter show dev ens802f1 parent ffff:
18/11/2020 13:46:28              dut.10.240.183.61: filter protocol ip pref 1 flower chain 0 
filter protocol ip pref 1 flower chain 0 handle 0x1 
  eth_type ipv4
  ip_proto tcp
  dst_ip 192.168.1.10
  in_hw in_hw_count 1
	action order 1: gact action pass
	 random type none pass val 0
	 index 1 ref 1 bind 1

18/11/2020 13:46:28               TestDcfLifeCycle: Remove ADQ on PF
18/11/2020 13:46:28              dut.10.240.183.61: tc filter del dev ens802f1 parent ffff: pref 1 protocol ip
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc filter show dev ens802f1 parent ffff:
18/11/2020 13:46:28              dut.10.240.183.61: 
18/11/2020 13:46:28              dut.10.240.183.61: tc qdisc del dev ens802f1 root mqprio
18/11/2020 13:46:29              dut.10.240.183.61: 
18/11/2020 13:46:29              dut.10.240.183.61: tc qdisc del dev ens802f1 ingress
18/11/2020 13:46:29              dut.10.240.183.61: 
18/11/2020 13:46:29              dut.10.240.183.61: tc qdisc show dev ens802f1
18/11/2020 13:46:29              dut.10.240.183.61: qdisc mq 0: root 
qdisc fq_codel 0: parent :48 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :47 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :46 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :45 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :44 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :43 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :42 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :41 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :40 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :39 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :38 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :37 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :36 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :35 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :34 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :33 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :32 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :31 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :30 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :29 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :28 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :27 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :26 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :25 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :24 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :23 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :22 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :21 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :20 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :19 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :18 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :17 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :16 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :15 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :14 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :13 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :12 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :11 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :10 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :f limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :e limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :d limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :c limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :b limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :a limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :9 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :8 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :7 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :6 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :5 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :4 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :3 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
qdisc fq_codel 0: parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn 
18/11/2020 13:46:29              dut.10.240.183.61: ethtool -K ens802f1 hw-tc-offload off
18/11/2020 13:46:29              dut.10.240.183.61: 
18/11/2020 13:46:34               TestDcfLifeCycle: Test Case test_dcf_with_adq_03 Result PASSED:
18/11/2020 13:46:34              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:46:35               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_01 Begin
18/11/2020 13:46:35              dut.10.240.183.61: 
18/11/2020 13:46:35                         tester: 
18/11/2020 13:46:35               TestDcfLifeCycle: begin : When L2 forwarding set, PF should reject the DCF mode
18/11/2020 13:46:35              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:46:35              dut.10.240.183.61: 
18/11/2020 13:46:35               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
18/11/2020 13:46:35              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload on
18/11/2020 13:46:36              dut.10.240.183.61: 
18/11/2020 13:46:36              dut.10.240.183.61: ip link add link macvlan0 link ens802f0 type macvlan
18/11/2020 13:46:36              dut.10.240.183.61: RTNETLINK answers: Device or resource busy
18/11/2020 13:46:36              dut.10.240.183.61: ip ad
18/11/2020 13:46:36              dut.10.240.183.61: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a4:bf:01:5a:af:08 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.61/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6::278/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6:0:a6bf:1ff:fe5a:af07/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::d8fd:9ff:fea1:ca16/64 scope link 
       valid_lft forever preferred_lft forever
1825: ens802f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c8/64 scope link 
       valid_lft forever preferred_lft forever
1826: ens802f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c9 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c9/64 scope link 
       valid_lft forever preferred_lft forever
1827: ens802f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:ca brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8ca/64 scope link 
       valid_lft forever preferred_lft forever
1828: ens802f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:cb brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8cb/64 scope link 
       valid_lft forever preferred_lft forever
18/11/2020 13:46:36              dut.10.240.183.61: ifconfig macvlan0 up
18/11/2020 13:46:36              dut.10.240.183.61: macvlan0: ERROR while getting interface flags: No such device
18/11/2020 13:46:36              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:46:37              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_dcf_get_vf_resource(): Failed to get response of OP_GET_VF_RESOURCE
ice_dcf_init_hw(): Failed to get VF resource
ice_dcf_dev_init(): Failed to init DCF hardware
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200044000
EAL: Requested device 0000:af:01.0 cannot be used
EAL: Bus (pci) probe failed.
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Done
18/11/2020 13:46:38              dut.10.240.183.61: quit
18/11/2020 13:46:39              dut.10.240.183.61: 

Bye...
18/11/2020 13:46:44               TestDcfLifeCycle: Remove MAC-VLAN commands
18/11/2020 13:46:44              dut.10.240.183.61: ip link del macvlan0
18/11/2020 13:46:44              dut.10.240.183.61: Cannot find device "macvlan0"
18/11/2020 13:46:44              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload off
18/11/2020 13:46:44              dut.10.240.183.61: 
18/11/2020 13:46:44              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:46:51              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:E3:CE:13:0F:C0
Checking link statuses...
Done
18/11/2020 13:46:52              dut.10.240.183.61: quit
18/11/2020 13:46:54              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:46:59               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_01 Result PASSED:
18/11/2020 13:46:59              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:47:00               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_02 Begin
18/11/2020 13:47:00              dut.10.240.183.61: 
18/11/2020 13:47:00                         tester: 
18/11/2020 13:47:00               TestDcfLifeCycle: begin : When DCF mode enabled, PF can't set L2 forwarding
18/11/2020 13:47:00              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:47:00              dut.10.240.183.61: 
18/11/2020 13:47:00              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:47:08              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:E3:CE:13:0F:C0
Checking link statuses...
Done
18/11/2020 13:47:09               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
18/11/2020 13:47:09              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload on
18/11/2020 13:47:09              dut.10.240.183.61: Could not change any device features
18/11/2020 13:47:09              dut.10.240.183.61: ip link add link macvlan0 link ens802f0 type macvlan
18/11/2020 13:47:09              dut.10.240.183.61: RTNETLINK answers: Device or resource busy
18/11/2020 13:47:09              dut.10.240.183.61: ip ad
18/11/2020 13:47:09              dut.10.240.183.61: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a4:bf:01:5a:af:08 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.61/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6::278/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6:0:a6bf:1ff:fe5a:af07/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::d8fd:9ff:fea1:ca16/64 scope link 
       valid_lft forever preferred_lft forever
1825: ens802f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c8/64 scope link 
       valid_lft forever preferred_lft forever
1826: ens802f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c9 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c9/64 scope link 
       valid_lft forever preferred_lft forever
1827: ens802f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:ca brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8ca/64 scope link 
       valid_lft forever preferred_lft forever
1828: ens802f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:cb brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8cb/64 scope link 
       valid_lft forever preferred_lft forever
18/11/2020 13:47:09              dut.10.240.183.61: ifconfig macvlan0 up
18/11/2020 13:47:09              dut.10.240.183.61: macvlan0: ERROR while getting interface flags: No such device
18/11/2020 13:47:09               TestDcfLifeCycle: Remove MAC-VLAN commands
18/11/2020 13:47:09              dut.10.240.183.61: ip link del macvlan0
18/11/2020 13:47:09              dut.10.240.183.61: Cannot find device "macvlan0"
18/11/2020 13:47:09              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload off
18/11/2020 13:47:09              dut.10.240.183.61: 
18/11/2020 13:47:09              dut.10.240.183.61: quit
18/11/2020 13:47:10              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:47:20               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
18/11/2020 13:47:20              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload on
18/11/2020 13:47:20              dut.10.240.183.61: 
18/11/2020 13:47:20              dut.10.240.183.61: ip link add link macvlan0 link ens802f0 type macvlan
18/11/2020 13:47:20              dut.10.240.183.61: 
18/11/2020 13:47:20              dut.10.240.183.61: ip ad
18/11/2020 13:47:20              dut.10.240.183.61: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a4:bf:01:5a:af:08 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.61/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6::278/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6:0:a6bf:1ff:fe5a:af07/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::d8fd:9ff:fea1:ca16/64 scope link 
       valid_lft forever preferred_lft forever
1825: ens802f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c8/64 scope link 
       valid_lft forever preferred_lft forever
1826: ens802f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c9 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c9/64 scope link 
       valid_lft forever preferred_lft forever
1827: ens802f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:ca brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8ca/64 scope link 
       valid_lft forever preferred_lft forever
1828: ens802f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:cb brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8cb/64 scope link 
       valid_lft forever preferred_lft forever
1829: macvlan0@ens802f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 72:68:13:95:2c:da brd ff:ff:ff:ff:ff:ff
18/11/2020 13:47:20              dut.10.240.183.61: ifconfig macvlan0 up
18/11/2020 13:47:20              dut.10.240.183.61: 
18/11/2020 13:47:20               TestDcfLifeCycle: Remove MAC-VLAN commands
18/11/2020 13:47:20              dut.10.240.183.61: ip link del macvlan0
18/11/2020 13:47:20              dut.10.240.183.61: 
18/11/2020 13:47:20              dut.10.240.183.61: ethtool -K ens802f0 l2-fwd-offload off
18/11/2020 13:47:20              dut.10.240.183.61: 
18/11/2020 13:47:25               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_02 Result PASSED:
18/11/2020 13:47:46               TestDcfLifeCycle: close vf devices
18/11/2020 13:47:46              dut.10.240.183.61: rmmod vfio_pci
18/11/2020 13:47:46              dut.10.240.183.61: rmmod: ERROR: Module vfio_pci is builtin.
18/11/2020 13:47:46              dut.10.240.183.61: rmmod vfio_iommu_type1
18/11/2020 13:47:47              dut.10.240.183.61: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
18/11/2020 13:47:47              dut.10.240.183.61: rmmod vfio
18/11/2020 13:47:47              dut.10.240.183.61: rmmod: ERROR: Module vfio is builtin.
18/11/2020 13:47:47              dut.10.240.183.61: modprobe vfio
18/11/2020 13:47:47              dut.10.240.183.61: 
18/11/2020 13:47:47              dut.10.240.183.61: modprobe vfio-pci
18/11/2020 13:47:47              dut.10.240.183.61: 
18/11/2020 13:47:47              dut.10.240.183.61: ls /sys/module|grep vfio_pci
18/11/2020 13:47:47              dut.10.240.183.61: vfio_pci
18/11/2020 13:47:47              dut.10.240.183.61: uname -a
18/11/2020 13:47:47              dut.10.240.183.61: Linux dpdk 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
18/11/2020 13:47:47              dut.10.240.183.61: modinfo ice | grep version:
18/11/2020 13:47:47              dut.10.240.183.61: version:        1.3.0_rc19_2_g2efd685f3_dirty
srcversion:     77DA2579289C903EE505DA5
srcversion:     BFC6FAF53A10AEE29C33AD1
18/11/2020 13:47:47              dut.10.240.183.61: modprobe sch_mqprio
18/11/2020 13:47:47              dut.10.240.183.61: 
18/11/2020 13:47:47              dut.10.240.183.61: modprobe act_mirred
18/11/2020 13:47:47              dut.10.240.183.61: 
18/11/2020 13:47:47              dut.10.240.183.61: modprobe cls_flower
18/11/2020 13:47:47              dut.10.240.183.61: 
18/11/2020 13:48:30               TestDcfLifeCycle: {0: {'pf_pci': '0000:af:00.0',
     'src_mac': '02:00:00:00:00:00',
     'vfs_mac': ['00:12:34:56:01:00',
                 '00:12:34:56:01:01',
                 '00:12:34:56:01:02',
                 '00:12:34:56:01:03'],
     'vfs_pci': ['0000:af:01.0',
                 '0000:af:01.1',
                 '0000:af:01.2',
                 '0000:af:01.3']},
 1: {'pf_pci': '0000:af:00.1',
     'src_mac': '02:00:00:00:00:01',
     'vfs_mac': ['00:12:34:56:02:00',
                 '00:12:34:56:02:01',
                 '00:12:34:56:02:02',
                 '00:12:34:56:02:03'],
     'vfs_pci': ['0000:af:09.0',
                 '0000:af:09.1',
                 '0000:af:09.2',
                 '0000:af:09.3']},
 2: {'pf_pci': '0000:af:00.2',
     'src_mac': '02:00:00:00:00:02',
     'vfs_mac': ['00:12:34:56:03:00',
                 '00:12:34:56:03:01',
                 '00:12:34:56:03:02',
                 '00:12:34:56:03:03'],
     'vfs_pci': ['0000:af:11.0',
                 '0000:af:11.1',
                 '0000:af:11.2',
                 '0000:af:11.3']},
 3: {'pf_pci': '0000:af:00.3',
     'src_mac': '02:00:00:00:00:03',
     'vfs_mac': ['00:12:34:56:04:00',
                 '00:12:34:56:04:01',
                 '00:12:34:56:04:02',
                 '00:12:34:56:04:03'],
     'vfs_pci': ['0000:af:19.0',
                 '0000:af:19.1',
                 '0000:af:19.2',
                 '0000:af:19.3']}}
18/11/2020 13:48:30              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:48:32               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_03 Begin
18/11/2020 13:48:32              dut.10.240.183.61:  
18/11/2020 13:48:32                         tester: 
18/11/2020 13:48:32               TestDcfLifeCycle: begin : DCF and L2 forwarding can be enabled on different PF
18/11/2020 13:48:32              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:48:32              dut.10.240.183.61: 
18/11/2020 13:48:32              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:48:40              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 72:15:9B:8B:C1:C5
Checking link statuses...
Done
18/11/2020 13:48:45               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
18/11/2020 13:48:45              dut.10.240.183.61: ethtool -K ens802f1 l2-fwd-offload on
18/11/2020 13:48:45              dut.10.240.183.61: 
18/11/2020 13:48:45              dut.10.240.183.61: ip link add link macvlan0 link ens802f1 type macvlan
18/11/2020 13:48:45              dut.10.240.183.61: 
18/11/2020 13:48:45              dut.10.240.183.61: ip ad
18/11/2020 13:48:45              dut.10.240.183.61: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a4:bf:01:5a:af:08 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.61/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6::278/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6:0:a6bf:1ff:fe5a:af07/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::d8fd:9ff:fea1:ca16/64 scope link 
       valid_lft forever preferred_lft forever
1830: ens802f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c8/64 scope link 
       valid_lft forever preferred_lft forever
1831: ens802f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c9 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c9/64 scope link 
       valid_lft forever preferred_lft forever
1832: ens802f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:ca brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8ca/64 scope link 
       valid_lft forever preferred_lft forever
1833: ens802f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:cb brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8cb/64 scope link 
       valid_lft forever preferred_lft forever
1834: macvlan0@ens802f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 42:92:7a:cd:09:af brd ff:ff:ff:ff:ff:ff
18/11/2020 13:48:45              dut.10.240.183.61: ifconfig macvlan0 up
18/11/2020 13:48:45              dut.10.240.183.61: 
18/11/2020 13:48:45               TestDcfLifeCycle: Remove MAC-VLAN commands
18/11/2020 13:48:45              dut.10.240.183.61: ip link del macvlan0
18/11/2020 13:48:45              dut.10.240.183.61: 
18/11/2020 13:48:45              dut.10.240.183.61: ethtool -K ens802f1 l2-fwd-offload off
18/11/2020 13:48:45              dut.10.240.183.61: 
18/11/2020 13:48:45              dut.10.240.183.61: quit
18/11/2020 13:48:46              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:48:51               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
18/11/2020 13:48:51              dut.10.240.183.61: ethtool -K ens802f1 l2-fwd-offload on
18/11/2020 13:48:51              dut.10.240.183.61: 
18/11/2020 13:48:51              dut.10.240.183.61: ip link add link macvlan0 link ens802f1 type macvlan
18/11/2020 13:48:52              dut.10.240.183.61: 
18/11/2020 13:48:52              dut.10.240.183.61: ip ad
18/11/2020 13:48:52              dut.10.240.183.61: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a4:bf:01:5a:af:08 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a4:bf:01:5a:af:07 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.61/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6::278/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fdcf:e32e:a0c6:0:a6bf:1ff:fe5a:af07/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::d8fd:9ff:fea1:ca16/64 scope link 
       valid_lft forever preferred_lft forever
1830: ens802f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c8/64 scope link 
       valid_lft forever preferred_lft forever
1831: ens802f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:c9 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8c9/64 scope link 
       valid_lft forever preferred_lft forever
1832: ens802f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:ca brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8ca/64 scope link 
       valid_lft forever preferred_lft forever
1833: ens802f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 68:05:ca:c1:b8:cb brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6a05:caff:fec1:b8cb/64 scope link 
       valid_lft forever preferred_lft forever
1835: macvlan0@ens802f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether a6:3c:88:28:15:db brd ff:ff:ff:ff:ff:ff
18/11/2020 13:48:52              dut.10.240.183.61: ifconfig macvlan0 up
18/11/2020 13:48:52              dut.10.240.183.61: 
18/11/2020 13:48:52               TestDcfLifeCycle: Remove MAC-VLAN commands
18/11/2020 13:48:52              dut.10.240.183.61: ip link del macvlan0
18/11/2020 13:48:52              dut.10.240.183.61: 
18/11/2020 13:48:52              dut.10.240.183.61: ethtool -K ens802f1 l2-fwd-offload off
18/11/2020 13:48:52              dut.10.240.183.61: 
18/11/2020 13:48:57               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_03 Result PASSED:
18/11/2020 13:49:18               TestDcfLifeCycle: close vf devices
18/11/2020 13:49:18              dut.10.240.183.61: rmmod vfio_pci
18/11/2020 13:49:18              dut.10.240.183.61: rmmod: ERROR: Module vfio_pci is builtin.
18/11/2020 13:49:18              dut.10.240.183.61: rmmod vfio_iommu_type1
18/11/2020 13:49:18              dut.10.240.183.61: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
18/11/2020 13:49:18              dut.10.240.183.61: rmmod vfio
18/11/2020 13:49:18              dut.10.240.183.61: rmmod: ERROR: Module vfio is builtin.
18/11/2020 13:49:18              dut.10.240.183.61: modprobe vfio
18/11/2020 13:49:18              dut.10.240.183.61: 
18/11/2020 13:49:18              dut.10.240.183.61: modprobe vfio-pci
18/11/2020 13:49:18              dut.10.240.183.61: 
18/11/2020 13:49:18              dut.10.240.183.61: ls /sys/module|grep vfio_pci
18/11/2020 13:49:19              dut.10.240.183.61: vfio_pci
18/11/2020 13:49:19              dut.10.240.183.61: uname -a
18/11/2020 13:49:19              dut.10.240.183.61: Linux dpdk 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
18/11/2020 13:49:19              dut.10.240.183.61: modinfo ice | grep version:
18/11/2020 13:49:19              dut.10.240.183.61: version:        1.3.0_rc19_2_g2efd685f3_dirty
srcversion:     77DA2579289C903EE505DA5
srcversion:     BFC6FAF53A10AEE29C33AD1
18/11/2020 13:49:19              dut.10.240.183.61: modprobe sch_mqprio
18/11/2020 13:49:19              dut.10.240.183.61: 
18/11/2020 13:49:19              dut.10.240.183.61: modprobe act_mirred
18/11/2020 13:49:19              dut.10.240.183.61: 
18/11/2020 13:49:19              dut.10.240.183.61: modprobe cls_flower
18/11/2020 13:49:19              dut.10.240.183.61: 
18/11/2020 13:50:02               TestDcfLifeCycle: {0: {'pf_pci': '0000:af:00.0',
     'src_mac': '02:00:00:00:00:00',
     'vfs_mac': ['00:12:34:56:01:00',
                 '00:12:34:56:01:01',
                 '00:12:34:56:01:02',
                 '00:12:34:56:01:03'],
     'vfs_pci': ['0000:af:01.0',
                 '0000:af:01.1',
                 '0000:af:01.2',
                 '0000:af:01.3']},
 1: {'pf_pci': '0000:af:00.1',
     'src_mac': '02:00:00:00:00:01',
     'vfs_mac': ['00:12:34:56:02:00',
                 '00:12:34:56:02:01',
                 '00:12:34:56:02:02',
                 '00:12:34:56:02:03'],
     'vfs_pci': ['0000:af:09.0',
                 '0000:af:09.1',
                 '0000:af:09.2',
                 '0000:af:09.3']},
 2: {'pf_pci': '0000:af:00.2',
     'src_mac': '02:00:00:00:00:02',
     'vfs_mac': ['00:12:34:56:03:00',
                 '00:12:34:56:03:01',
                 '00:12:34:56:03:02',
                 '00:12:34:56:03:03'],
     'vfs_pci': ['0000:af:11.0',
                 '0000:af:11.1',
                 '0000:af:11.2',
                 '0000:af:11.3']},
 3: {'pf_pci': '0000:af:00.3',
     'src_mac': '02:00:00:00:00:03',
     'vfs_mac': ['00:12:34:56:04:00',
                 '00:12:34:56:04:01',
                 '00:12:34:56:04:02',
                 '00:12:34:56:04:03'],
     'vfs_pci': ['0000:af:19.0',
                 '0000:af:19.1',
                 '0000:af:19.2',
                 '0000:af:19.3']}}
18/11/2020 13:50:02              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:50:03               TestDcfLifeCycle: Test Case test_handle_switch_filter_01 Begin
18/11/2020 13:50:03              dut.10.240.183.61:  
18/11/2020 13:50:03                         tester: 
18/11/2020 13:50:03               TestDcfLifeCycle: begin : Turn trust mode off, when DCF launched
18/11/2020 13:50:03              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:50:04              dut.10.240.183.61: 
18/11/2020 13:50:04              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:50:11              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:50:14              dut.10.240.183.61: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions vf id 1 / end
18/11/2020 13:50:15              dut.10.240.183.61: 
Flow rule #0 created
18/11/2020 13:50:15               TestDcfLifeCycle: Ether(dst='00:12:34:56:01:01', src='00:00:20:00:00:00')/IP(frag=0, src='192.168.0.2', tos=0, dst='192.168.0.3', version=4, ttl=64, id=1)/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXX')
18/11/2020 13:50:30              dut.10.240.183.61: ip link set ens802f0 vf 0 trust off
18/11/2020 13:50:31              dut.10.240.183.61: 
18/11/2020 13:50:47              dut.10.240.183.61: quit
18/11/2020 13:50:49              dut.10.240.183.61: 

Stopping port 0...
Stopping ports...
ice_dcf_execute_virtchnl_cmd(): No response (201 times) or return failure (-63) for cmd 9
ice_dcf_disable_queues(): Failed to execute command of OP_DISABLE_QUEUES
ice_dcf_stop_queues(): Fail to stop queues
ice_dcf_execute_virtchnl_cmd(): No response (201 times) or return failure (-63) for cmd 11
ice_dcf_add_del_all_mac_addr(): fail to execute command OP_DEL_ETHER_ADDRESS
Done

Shutting down port 0...
Closing ports...
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_flow_destroy(): Failed to destroy flow
ice_flow_flush(): Failed to flush flows
port_flow_complain(): Caught PMD error type 2 (flow rule (handle)): fail to destroy switch filter rule: Invalid argument
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_mode_disable(): Failed to get response of OP_DCF_DISABLE -5
Port 0 is closed
Done

Bye...
18/11/2020 13:50:54               TestDcfLifeCycle: Test Case test_handle_switch_filter_01 Result PASSED:
18/11/2020 13:50:54              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:50:56               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Begin
18/11/2020 13:50:56              dut.10.240.183.61: 
18/11/2020 13:50:56                         tester: 
18/11/2020 13:50:56               TestDcfLifeCycle: begin : Kill DCF process
18/11/2020 13:50:56              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:50:57              dut.10.240.183.61: 
18/11/2020 13:50:57              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:51:04              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:51:07              dut.10.240.183.61: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions vf id 1 / end
18/11/2020 13:51:08              dut.10.240.183.61: 
Flow rule #0 created
18/11/2020 13:51:08               TestDcfLifeCycle: Ether(dst='00:12:34:56:01:01', src='00:00:20:00:00:00')/IP(frag=0, src='192.168.0.2', tos=0, dst='192.168.0.3', version=4, ttl=64, id=1)/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXX')
18/11/2020 13:51:23              dut.10.240.183.61: ps aux | grep testpmd
18/11/2020 13:51:23              dut.10.240.183.61: root      791338 28.1  0.0 134441264 92392 pts/0 SLl+ 13:08   0:07 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i
root      791346 96.3  0.0 134433068 84208 pts/4 SLl+ 13:08   0:17 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0xf800000 -n 4 -w 0000:af:01.1 --file-prefix=vf -- -i
root      791356  0.0  0.0   6432   668 pts/3    S+   13:08   0:00 grep --color=auto testpmd
18/11/2020 13:51:23              dut.10.240.183.61: kill -9 `ps -ef | grep dpdk-testpmd  | grep -v grep | grep file-prefix=dcf | awk '{print $2}'`
18/11/2020 13:51:23              dut.10.240.183.61: 
18/11/2020 13:51:25              dut.10.240.183.61: ps aux | grep testpmd
18/11/2020 13:51:25              dut.10.240.183.61: root      791346 97.7  0.0 134433068 84208 pts/4 SLl+ 13:08   0:19 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0xf800000 -n 4 -w 0000:af:01.1 --file-prefix=vf -- -i
root      791364  0.0  0.0   6432   672 pts/3    S+   13:08   0:00 grep --color=auto testpmd
18/11/2020 13:51:46               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Result PASSED:
18/11/2020 13:51:46              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:51:48               TestDcfLifeCycle: Test Case test_handle_switch_filter_03 Begin
18/11/2020 13:51:48              dut.10.240.183.61: Killed
[PEXPECT]# 
18/11/2020 13:51:48                         tester: 
18/11/2020 13:51:48               TestDcfLifeCycle: begin : Launch 2nd DCF process on the same VF
18/11/2020 13:51:48              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:51:48              dut.10.240.183.61: 
18/11/2020 13:51:48              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:51:56              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:51:59              dut.10.240.183.61: quit
18/11/2020 13:52:00              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:52:05               TestDcfLifeCycle: Test Case test_handle_switch_filter_03 Result PASSED:
18/11/2020 13:52:05              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:52:07               TestDcfLifeCycle: Test Case test_handle_switch_filter_04 Begin
18/11/2020 13:52:07              dut.10.240.183.61: 
18/11/2020 13:52:07                         tester: 
18/11/2020 13:52:07               TestDcfLifeCycle: begin : DCF enabled, one of VF reset
18/11/2020 13:52:07              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:52:07              dut.10.240.183.61: 
18/11/2020 13:52:07              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:52:15              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:52:18              dut.10.240.183.61: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions vf id 1 / end
18/11/2020 13:52:19              dut.10.240.183.61: 
Flow rule #0 created
18/11/2020 13:52:19               TestDcfLifeCycle: Ether(dst='00:12:34:56:01:01', src='00:00:20:00:00:00')/IP(frag=0, src='192.168.0.2', tos=0, dst='192.168.0.3', version=4, ttl=64, id=1)/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXX')
18/11/2020 13:52:34              dut.10.240.183.61: ip link set ens802f0 vf 1 mac 00:01:02:03:04:05
18/11/2020 13:52:34              dut.10.240.183.61: 
18/11/2020 13:52:51              dut.10.240.183.61: quit
18/11/2020 13:52:52              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:52:57               TestDcfLifeCycle: Test Case test_handle_switch_filter_04 Result PASSED:
18/11/2020 13:52:57              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:52:59               TestDcfLifeCycle: Test Case test_support_dcf_mode_01 Begin
18/11/2020 13:52:59              dut.10.240.183.61: 
18/11/2020 13:52:59                         tester: 
18/11/2020 13:52:59               TestDcfLifeCycle: begin : DCF on 1 trust VF on 1 PF
18/11/2020 13:52:59              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:52:59              dut.10.240.183.61: 
18/11/2020 13:52:59              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=vf -- -i 
18/11/2020 13:53:07              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:53:08              dut.10.240.183.61: quit
18/11/2020 13:53:09              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:53:14               TestDcfLifeCycle: Test Case test_support_dcf_mode_01 Result PASSED:
18/11/2020 13:53:14              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:53:15               TestDcfLifeCycle: Test Case test_support_dcf_mode_02 Begin
18/11/2020 13:53:16              dut.10.240.183.61: 
18/11/2020 13:53:16                         tester: 
18/11/2020 13:53:16               TestDcfLifeCycle: begin : DCF on 2 PFs, 1 trust VF on each PF
18/11/2020 13:53:16              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:53:16              dut.10.240.183.61: 
18/11/2020 13:53:16              dut.10.240.183.61: ip link set ens802f1 vf 0 trust on
18/11/2020 13:53:16              dut.10.240.183.61: 
18/11/2020 13:53:16              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf1 -- -i 
18/11/2020 13:53:23              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf1/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:53:34              dut.10.240.183.61: quit
18/11/2020 13:53:36              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:53:41               TestDcfLifeCycle: Test Case test_support_dcf_mode_02 Result PASSED:
18/11/2020 13:53:41              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:53:42               TestDcfLifeCycle: Test Case test_support_dcf_mode_03 Begin
18/11/2020 13:53:42              dut.10.240.183.61: 
18/11/2020 13:53:43                         tester: 
18/11/2020 13:53:43               TestDcfLifeCycle: begin : Check only VF zero can get DCF mode
18/11/2020 13:53:43              dut.10.240.183.61: ip link set ens802f0 vf 1 trust on
18/11/2020 13:53:43              dut.10.240.183.61: 
18/11/2020 13:53:43              dut.10.240.183.61: dmesg -C
18/11/2020 13:53:43              dut.10.240.183.61: 
18/11/2020 13:53:43              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.1,cap=dcf --file-prefix=vf -- -i 
18/11/2020 13:53:44              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf/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_iavf (8086:1889) device: 0000:af:01.1 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.1
EAL: Calling pci_unmap_resource for 0000:af:01.1 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.1 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.1 (socket 1)
ice_dcf_get_vf_resource(): Failed to get response of OP_GET_VF_RESOURCE
ice_dcf_init_hw(): Failed to get VF resource
ice_dcf_dev_init(): Failed to init DCF hardware
EAL: Releasing pci mapped resource for 0000:af:01.1
EAL: Calling pci_unmap_resource for 0000:af:01.1 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:af:01.1 at 0x2200044000
EAL: Requested device 0000:af:01.1 cannot be used
EAL: Bus (pci) probe failed.
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Done
18/11/2020 13:53:45              dut.10.240.183.61: dmesg --color=never
18/11/2020 13:53:45              dut.10.240.183.61: [178055.563617] vfio-pci 0000:af:01.1: enabling device (0000 -> 0002)
[178055.930285] vfio-pci 0000:af:01.1: enabling device (0000 -> 0002)
[178056.148921] ice 0000:af:00.0: VF 1 requested DCF capability, but only VF 0 is allowed to request DCF capability
[178056.149609] ice 0000:af:00.0: VF 1 failed opcode 3, retval: -5
18/11/2020 13:53:45              dut.10.240.183.61: quit
18/11/2020 13:53:46              dut.10.240.183.61: 

Bye...
18/11/2020 13:53:51              dut.10.240.183.61: ip link set ens802f0 vf 1 trust off
18/11/2020 13:53:51              dut.10.240.183.61: 
18/11/2020 13:53:51               TestDcfLifeCycle: Test Case test_support_dcf_mode_03 Result PASSED:
18/11/2020 13:53:51              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:53:52               TestDcfLifeCycle: Test Case test_support_dcf_mode_04 Begin
18/11/2020 13:53:52              dut.10.240.183.61: 
18/11/2020 13:53:52                         tester: 
18/11/2020 13:53:52               TestDcfLifeCycle: begin : Check only trusted VF can get DCF mode
18/11/2020 13:53:52              dut.10.240.183.61: ip link set ens802f0 vf 0 trust off
18/11/2020 13:53:52              dut.10.240.183.61: 
18/11/2020 13:53:52              dut.10.240.183.61: dmesg -C
18/11/2020 13:53:52              dut.10.240.183.61: 
18/11/2020 13:53:52              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=vf -- -i 
18/11/2020 13:53:54              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_dcf_get_vf_resource(): Failed to get response of OP_GET_VF_RESOURCE
ice_dcf_init_hw(): Failed to get VF resource
ice_dcf_dev_init(): Failed to init DCF hardware
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200044000
EAL: Requested device 0000:af:01.0 cannot be used
EAL: Bus (pci) probe failed.
EAL: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Done
18/11/2020 13:53:55              dut.10.240.183.61: dmesg --color=never
18/11/2020 13:53:55              dut.10.240.183.61: [178065.115852] vfio-pci 0000:af:01.0: enabling device (0000 -> 0002)
[178065.482417] vfio-pci 0000:af:01.0: enabling device (0000 -> 0002)
[178065.700928] ice 0000:af:00.0: VF needs to be trusted to configure DCF capability
[178065.701790] ice 0000:af:00.0: VF 0 failed opcode 3, retval: -5
18/11/2020 13:53:55              dut.10.240.183.61: quit
18/11/2020 13:53:55              dut.10.240.183.61: 

Bye...
18/11/2020 13:54:00               TestDcfLifeCycle: Test Case test_support_dcf_mode_04 Result PASSED:
18/11/2020 13:54:00              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:54:01               TestDcfLifeCycle: Test Case test_support_dcf_mode_05 Begin
18/11/2020 13:54:01              dut.10.240.183.61: 
18/11/2020 13:54:02                         tester: 
18/11/2020 13:54:02               TestDcfLifeCycle: begin : DCF graceful exit
18/11/2020 13:54:02              dut.10.240.183.61: ip link set ens802f0 vf 0 trust on
18/11/2020 13:54:02              dut.10.240.183.61: 
18/11/2020 13:54:02              dut.10.240.183.61: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x7c0000 -n 4 -w 0000:af:01.0,cap=dcf --file-prefix=dcf -- -i 
18/11/2020 13:54:09              dut.10.240.183.61: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 20.11.0-rc4'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/dcf/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_iavf (8086:1889) device: 0000:af:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:af:01.0
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:af:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:af:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.23.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_1>: n=179456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc

Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.

Configuring Port 0 (socket 1)
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: AE:28:71:EB:81:BF
Checking link statuses...
Done
18/11/2020 13:54:13              dut.10.240.183.61: flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / end actions vf id 1 / end
18/11/2020 13:54:13              dut.10.240.183.61: 
Flow rule #0 created
18/11/2020 13:54:13               TestDcfLifeCycle: Ether(dst='00:12:34:56:01:01', src='00:00:20:00:00:00')/IP(frag=0, src='192.168.0.2', tos=0, dst='192.168.0.3', version=4, ttl=64, id=1)/Raw(load=b'XXXXXXXXXXXXXXXXXXXXXXXXXX')
18/11/2020 13:54:28              dut.10.240.183.61: quit
18/11/2020 13:54:29              dut.10.240.183.61: 

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

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

Bye...
18/11/2020 13:54:50               TestDcfLifeCycle: Test Case test_support_dcf_mode_05 Result PASSED:
18/11/2020 13:54:50              dut.10.240.183.61: kill_all: called by dut and has no prefix list.
18/11/2020 13:54:52                            dts: 
TEST SUITE ENDED: TestDcfLifeCycle
18/11/2020 13:55:16               TestDcfLifeCycle: close vf devices

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

* [dts]  [PATCH V1] tests/dcf_lifecycle  script optimization
@ 2020-11-18 14:14 sunqin
  2020-11-18  5:41 ` Sun, QinX
  2020-11-19  8:41 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: sunqin @ 2020-11-18 14:14 UTC (permalink / raw)
  To: dts; +Cc: sunqin

Optimization item:

1.Remove the copy command of dpdk-testpmd

2.Kill the app base on the app_name and file-prefix instead of the app_name

3.Add the prefilx './' before the bin file

Signed-off-by: sunqin <qinx.sun@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index 0923dab0..f303bc79 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -317,7 +317,7 @@ class TestDcfLifeCycle(TestCase):
             "{whitelist} "
             "--file-prefix={prefix} "
             "-- -i ").format(**{
-                'bin': self.vf_dcf_testpmd,
+                'bin': ''.join(['./',self.vf_dcf_testpmd]),
                 'core_mask': core_mask,
                 'mem_channel': self.dut.get_memory_channels(),
                 'whitelist': whitelist,
@@ -335,13 +335,14 @@ class TestDcfLifeCycle(TestCase):
             self.logger.error(traceback.format_exc())
         self.is_vf_dcf_pmd_on = False
 
-    def kill_vf_dcf_process(self):
+    def kill_vf_dcf_process(self,**kwargs):
         '''
         Kill DCF process
         '''
         cmd = "ps aux | grep testpmd"
         self.d_a_con(cmd)
-        cmd = r"kill -9 `ps -ef | grep %s | grep -v grep | grep -v %s | awk '{print $2}'`" % (self.vf_dcf_testpmd.split('/')[-1], self.vf_testpmd2.split('/')[-1])
+        file_prefix = '='.join(['file-prefix',kwargs['file_prefix']])
+        cmd = r"kill -9 `ps -ef | grep %s | grep -v grep | grep %s | awk '{print $2}'`" % (self.vf_dcf_testpmd.split('/')[-1], file_prefix)
         self.d_a_con(cmd)
         self.is_vf_dcf_pmd_on = False
         time.sleep(2)
@@ -357,14 +358,8 @@ class TestDcfLifeCycle(TestCase):
         self.verify(output, msg)
         return output
 
-    def create_vf_testpmd2(self):
-        self.vf_testpmd2 = self.dut.apps_name['testpmd_vf']
-        cmd = 'rm -f /root/dpdk/{vf_pmd2};cp /root/dpdk/{vf_dcf_pmd} /root/dpdk/{vf_pmd2}'.format(
-            **{'vf_dcf_pmd': self.vf_dcf_testpmd, 'vf_pmd2': self.vf_testpmd2})
-        self.d_a_con(cmd)
-
     def init_vf_testpmd2(self):
-        self.create_vf_testpmd2()
+        self.vf_testpmd2 = self.dut.apps_name['test-pmd']
         self.vf_pmd2_session_name = 'vf_testpmd2'
         self.vf_pmd2_session = self.dut.new_session(
             self.vf_pmd2_session_name)
@@ -382,7 +377,7 @@ class TestDcfLifeCycle(TestCase):
             "{whitelist} "
             "--file-prefix={prefix} "
             "-- -i ").format(**{
-                'bin': self.vf_testpmd2,
+                'bin': ''.join(['./',self.vf_testpmd2]),
                 'core_mask': core_mask,
                 'mem_channel': self.dut.get_memory_channels(),
                 'whitelist': whitelist,
@@ -460,7 +455,7 @@ class TestDcfLifeCycle(TestCase):
         self.verify(output, msg)
         return output
 
-    def check_vf_pmd2_traffic(self, func_name, topo=None, flag=False):
+    def check_vf_pmd2_traffic(self, func_name, topo=None, flag=False,**kwargs):
         dut_port_id, vf_id = topo if topo else [0, 1]
         pkt = self.config_stream(dut_port_id, vf_id)
         traffic = partial(self.send_packet_by_scapy, pkt, dut_port_id, vf_id)
@@ -468,7 +463,7 @@ class TestDcfLifeCycle(TestCase):
         self.vf_pmd2_clear_port_stats()
         self.check_vf_pmd2_stats(traffic, verbose_parser)
         status_change_func = getattr(self, func_name)
-        status_change_func()
+        status_change_func(**kwargs)
         self.check_vf_pmd2_stats(traffic, verbose_parser, is_traffic_valid=flag)
 
     def run_test_pre(self, pmd_opitons):
@@ -689,7 +684,7 @@ class TestDcfLifeCycle(TestCase):
             pmd_opts = [['pf1_vf0_dcf', 'dcf'], ['pf1_vf1', 'vf']]
             self.run_test_pre(pmd_opts)
             self.vf_dcf_testpmd_set_flow_rule()
-            self.check_vf_pmd2_traffic('kill_vf_dcf_process', flag=True)
+            self.check_vf_pmd2_traffic('kill_vf_dcf_process', flag=True,**{'file_prefix':pmd_opts[0][1]})
         except Exception as e:
             self.logger.error(traceback.format_exc())
             except_content = e
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/dcf_lifecycle  script optimization
  2020-11-18 14:14 [dts] [PATCH V1] tests/dcf_lifecycle script optimization sunqin
  2020-11-18  5:41 ` Sun, QinX
@ 2020-11-19  8:41 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-11-19  8:41 UTC (permalink / raw)
  To: Sun, QinX, dts; +Cc: Sun, QinX

> Optimization item:
> 
> 1.Remove the copy command of dpdk-testpmd
> 
> 2.Kill the app base on the app_name and file-prefix instead of the app_name
> 
> 3.Add the prefilx './' before the bin file
> 
> Signed-off-by: sunqin <qinx.sun@intel.com>

Applied

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 14:14 [dts] [PATCH V1] tests/dcf_lifecycle script optimization sunqin
2020-11-18  5:41 ` Sun, QinX
2020-11-19  8:41 ` 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).