test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores
  2020-12-25  1:48 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores Xie wei
@ 2020-12-25  1:47 ` Xie, WeiX
  2020-12-28  7:30 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-12-25  1:47 UTC (permalink / raw)
  To: dts

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

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei


> -----Original Message-----
> From: Xie wei [mailto:weix.xie@intel.com]
> Sent: Friday, December 25, 2020 9:49 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to
> get cores

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

24/12/2020 17:30:38                            dts: 
TEST SUITE : TestDcfLifeCycle
24/12/2020 17:30:38                            dts: NIC :        columbiaville_100g
24/12/2020 17:30:38             dut.10.240.183.133: 
24/12/2020 17:30:38                         tester: 
24/12/2020 17:30:38             dut.10.240.183.133: rmmod vfio_pci
24/12/2020 17:30:38             dut.10.240.183.133: rmmod: ERROR: Module vfio_pci is builtin.
24/12/2020 17:30:38             dut.10.240.183.133: rmmod vfio_iommu_type1
24/12/2020 17:30:38             dut.10.240.183.133: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
24/12/2020 17:30:38             dut.10.240.183.133: rmmod vfio
24/12/2020 17:30:38             dut.10.240.183.133: rmmod: ERROR: Module vfio is builtin.
24/12/2020 17:30:38             dut.10.240.183.133: modprobe vfio
24/12/2020 17:30:38             dut.10.240.183.133: 
24/12/2020 17:30:38             dut.10.240.183.133: modprobe vfio-pci
24/12/2020 17:30:38             dut.10.240.183.133: 
24/12/2020 17:30:38             dut.10.240.183.133: ls /sys/module|grep vfio_pci
24/12/2020 17:30:39             dut.10.240.183.133: vfio_pci
24/12/2020 17:30:39             dut.10.240.183.133: uname -a
24/12/2020 17:30:39             dut.10.240.183.133: Linux cvl-100g-c0 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
24/12/2020 17:30:39             dut.10.240.183.133: modinfo ice | grep version:
24/12/2020 17:30:39             dut.10.240.183.133: version:        1.3.0_dirty
srcversion:     20CB42AD81D568514046EC2
24/12/2020 17:30:39             dut.10.240.183.133: modprobe sch_mqprio
24/12/2020 17:30:39             dut.10.240.183.133: 
24/12/2020 17:30:39             dut.10.240.183.133: modprobe act_mirred
24/12/2020 17:30:39             dut.10.240.183.133: 
24/12/2020 17:30:39             dut.10.240.183.133: modprobe cls_flower
24/12/2020 17:30:39             dut.10.240.183.133: 
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
24/12/2020 17:30:46             dut.10.240.183.133: 0x8086
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
24/12/2020 17:30:46             dut.10.240.183.133: 0x1889
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/vendor
24/12/2020 17:30:46             dut.10.240.183.133: 0x8086
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.0/device
24/12/2020 17:30:46             dut.10.240.183.133: 0x1889
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
24/12/2020 17:30:46             dut.10.240.183.133: 0x8086
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
24/12/2020 17:30:46             dut.10.240.183.133: 0x1889
24/12/2020 17:30:46             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/vendor
24/12/2020 17:30:47             dut.10.240.183.133: 0x8086
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.1/device
24/12/2020 17:30:47             dut.10.240.183.133: 0x1889
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/vendor
24/12/2020 17:30:47             dut.10.240.183.133: 0x8086
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/device
24/12/2020 17:30:47             dut.10.240.183.133: 0x1889
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/vendor
24/12/2020 17:30:47             dut.10.240.183.133: 0x8086
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.2/device
24/12/2020 17:30:47             dut.10.240.183.133: 0x1889
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/vendor
24/12/2020 17:30:47             dut.10.240.183.133: 0x8086
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/device
24/12/2020 17:30:47             dut.10.240.183.133: 0x1889
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/vendor
24/12/2020 17:30:47             dut.10.240.183.133: 0x8086
24/12/2020 17:30:47             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:01.3/device
24/12/2020 17:30:47             dut.10.240.183.133: 0x1889
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/vendor
24/12/2020 17:30:58             dut.10.240.183.133: 0x8086
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/device
24/12/2020 17:30:58             dut.10.240.183.133: 0x1889
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/vendor
24/12/2020 17:30:58             dut.10.240.183.133: 0x8086
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.0/device
24/12/2020 17:30:58             dut.10.240.183.133: 0x1889
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/vendor
24/12/2020 17:30:58             dut.10.240.183.133: 0x8086
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/device
24/12/2020 17:30:58             dut.10.240.183.133: 0x1889
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/vendor
24/12/2020 17:30:58             dut.10.240.183.133: 0x8086
24/12/2020 17:30:58             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.1/device
24/12/2020 17:30:59             dut.10.240.183.133: 0x1889
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/vendor
24/12/2020 17:30:59             dut.10.240.183.133: 0x8086
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/device
24/12/2020 17:30:59             dut.10.240.183.133: 0x1889
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/vendor
24/12/2020 17:30:59             dut.10.240.183.133: 0x8086
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.2/device
24/12/2020 17:30:59             dut.10.240.183.133: 0x1889
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/vendor
24/12/2020 17:30:59             dut.10.240.183.133: 0x8086
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/device
24/12/2020 17:30:59             dut.10.240.183.133: 0x1889
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/vendor
24/12/2020 17:30:59             dut.10.240.183.133: 0x8086
24/12/2020 17:30:59             dut.10.240.183.133: cat /sys/bus/pci/devices/0000\:81\:11.3/device
24/12/2020 17:30:59             dut.10.240.183.133: 0x1889
24/12/2020 17:31:05               TestDcfLifeCycle: {0: {'pf_pci': '0000:81: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:81:01.0',
                 '0000:81:01.1',
                 '0000:81:01.2',
                 '0000:81:01.3']},
 1: {'pf_pci': '0000:81: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:81:11.0',
                 '0000:81:11.1',
                 '0000:81:11.2',
                 '0000:81:11.3']}}
24/12/2020 17:31:05               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_01 Begin
24/12/2020 17:31:05             dut.10.240.183.133: 
24/12/2020 17:31:05                         tester: 
24/12/2020 17:31:05               TestDcfLifeCycle: begin : add ACL rule by kernel, reject request for DCF functionality
24/12/2020 17:31:05             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:31:05             dut.10.240.183.133: 
24/12/2020 17:31:05             dut.10.240.183.133: ethtool -N ens801f0 flow-type tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
24/12/2020 17:31:05             dut.10.240.183.133: Added rule with ID 15871
24/12/2020 17:31:05             dut.10.240.183.133: dmesg -C
24/12/2020 17:31:05             dut.10.240.183.133: 
24/12/2020 17:31:05             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --log-level=ice,7 -- -i --port-topology=loop 
24/12/2020 17:31:08             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_dcf_init_parent_hw(): firmware 5.3.3 api 1.7.4 build 0xf35d64af
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_flow_init(): Failed to initialize engine 4
ice_dcf_init_parent_adapter(): Failed to initialize flow
ice_dcf_dev_init(): Failed to init DCF parent adapter
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200044000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:31:08             dut.10.240.183.133: dmesg --color=never
24/12/2020 17:31:08             dut.10.240.183.133: [274226.278219] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274226.641341] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274227.190816] ice 0000:81:00.0: Grant request for DCF functionality to VF0
[274227.190821] ice 0000:81:00.0: Failed to grant ACL capability to VF0 as ACL rules already exist
24/12/2020 17:31:08             dut.10.240.183.133: ethtool -N ens801f0 delete 15871
24/12/2020 17:31:08             dut.10.240.183.133: 
24/12/2020 17:31:08             dut.10.240.183.133: dmesg -C
24/12/2020 17:31:08             dut.10.240.183.133: 
24/12/2020 17:31:08             dut.10.240.183.133: quit
24/12/2020 17:31:08             dut.10.240.183.133: 

Bye...
24/12/2020 17:31:08             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --log-level=ice,7 -- -i --port-topology=loop 
24/12/2020 17:31:21             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_dcf_init_parent_hw(): firmware 5.3.3 api 1.7.4 build 0xf35d64af
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:31:21             dut.10.240.183.133: show port info all
24/12/2020 17:31:21             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: CE:A1:CF:C1:FC:03
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:31:21             dut.10.240.183.133: dmesg --color=never
24/12/2020 17:31:21             dut.10.240.183.133: [274229.217575] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274229.581078] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274230.126142] ice 0000:81:00.0: Grant request for DCF functionality to VF0
[274230.489012] ice 0000:81:00.1: Commit DCB Configuration to the hardware
[274230.886045] ice 0000:81:00.1 ens801f1: can't stop net device while reset is in progress
[274230.888376] ice 0000:81:00.1 ens801f1: can't open net device while reset is in progress
[274230.890540] ice 0000:81:00.1: Commit DCB Configuration to the hardware
[274231.011957] ice 0000:81:00.1 ens801f1: can't open net device while reset is in progress
24/12/2020 17:31:21             dut.10.240.183.133: quit
24/12/2020 17:31:22             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:31:22               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_01 Result PASSED:
24/12/2020 17:31:22             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:31:23               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_02 Begin
24/12/2020 17:31:24             dut.10.240.183.133: 
24/12/2020 17:31:24                         tester: 
24/12/2020 17:31:24               TestDcfLifeCycle: begin : add ACL rule by kernel, accept request for DCF functionality of another PF
24/12/2020 17:31:24             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:31:24             dut.10.240.183.133: 
24/12/2020 17:31:24             dut.10.240.183.133: ethtool -N ens801f1 flow-type tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
24/12/2020 17:31:24             dut.10.240.183.133: Added rule with ID 15871
24/12/2020 17:31:24             dut.10.240.183.133: dmesg -C
24/12/2020 17:31:24             dut.10.240.183.133: 
24/12/2020 17:31:24             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --log-level=ice,7 -- -i --port-topology=loop 
24/12/2020 17:31:36             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_dcf_init_parent_hw(): firmware 5.3.3 api 1.7.4 build 0xf35d64af
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:31:36             dut.10.240.183.133: show port info all
24/12/2020 17:31:36             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: CE:A1:CF:C1:FC:03
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:31:36             dut.10.240.183.133: dmesg --color=never
24/12/2020 17:31:36             dut.10.240.183.133: [274244.689085] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274245.053215] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[274245.596220] ice 0000:81:00.0: Grant request for DCF functionality to VF0
24/12/2020 17:31:36             dut.10.240.183.133: ethtool -N ens801f1 delete 15871
24/12/2020 17:31:36             dut.10.240.183.133: 
24/12/2020 17:31:36             dut.10.240.183.133: quit
24/12/2020 17:31:38             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:31:38               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_02 Result PASSED:
24/12/2020 17:31:38             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:31:39               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_03 Begin
24/12/2020 17:31:39             dut.10.240.183.133: 
24/12/2020 17:31:39                         tester: 
24/12/2020 17:31:39               TestDcfLifeCycle: begin : ACL DCF mode is active, add ACL filters by way of host based configuration is rejected
24/12/2020 17:31:39             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:31:39             dut.10.240.183.133: 
24/12/2020 17:31:39             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --log-level=ice,7 -- -i --port-topology=loop 
24/12/2020 17:31:52             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_dcf_init_parent_hw(): firmware 5.3.3 api 1.7.4 build 0xf35d64af
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:31:52             dut.10.240.183.133: show port info all
24/12/2020 17:31:52             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: CE:A1:CF:C1:FC:03
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:31:52             dut.10.240.183.133: ethtool -N ens801f0 flow-type tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
24/12/2020 17:31:52             dut.10.240.183.133: rmgr: Cannot insert RX class rule: No such file or directory
24/12/2020 17:31:52             dut.10.240.183.133: quit
24/12/2020 17:31:53             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:31:53             dut.10.240.183.133: ethtool -N ens801f0 flow-type tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
24/12/2020 17:31:53             dut.10.240.183.133: Added rule with ID 15871
24/12/2020 17:31:53             dut.10.240.183.133: ethtool -N ens801f0 delete 15871
24/12/2020 17:31:53             dut.10.240.183.133: 
24/12/2020 17:31:53               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_03 Result PASSED:
24/12/2020 17:31:53             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:31:54               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_04 Begin
24/12/2020 17:31:54             dut.10.240.183.133: 
24/12/2020 17:31:54                         tester: 
24/12/2020 17:31:54               TestDcfLifeCycle: begin : ACL DCF mode is active, add ACL filters by way of host based configuration on another PF successfully
24/12/2020 17:31:54             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:31:55             dut.10.240.183.133: 
24/12/2020 17:31:55             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --log-level=ice,7 -- -i --port-topology=loop 
24/12/2020 17:32:07             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_dcf_init_parent_hw(): firmware 5.3.3 api 1.7.4 build 0xf35d64af
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:32:07             dut.10.240.183.133: show port info all
24/12/2020 17:32:07             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: CE:A1:CF:C1:FC:03
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:32:07             dut.10.240.183.133: ethtool -N ens801f1 flow-type tcp4 src-ip 192.168.10.0 m 0.255.255.255 dst-port 8000 m 0x00ff action -1
24/12/2020 17:32:07             dut.10.240.183.133: Added rule with ID 15871
24/12/2020 17:32:07             dut.10.240.183.133: quit
24/12/2020 17:32:08             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:32:08             dut.10.240.183.133: ethtool -N ens801f1 delete 15871
24/12/2020 17:32:08             dut.10.240.183.133: 
24/12/2020 17:32:08               TestDcfLifeCycle: Test Case test_dcf_with_acl_filter_04 Result PASSED:
24/12/2020 17:32:08             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:32:10               TestDcfLifeCycle: Test Case test_dcf_with_adq_01 Begin
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10                         tester: 
24/12/2020 17:32:10               TestDcfLifeCycle: begin : When ADQ set on PF, PF should reject the DCF mode
24/12/2020 17:32:10             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10               TestDcfLifeCycle: Set ADQ on PF
24/12/2020 17:32:10             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload on
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10             dut.10.240.183.133: tc qdisc add dev ens801f0 ingress
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:32:10             dut.10.240.183.133: 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 ---------------- 
24/12/2020 17:32:10             dut.10.240.183.133: tc qdisc add dev ens801f0 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
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10             dut.10.240.183.133: tc filter add dev ens801f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
24/12/2020 17:32:10             dut.10.240.183.133: 
24/12/2020 17:32:10             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:32:10             dut.10.240.183.133: 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

24/12/2020 17:32:10             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:32:12             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81: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:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200044000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:32:13             dut.10.240.183.133: quit
24/12/2020 17:32:14             dut.10.240.183.133: 

Bye...
24/12/2020 17:32:19               TestDcfLifeCycle: Remove ADQ on PF
24/12/2020 17:32:19             dut.10.240.183.133: tc filter del dev ens801f0 parent ffff: pref 1 protocol ip
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: tc qdisc del dev ens801f0 root mqprio
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: tc qdisc del dev ens801f0 ingress
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload off
24/12/2020 17:32:19             dut.10.240.183.133: 
24/12/2020 17:32:19             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:32:32             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:32:33             dut.10.240.183.133: quit
24/12/2020 17:32:34             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:32:39               TestDcfLifeCycle: Test Case test_dcf_with_adq_01 Result PASSED:
24/12/2020 17:32:39             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:32:40               TestDcfLifeCycle: Test Case test_dcf_with_adq_02 Begin
24/12/2020 17:32:40             dut.10.240.183.133: 
24/12/2020 17:32:40                         tester: 
24/12/2020 17:32:40               TestDcfLifeCycle: begin : When DCF mode enabled, ADQ setting on PF shall fail
24/12/2020 17:32:40             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:32:40             dut.10.240.183.133: 
24/12/2020 17:32:40             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:32:53             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:32:54               TestDcfLifeCycle: Set ADQ on PF
24/12/2020 17:32:54             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload on
24/12/2020 17:32:54             dut.10.240.183.133: 
24/12/2020 17:32:54             dut.10.240.183.133: tc qdisc add dev ens801f0 ingress
24/12/2020 17:32:54             dut.10.240.183.133: 
24/12/2020 17:32:54             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:32:54             dut.10.240.183.133: qdisc ingress ffff: parent ffff:fff1 ---------------- 
24/12/2020 17:32:54             dut.10.240.183.133: tc qdisc add dev ens801f0 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
24/12/2020 17:32:54             dut.10.240.183.133: RTNETLINK answers: Operation not supported
24/12/2020 17:32:54             dut.10.240.183.133: tc filter add dev ens801f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
24/12/2020 17:32:54             dut.10.240.183.133: 
24/12/2020 17:32:54             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:32:54             dut.10.240.183.133: 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

24/12/2020 17:32:54               TestDcfLifeCycle: Remove ADQ on PF
24/12/2020 17:32:54             dut.10.240.183.133: tc filter del dev ens801f0 parent ffff: pref 1 protocol ip
24/12/2020 17:32:54             dut.10.240.183.133: 
24/12/2020 17:32:54             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:32:54             dut.10.240.183.133: 
24/12/2020 17:32:54             dut.10.240.183.133: tc qdisc del dev ens801f0 root mqprio
24/12/2020 17:32:55             dut.10.240.183.133: Error: Invalid qdisc name.
24/12/2020 17:32:55             dut.10.240.183.133: tc qdisc del dev ens801f0 ingress
24/12/2020 17:32:55             dut.10.240.183.133: 
24/12/2020 17:32:55             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:32:55             dut.10.240.183.133: 
24/12/2020 17:32:55             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload off
24/12/2020 17:32:55             dut.10.240.183.133: 
24/12/2020 17:32:55             dut.10.240.183.133: quit
24/12/2020 17:32:56             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:33:01               TestDcfLifeCycle: exclusive action occurs correctly
24/12/2020 17:33:01               TestDcfLifeCycle: Set ADQ on PF
24/12/2020 17:33:01             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload on
24/12/2020 17:33:01             dut.10.240.183.133: 
24/12/2020 17:33:01             dut.10.240.183.133: tc qdisc add dev ens801f0 ingress
24/12/2020 17:33:01             dut.10.240.183.133: 
24/12/2020 17:33:01             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:33:01             dut.10.240.183.133: qdisc ingress ffff: parent ffff:fff1 ---------------- 
24/12/2020 17:33:01             dut.10.240.183.133: tc qdisc add dev ens801f0 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
24/12/2020 17:33:01             dut.10.240.183.133: 
24/12/2020 17:33:01             dut.10.240.183.133: tc filter add dev ens801f0 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
24/12/2020 17:33:01             dut.10.240.183.133: 
24/12/2020 17:33:01             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:33:01             dut.10.240.183.133: 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

24/12/2020 17:33:01               TestDcfLifeCycle: Remove ADQ on PF
24/12/2020 17:33:01             dut.10.240.183.133: tc filter del dev ens801f0 parent ffff: pref 1 protocol ip
24/12/2020 17:33:01             dut.10.240.183.133: 
24/12/2020 17:33:01             dut.10.240.183.133: tc filter show dev ens801f0 parent ffff:
24/12/2020 17:33:02             dut.10.240.183.133: 
24/12/2020 17:33:02             dut.10.240.183.133: tc qdisc del dev ens801f0 root mqprio
24/12/2020 17:33:02             dut.10.240.183.133: 
24/12/2020 17:33:02             dut.10.240.183.133: tc qdisc del dev ens801f0 ingress
24/12/2020 17:33:02             dut.10.240.183.133: 
24/12/2020 17:33:02             dut.10.240.183.133: tc qdisc show dev ens801f0
24/12/2020 17:33:02             dut.10.240.183.133: 
24/12/2020 17:33:02             dut.10.240.183.133: ethtool -K ens801f0 hw-tc-offload off
24/12/2020 17:33:02             dut.10.240.183.133: 
24/12/2020 17:33:07               TestDcfLifeCycle: Test Case test_dcf_with_adq_02 Result PASSED:
24/12/2020 17:33:07             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:33:08               TestDcfLifeCycle: Test Case test_dcf_with_adq_03 Begin
24/12/2020 17:33:08             dut.10.240.183.133: 
24/12/2020 17:33:08                         tester: 
24/12/2020 17:33:08               TestDcfLifeCycle: begin : DCF and ADQ can be enabled on different PF
24/12/2020 17:33:08             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:33:08             dut.10.240.183.133: 
24/12/2020 17:33:08             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:33:21             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:33:22               TestDcfLifeCycle: Set ADQ on PF
24/12/2020 17:33:22             dut.10.240.183.133: ethtool -K ens801f1 hw-tc-offload on
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc qdisc add dev ens801f1 ingress
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc qdisc show dev ens801f1
24/12/2020 17:33:22             dut.10.240.183.133: 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 ---------------- 
24/12/2020 17:33:22             dut.10.240.183.133: tc qdisc add dev ens801f1 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
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc filter add dev ens801f1 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc filter show dev ens801f1 parent ffff:
24/12/2020 17:33:22             dut.10.240.183.133: 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

24/12/2020 17:33:22               TestDcfLifeCycle: Remove ADQ on PF
24/12/2020 17:33:22             dut.10.240.183.133: tc filter del dev ens801f1 parent ffff: pref 1 protocol ip
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc filter show dev ens801f1 parent ffff:
24/12/2020 17:33:22             dut.10.240.183.133: 
24/12/2020 17:33:22             dut.10.240.183.133: tc qdisc del dev ens801f1 root mqprio
24/12/2020 17:33:23             dut.10.240.183.133: 
24/12/2020 17:33:23             dut.10.240.183.133: tc qdisc del dev ens801f1 ingress
24/12/2020 17:33:23             dut.10.240.183.133: 
24/12/2020 17:33:23             dut.10.240.183.133: tc qdisc show dev ens801f1
24/12/2020 17:33:23             dut.10.240.183.133: 
24/12/2020 17:33:23             dut.10.240.183.133: ethtool -K ens801f1 hw-tc-offload off
24/12/2020 17:33:23             dut.10.240.183.133: 
24/12/2020 17:33:23             dut.10.240.183.133: quit
24/12/2020 17:33:24             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:33:29               TestDcfLifeCycle: Set ADQ on PF
24/12/2020 17:33:29             dut.10.240.183.133: ethtool -K ens801f1 hw-tc-offload on
24/12/2020 17:33:29             dut.10.240.183.133: 
24/12/2020 17:33:29             dut.10.240.183.133: tc qdisc add dev ens801f1 ingress
24/12/2020 17:33:29             dut.10.240.183.133: 
24/12/2020 17:33:29             dut.10.240.183.133: tc qdisc show dev ens801f1
24/12/2020 17:33:29             dut.10.240.183.133: qdisc ingress ffff: parent ffff:fff1 ---------------- 
24/12/2020 17:33:29             dut.10.240.183.133: tc qdisc add dev ens801f1 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
24/12/2020 17:33:29             dut.10.240.183.133: 
24/12/2020 17:33:29             dut.10.240.183.133: tc filter add dev ens801f1 protocol ip parent ffff: prio 1 flower dst_ip 192.168.1.10 ip_proto tcp action gact pass
24/12/2020 17:33:29             dut.10.240.183.133: 
24/12/2020 17:33:29             dut.10.240.183.133: tc filter show dev ens801f1 parent ffff:
24/12/2020 17:33:29             dut.10.240.183.133: 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

24/12/2020 17:33:29               TestDcfLifeCycle: Remove ADQ on PF
24/12/2020 17:33:29             dut.10.240.183.133: tc filter del dev ens801f1 parent ffff: pref 1 protocol ip
24/12/2020 17:33:29             dut.10.240.183.133: 
24/12/2020 17:33:29             dut.10.240.183.133: tc filter show dev ens801f1 parent ffff:
24/12/2020 17:33:30             dut.10.240.183.133: 
24/12/2020 17:33:30             dut.10.240.183.133: tc qdisc del dev ens801f1 root mqprio
24/12/2020 17:33:30             dut.10.240.183.133: 
24/12/2020 17:33:30             dut.10.240.183.133: tc qdisc del dev ens801f1 ingress
24/12/2020 17:33:30             dut.10.240.183.133: 
24/12/2020 17:33:30             dut.10.240.183.133: tc qdisc show dev ens801f1
24/12/2020 17:33:30             dut.10.240.183.133: 
24/12/2020 17:33:30             dut.10.240.183.133: ethtool -K ens801f1 hw-tc-offload off
24/12/2020 17:33:30             dut.10.240.183.133: 
24/12/2020 17:33:35               TestDcfLifeCycle: Test Case test_dcf_with_adq_03 Result PASSED:
24/12/2020 17:33:35             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:33:36               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_01 Begin
24/12/2020 17:33:36             dut.10.240.183.133: 
24/12/2020 17:33:36                         tester: 
24/12/2020 17:33:36               TestDcfLifeCycle: begin : When L2 forwarding set, PF should reject the DCF mode
24/12/2020 17:33:36             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:33:36             dut.10.240.183.133: 
24/12/2020 17:33:36               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
24/12/2020 17:33:36             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload on
24/12/2020 17:33:36             dut.10.240.183.133: 
24/12/2020 17:33:36             dut.10.240.183.133: ip link add link macvlan0 link ens801f0 type macvlan
24/12/2020 17:33:36             dut.10.240.183.133: RTNETLINK answers: Device or resource busy
24/12/2020 17:33:36             dut.10.240.183.133: ip ad
24/12/2020 17:33:36             dut.10.240.183.133: 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
2: eno0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:ec:e4:47 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.133/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528::443/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528:0:21e:67ff:feec:e446/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::fcfa:d5ff:fec2:23b1/64 scope link 
       valid_lft forever preferred_lft forever
1599: ens801f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:88 brd ff:ff:ff:ff:ff:ff
1600: ens801f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:89 brd ff:ff:ff:ff:ff:ff
24/12/2020 17:33:36             dut.10.240.183.133: ifconfig macvlan0 up
24/12/2020 17:33:37             dut.10.240.183.133: macvlan0: ERROR while getting interface flags: No such device
24/12/2020 17:33:37             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:33:38             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81: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:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200044000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:33:39             dut.10.240.183.133: quit
24/12/2020 17:33:40             dut.10.240.183.133: 

Bye...
24/12/2020 17:33:45               TestDcfLifeCycle: Remove MAC-VLAN commands
24/12/2020 17:33:45             dut.10.240.183.133: ip link del macvlan0
24/12/2020 17:33:45             dut.10.240.183.133: Cannot find device "macvlan0"
24/12/2020 17:33:45             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload off
24/12/2020 17:33:45             dut.10.240.183.133: 
24/12/2020 17:33:45             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:33:58             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:33:59             dut.10.240.183.133: quit
24/12/2020 17:34:00             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:34:05               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_01 Result PASSED:
24/12/2020 17:34:05             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:34:06               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_02 Begin
24/12/2020 17:34:06             dut.10.240.183.133: 
24/12/2020 17:34:06                         tester: 
24/12/2020 17:34:06               TestDcfLifeCycle: begin : When DCF mode enabled, PF can't set L2 forwarding
24/12/2020 17:34:06             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:34:06             dut.10.240.183.133: 
24/12/2020 17:34:06             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:34:19             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: CE:A1:CF:C1:FC:03
Checking link statuses...
Done
24/12/2020 17:34:20               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
24/12/2020 17:34:20             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload on
24/12/2020 17:34:20             dut.10.240.183.133: Could not change any device features
24/12/2020 17:34:20             dut.10.240.183.133: ip link add link macvlan0 link ens801f0 type macvlan
24/12/2020 17:34:20             dut.10.240.183.133: RTNETLINK answers: Device or resource busy
24/12/2020 17:34:20             dut.10.240.183.133: ip ad
24/12/2020 17:34:20             dut.10.240.183.133: 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
2: eno0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:ec:e4:47 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.133/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528::443/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528:0:21e:67ff:feec:e446/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::fcfa:d5ff:fec2:23b1/64 scope link 
       valid_lft forever preferred_lft forever
1599: ens801f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:88 brd ff:ff:ff:ff:ff:ff
1600: ens801f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:89 brd ff:ff:ff:ff:ff:ff
24/12/2020 17:34:20             dut.10.240.183.133: ifconfig macvlan0 up
24/12/2020 17:34:20             dut.10.240.183.133: macvlan0: ERROR while getting interface flags: No such device
24/12/2020 17:34:20               TestDcfLifeCycle: Remove MAC-VLAN commands
24/12/2020 17:34:20             dut.10.240.183.133: ip link del macvlan0
24/12/2020 17:34:20             dut.10.240.183.133: Cannot find device "macvlan0"
24/12/2020 17:34:20             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload off
24/12/2020 17:34:20             dut.10.240.183.133: 
24/12/2020 17:34:20             dut.10.240.183.133: quit
24/12/2020 17:34:21             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:34:31               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
24/12/2020 17:34:31             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload on
24/12/2020 17:34:31             dut.10.240.183.133: 
24/12/2020 17:34:31             dut.10.240.183.133: ip link add link macvlan0 link ens801f0 type macvlan
24/12/2020 17:34:31             dut.10.240.183.133: 
24/12/2020 17:34:31             dut.10.240.183.133: ip ad
24/12/2020 17:34:31             dut.10.240.183.133: 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
2: eno0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:ec:e4:47 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.133/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528::443/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528:0:21e:67ff:feec:e446/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::fcfa:d5ff:fec2:23b1/64 scope link 
       valid_lft forever preferred_lft forever
1599: ens801f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:88 brd ff:ff:ff:ff:ff:ff
1600: ens801f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:89 brd ff:ff:ff:ff:ff:ff
1601: macvlan0@ens801f0: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether ae:e9:f9:00:9a:34 brd ff:ff:ff:ff:ff:ff
24/12/2020 17:34:31             dut.10.240.183.133: ifconfig macvlan0 up
24/12/2020 17:34:31             dut.10.240.183.133: 
24/12/2020 17:34:31               TestDcfLifeCycle: Remove MAC-VLAN commands
24/12/2020 17:34:31             dut.10.240.183.133: ip link del macvlan0
24/12/2020 17:34:31             dut.10.240.183.133: 
24/12/2020 17:34:31             dut.10.240.183.133: ethtool -K ens801f0 l2-fwd-offload off
24/12/2020 17:34:31             dut.10.240.183.133: 
24/12/2020 17:34:36               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_02 Result PASSED:
24/12/2020 17:34:45               TestDcfLifeCycle: close vf devices
24/12/2020 17:34:45             dut.10.240.183.133: rmmod vfio_pci
24/12/2020 17:34:45             dut.10.240.183.133: rmmod: ERROR: Module vfio_pci is builtin.
24/12/2020 17:34:45             dut.10.240.183.133: rmmod vfio_iommu_type1
24/12/2020 17:34:45             dut.10.240.183.133: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
24/12/2020 17:34:45             dut.10.240.183.133: rmmod vfio
24/12/2020 17:34:45             dut.10.240.183.133: rmmod: ERROR: Module vfio is builtin.
24/12/2020 17:34:45             dut.10.240.183.133: modprobe vfio
24/12/2020 17:34:46             dut.10.240.183.133: 
24/12/2020 17:34:46             dut.10.240.183.133: modprobe vfio-pci
24/12/2020 17:34:46             dut.10.240.183.133: 
24/12/2020 17:34:46             dut.10.240.183.133: ls /sys/module|grep vfio_pci
24/12/2020 17:34:46             dut.10.240.183.133: vfio_pci
24/12/2020 17:34:46             dut.10.240.183.133: uname -a
24/12/2020 17:34:46             dut.10.240.183.133: Linux cvl-100g-c0 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
24/12/2020 17:34:46             dut.10.240.183.133: modinfo ice | grep version:
24/12/2020 17:34:46             dut.10.240.183.133: version:        1.3.0_dirty
srcversion:     20CB42AD81D568514046EC2
24/12/2020 17:34:46             dut.10.240.183.133: modprobe sch_mqprio
24/12/2020 17:34:46             dut.10.240.183.133: 
24/12/2020 17:34:46             dut.10.240.183.133: modprobe act_mirred
24/12/2020 17:34:46             dut.10.240.183.133: 
24/12/2020 17:34:46             dut.10.240.183.133: modprobe cls_flower
24/12/2020 17:34:46             dut.10.240.183.133: 
24/12/2020 17:35:09               TestDcfLifeCycle: {0: {'pf_pci': '0000:81: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:81:01.0',
                 '0000:81:01.1',
                 '0000:81:01.2',
                 '0000:81:01.3']},
 1: {'pf_pci': '0000:81: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:81:11.0',
                 '0000:81:11.1',
                 '0000:81:11.2',
                 '0000:81:11.3']}}
24/12/2020 17:35:09             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:35:10               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_03 Begin
24/12/2020 17:35:10             dut.10.240.183.133:  
24/12/2020 17:35:10                         tester: 
24/12/2020 17:35:10               TestDcfLifeCycle: begin : DCF and L2 forwarding can be enabled on different PF
24/12/2020 17:35:10             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:35:10             dut.10.240.183.133: 
24/12/2020 17:35:10             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:35:23             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 32:CB:E2:0B:7F:E3
Checking link statuses...
Done
24/12/2020 17:35:28               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
24/12/2020 17:35:28             dut.10.240.183.133: ethtool -K ens801f1 l2-fwd-offload on
24/12/2020 17:35:28             dut.10.240.183.133: 
24/12/2020 17:35:28             dut.10.240.183.133: ip link add link macvlan0 link ens801f1 type macvlan
24/12/2020 17:35:28             dut.10.240.183.133: 
24/12/2020 17:35:28             dut.10.240.183.133: ip ad
24/12/2020 17:35:28             dut.10.240.183.133: 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
2: eno0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:ec:e4:47 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.133/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528::443/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528:0:21e:67ff:feec:e446/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::fcfa:d5ff:fec2:23b1/64 scope link 
       valid_lft forever preferred_lft forever
1602: ens801f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:88 brd ff:ff:ff:ff:ff:ff
1603: ens801f1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:89 brd ff:ff:ff:ff:ff:ff
1604: macvlan0@ens801f1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 6a:6f:1d:ab:14:54 brd ff:ff:ff:ff:ff:ff
24/12/2020 17:35:28             dut.10.240.183.133: ifconfig macvlan0 up
24/12/2020 17:35:28             dut.10.240.183.133: 
24/12/2020 17:35:28               TestDcfLifeCycle: Remove MAC-VLAN commands
24/12/2020 17:35:28             dut.10.240.183.133: ip link del macvlan0
24/12/2020 17:35:28             dut.10.240.183.133: 
24/12/2020 17:35:28             dut.10.240.183.133: ethtool -K ens801f1 l2-fwd-offload off
24/12/2020 17:35:28             dut.10.240.183.133: 
24/12/2020 17:35:28             dut.10.240.183.133: quit
24/12/2020 17:35:30             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:35:35               TestDcfLifeCycle: change the ADQ commands to MAC-VLAN
24/12/2020 17:35:35             dut.10.240.183.133: ethtool -K ens801f1 l2-fwd-offload on
24/12/2020 17:35:35             dut.10.240.183.133: 
24/12/2020 17:35:35             dut.10.240.183.133: ip link add link macvlan0 link ens801f1 type macvlan
24/12/2020 17:35:35             dut.10.240.183.133: 
24/12/2020 17:35:35             dut.10.240.183.133: ip ad
24/12/2020 17:35:35             dut.10.240.183.133: 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
2: eno0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
3: enp1s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:1e:67:ec:e4:47 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:1e:67:ec:e4:46 brd ff:ff:ff:ff:ff:ff
    inet 10.240.183.133/24 brd 10.240.183.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528::443/128 scope global noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fd49:125d:a528:0:21e:67ff:feec:e446/64 scope global mngtmpaddr noprefixroute 
       valid_lft forever preferred_lft forever
    inet6 fe80::fcfa:d5ff:fec2:23b1/64 scope link 
       valid_lft forever preferred_lft forever
1602: ens801f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:88 brd ff:ff:ff:ff:ff:ff
1603: ens801f1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 40:a6:b7:0b:55:89 brd ff:ff:ff:ff:ff:ff
1605: macvlan0@ens801f1: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 72:f2:b0:21:20:39 brd ff:ff:ff:ff:ff:ff
24/12/2020 17:35:35             dut.10.240.183.133: ifconfig macvlan0 up
24/12/2020 17:35:35             dut.10.240.183.133: 
24/12/2020 17:35:35               TestDcfLifeCycle: Remove MAC-VLAN commands
24/12/2020 17:35:35             dut.10.240.183.133: ip link del macvlan0
24/12/2020 17:35:35             dut.10.240.183.133: 
24/12/2020 17:35:35             dut.10.240.183.133: ethtool -K ens801f1 l2-fwd-offload off
24/12/2020 17:35:35             dut.10.240.183.133: 
24/12/2020 17:35:40               TestDcfLifeCycle: Test Case test_dcf_with_l2fwd_03 Result PASSED:
24/12/2020 17:35:49               TestDcfLifeCycle: close vf devices
24/12/2020 17:35:49             dut.10.240.183.133: rmmod vfio_pci
24/12/2020 17:35:49             dut.10.240.183.133: rmmod: ERROR: Module vfio_pci is builtin.
24/12/2020 17:35:49             dut.10.240.183.133: rmmod vfio_iommu_type1
24/12/2020 17:35:49             dut.10.240.183.133: rmmod: ERROR: Module vfio_iommu_type1 is builtin.
24/12/2020 17:35:49             dut.10.240.183.133: rmmod vfio
24/12/2020 17:35:50             dut.10.240.183.133: rmmod: ERROR: Module vfio is builtin.
24/12/2020 17:35:50             dut.10.240.183.133: modprobe vfio
24/12/2020 17:35:50             dut.10.240.183.133: 
24/12/2020 17:35:50             dut.10.240.183.133: modprobe vfio-pci
24/12/2020 17:35:50             dut.10.240.183.133: 
24/12/2020 17:35:50             dut.10.240.183.133: ls /sys/module|grep vfio_pci
24/12/2020 17:35:50             dut.10.240.183.133: vfio_pci
24/12/2020 17:35:50             dut.10.240.183.133: uname -a
24/12/2020 17:35:50             dut.10.240.183.133: Linux cvl-100g-c0 5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
24/12/2020 17:35:50             dut.10.240.183.133: modinfo ice | grep version:
24/12/2020 17:35:50             dut.10.240.183.133: version:        1.3.0_dirty
srcversion:     20CB42AD81D568514046EC2
24/12/2020 17:35:50             dut.10.240.183.133: modprobe sch_mqprio
24/12/2020 17:35:50             dut.10.240.183.133: 
24/12/2020 17:35:50             dut.10.240.183.133: modprobe act_mirred
24/12/2020 17:35:50             dut.10.240.183.133: 
24/12/2020 17:35:50             dut.10.240.183.133: modprobe cls_flower
24/12/2020 17:35:50             dut.10.240.183.133: 
24/12/2020 17:36:13               TestDcfLifeCycle: {0: {'pf_pci': '0000:81: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:81:01.0',
                 '0000:81:01.1',
                 '0000:81:01.2',
                 '0000:81:01.3']},
 1: {'pf_pci': '0000:81: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:81:11.0',
                 '0000:81:11.1',
                 '0000:81:11.2',
                 '0000:81:11.3']}}
24/12/2020 17:36:13             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:36:14               TestDcfLifeCycle: Test Case test_handle_acl_filter_01 Begin
24/12/2020 17:36:14             dut.10.240.183.133:  
24/12/2020 17:36:14                         tester: 
24/12/2020 17:36:14               TestDcfLifeCycle: begin : Turn trust mode off, when DCF launched
24/12/2020 17:36:14             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:36:14             dut.10.240.183.133: 
24/12/2020 17:36:14             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:36:27             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:36:30             dut.10.240.183.133: set fwd mac
24/12/2020 17:36:30             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:36:30             dut.10.240.183.133: set verbose 1
24/12/2020 17:36:30             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:36:30             dut.10.240.183.133: start
24/12/2020 17:36:30             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:36:31             dut.10.240.183.133: show port info all
24/12/2020 17:36:32             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:36:32             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:36:32             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:36:32             dut.10.240.183.133: flow list 0
24/12/2020 17:36:32             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:36:33             dut.10.240.183.133: ip link set ens801f0 vf 0 trust off
24/12/2020 17:36:34             dut.10.240.183.133: 
24/12/2020 17:36:34             dut.10.240.183.133: flow list 0
24/12/2020 17:36:34             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:36:35             dut.10.240.183.133: quit
24/12/2020 17:36:42             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...
ice_dcf_execute_virtchnl_cmd(): No response (201 times) or return failure (-63) for cmd 15
ice_dcf_query_stats(): fail to execute command OP_GET_STATS
ice_dcf_stats_get(): Get statistics failed

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

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

Done.

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_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
ice_dcf_send_aq_cmd(): No response (201 times) or return failure (desc: -63 / buff: -63)
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...
24/12/2020 17:36:42             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:36:42             dut.10.240.183.133: 
24/12/2020 17:36:42             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:36:54             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:36:55             dut.10.240.183.133: set fwd mac
24/12/2020 17:36:55             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:36:55             dut.10.240.183.133: set verbose 1
24/12/2020 17:36:55             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:36:55             dut.10.240.183.133: start
24/12/2020 17:36:56             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:36:56             dut.10.240.183.133: flow list 0
24/12/2020 17:36:56             dut.10.240.183.133: 
24/12/2020 17:36:56             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:36:56             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:36:56             dut.10.240.183.133: flow list 0
24/12/2020 17:36:56             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:36:58             dut.10.240.183.133: quit
24/12/2020 17:36:59             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:37:04               TestDcfLifeCycle: Test Case test_handle_acl_filter_01 Result PASSED:
24/12/2020 17:37:04             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:37:06               TestDcfLifeCycle: Test Case test_handle_acl_filter_02 Begin
24/12/2020 17:37:06             dut.10.240.183.133: 
24/12/2020 17:37:06                         tester: 
24/12/2020 17:37:06               TestDcfLifeCycle: begin : Kill DCF process
24/12/2020 17:37:06             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:37:06             dut.10.240.183.133: 
24/12/2020 17:37:06             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:37:19             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:37:22             dut.10.240.183.133: set fwd mac
24/12/2020 17:37:22             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:37:22             dut.10.240.183.133: set verbose 1
24/12/2020 17:37:22             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:37:22             dut.10.240.183.133: start
24/12/2020 17:37:22             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:37:23             dut.10.240.183.133: show port info all
24/12/2020 17:37:23             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:37:24             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:37:24             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:37:24             dut.10.240.183.133: flow list 0
24/12/2020 17:37:24             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:37:25             dut.10.240.183.133: ps aux | grep testpmd
24/12/2020 17:37:25             dut.10.240.183.133: root     1630470 77.8  0.2 134416636 67776 pts/1 SLl+ 17:37   0:14 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i
root     1630475 97.4  0.1 134408440 59680 pts/3 SLl+ 17:37   0:04 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x18 -n 4 -w 0000:81:01.1 --file-prefix=vf1 -- -i
root     1630482  0.0  0.0   6432   740 pts/2    S+   17:37   0:00 grep --color=auto testpmd
24/12/2020 17:37:25             dut.10.240.183.133: kill -9 `ps -ef | grep dpdk-testpmd  | grep -v grep | grep cap=dcf | awk '{print $2}'`
24/12/2020 17:37:25             dut.10.240.183.133: 
24/12/2020 17:37:28             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:37:40             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:37:41             dut.10.240.183.133: set fwd mac
24/12/2020 17:37:41             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:37:41             dut.10.240.183.133: set verbose 1
24/12/2020 17:37:41             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:37:41             dut.10.240.183.133: start
24/12/2020 17:37:41             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:37:41             dut.10.240.183.133: flow list 0
24/12/2020 17:37:41             dut.10.240.183.133: 
24/12/2020 17:37:43             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:37:43             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:37:43             dut.10.240.183.133: flow list 0
24/12/2020 17:37:43             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:37:45             dut.10.240.183.133: quit
24/12/2020 17:37:46             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:37:51               TestDcfLifeCycle: Test Case test_handle_acl_filter_02 Result PASSED:
24/12/2020 17:37:51             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:37:53               TestDcfLifeCycle: Test Case test_handle_acl_filter_03 Begin
24/12/2020 17:37:53             dut.10.240.183.133: 
24/12/2020 17:37:53                         tester: 
24/12/2020 17:37:53               TestDcfLifeCycle: begin : Allow AVF request
24/12/2020 17:37:53             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:37:53             dut.10.240.183.133: 
24/12/2020 17:37:53             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:38:06             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:38:09             dut.10.240.183.133: set fwd mac
24/12/2020 17:38:09             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:38:09             dut.10.240.183.133: set verbose 1
24/12/2020 17:38:09             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:38:09             dut.10.240.183.133: start
24/12/2020 17:38:09             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:38:10             dut.10.240.183.133: show port info all
24/12/2020 17:38:11             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:38:11             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:38:11             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:38:11             dut.10.240.183.133: flow list 0
24/12/2020 17:38:11             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:38:12             dut.10.240.183.133: ps aux | grep testpmd
24/12/2020 17:38:12             dut.10.240.183.133: root     1630514 77.8  0.2 134416636 67776 pts/1 SLl+ 17:37   0:14 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i
root     1630519 97.4  0.1 134408440 59680 pts/3 SLl+ 17:38   0:04 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x18 -n 4 -w 0000:81:01.1 --file-prefix=vf1 -- -i
root     1630527  0.0  0.0   6432   668 pts/2    S+   17:38   0:00 grep --color=auto testpmd
24/12/2020 17:38:12             dut.10.240.183.133: kill -9 `ps -ef | grep dpdk-testpmd  | grep -v grep | grep cap=dcf | awk '{print $2}'`
24/12/2020 17:38:12             dut.10.240.183.133: 
24/12/2020 17:38:15             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0 --file-prefix=vf0 -- -i 
24/12/2020 17:38:18             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
iavf_execute_vf_cmd(): No response or return failure (0) for cmd 3
iavf_get_vf_resource(): Failed to execute command of OP_GET_VF_RESOURCE
iavf_init_vf(): iavf_get_vf_config failed
iavf_dev_init(): Init vf failed
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:38:18             dut.10.240.183.133: quit
24/12/2020 17:38:19             dut.10.240.183.133: 

Bye...
24/12/2020 17:38:19             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0 --file-prefix=vf0 -- -i 
24/12/2020 17:38:20             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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)
iavf_init_rss(): RSS is enabled by PF by default
iavf_configure_queues(): request RXDID[22] in Queue[0]

Port 0: link state change event

Port 0: link state change event
Port 0: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:38:21             dut.10.240.183.133: set fwd mac
24/12/2020 17:38:21             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:38:21             dut.10.240.183.133: set verbose 1
24/12/2020 17:38:21             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:38:21             dut.10.240.183.133: start
24/12/2020 17:38:21             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x10000
    RX queue: 0
      RX desc=512 - RX free threshold=32
      RX threshold registers: pthresh=0 hthresh=0  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=512 - TX free threshold=32
      TX threshold registers: pthresh=0 hthresh=0  wthresh=0
      TX offloads=0x10000 - TX RS bit threshold=32
24/12/2020 17:38:23             dut.10.240.183.133: quit
24/12/2020 17:38:24             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:38:29               TestDcfLifeCycle: Test Case test_handle_acl_filter_03 Result PASSED:
24/12/2020 17:38:29             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:38:31               TestDcfLifeCycle: Test Case test_handle_acl_filter_04 Begin
24/12/2020 17:38:31             dut.10.240.183.133: 
24/12/2020 17:38:31                         tester: 
24/12/2020 17:38:31               TestDcfLifeCycle: begin : DCF graceful exit
24/12/2020 17:38:31             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:38:31             dut.10.240.183.133: 
24/12/2020 17:38:31             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:38:44             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:38:47             dut.10.240.183.133: set fwd mac
24/12/2020 17:38:47             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:38:47             dut.10.240.183.133: set verbose 1
24/12/2020 17:38:47             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:38:47             dut.10.240.183.133: start
24/12/2020 17:38:47             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:38:48             dut.10.240.183.133: show port info all
24/12/2020 17:38:49             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:38:49             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:38:49             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:38:49             dut.10.240.183.133: flow list 0
24/12/2020 17:38:49             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:38:50             dut.10.240.183.133: quit
24/12/2020 17:38:51             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:38:53             dut.10.240.183.133: quit
24/12/2020 17:38:54             dut.10.240.183.133: 
Command '' not found, did you mean:

  command 'quilt' from deb quilt (0.65-3)
  command 'quiz' from deb bsdgames (2.17-28build1)
  command 'qgit' from deb qgit (2.9-1build1)
  command 'luit' from deb x11-utils (7.7+5)

Try: apt install <deb name>

24/12/2020 17:38:59               TestDcfLifeCycle: Test Case test_handle_acl_filter_04 Result PASSED:
24/12/2020 17:38:59             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:39:00               TestDcfLifeCycle: Test Case test_handle_acl_filter_05 Begin
24/12/2020 17:39:01             dut.10.240.183.133: 
24/12/2020 17:39:01                         tester: 
24/12/2020 17:39:01               TestDcfLifeCycle: begin : DCF enabled, AVF VF reset
24/12/2020 17:39:01             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:39:01             dut.10.240.183.133: 
24/12/2020 17:39:01             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:39:13             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:39:17             dut.10.240.183.133: set fwd mac
24/12/2020 17:39:17             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:39:17             dut.10.240.183.133: set verbose 1
24/12/2020 17:39:17             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:39:17             dut.10.240.183.133: start
24/12/2020 17:39:17             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:39:18             dut.10.240.183.133: show port info all
24/12/2020 17:39:18             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:39:18             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:39:18             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:39:18             dut.10.240.183.133: flow list 0
24/12/2020 17:39:18             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:39:22             dut.10.240.183.133: ip link set ens801f0 vf 1 mac 00:01:02:03:04:05
24/12/2020 17:39:22             dut.10.240.183.133: 
24/12/2020 17:39:24             dut.10.240.183.133: quit
24/12/2020 17:39:26             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:39:31               TestDcfLifeCycle: Test Case test_handle_acl_filter_05 Result PASSED:
24/12/2020 17:39:31             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:39:32               TestDcfLifeCycle: Test Case test_handle_acl_filter_06 Begin
24/12/2020 17:39:32             dut.10.240.183.133: 
24/12/2020 17:39:33                         tester: 
24/12/2020 17:39:33               TestDcfLifeCycle: begin : DCF enabled, DCF VF reset
24/12/2020 17:39:33             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:39:33             dut.10.240.183.133: 
24/12/2020 17:39:33             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf0 -- -i 
24/12/2020 17:39:45             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Multi-process socket /var/run/dpdk/vf0/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:39:49             dut.10.240.183.133: set fwd mac
24/12/2020 17:39:49             dut.10.240.183.133: 
Set mac packet forwarding mode
24/12/2020 17:39:49             dut.10.240.183.133: set verbose 1
24/12/2020 17:39:49             dut.10.240.183.133: 
Change verbose level from 0 to 1
24/12/2020 17:39:49             dut.10.240.183.133: start
24/12/2020 17:39:49             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:39:50             dut.10.240.183.133: show port info all
24/12/2020 17:39:50             dut.10.240.183.133: 

********************* Infos for port 0  *********************
MAC address: 4A:FB:87:9D:3D:21
Device name: 0000:81:01.0
Driver name: net_ice_dcf
Firmware-version: not available
Devargs: cap=dcf
Connect to socket: 1
memory allocation on the socket: 1
Link status: up
Link speed: None
Link duplex: half-duplex
MTU: 1500
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 1
Maximum number of MAC addresses of hash filtering: 0
VLAN offload: 
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 52
Redirection table size: 64
Supported RSS offload flow types:
  ipv4
  ipv4-frag
  ipv4-tcp
  ipv4-udp
  ipv4-sctp
  ipv4-other
  ipv6
  ipv6-frag
  ipv6-tcp
  ipv6-udp
  ipv6-sctp
  ipv6-other
  l2_payload
Minimum size of RX buffer: 1024
Maximum configurable length of RX packet: 9728
Maximum configurable size of LRO aggregated packet: 0
Current number of RX queues: 1
Max possible RX queues: 16
Max possible number of RXDs per queue: 4096
Min possible number of RXDs per queue: 64
RXDs number alignment: 32
Current number of TX queues: 1
Max possible TX queues: 16
Max possible number of TXDs per queue: 4096
Min possible number of TXDs per queue: 64
TXDs number alignment: 32
Max segment number per packet: 0
Max segment number per MTU/TSO: 0
24/12/2020 17:39:50             dut.10.240.183.133: flow create 0 priority 0 ingress pattern eth / ipv4 / tcp src spec 8010 src mask 65520 / end actions drop / end
24/12/2020 17:39:50             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:39:50             dut.10.240.183.133: flow list 0
24/12/2020 17:39:50             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:39:51             dut.10.240.183.133: stop
24/12/2020 17:39:51             dut.10.240.183.133: 
Telling cores to ...
Waiting for lcores to finish...

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

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

Done.
24/12/2020 17:39:51             dut.10.240.183.133: port stop 0
24/12/2020 17:39:52             dut.10.240.183.133: 
Stopping ports...
Checking link statuses...
Done
24/12/2020 17:39:52             dut.10.240.183.133: port reset 0
24/12/2020 17:39:52             dut.10.240.183.133: 
Resetting ports...
Failed to reset port 0. diag=-95
Done
24/12/2020 17:39:52             dut.10.240.183.133: port start 0
24/12/2020 17:39:52             dut.10.240.183.133: 
ice_dcf_init_rss(): RSS is enabled by PF by default
ice_dcf_configure_queues(): request RXDID == 16 in Queue[0]
Port 0: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:39:52             dut.10.240.183.133: start
24/12/2020 17:39:52             dut.10.240.183.133: 
mac packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 2 (socket 0) forwards packets on 1 streams:
  RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00

  mac packet forwarding packets/burst=32
  nb forwarding cores=1 - nb forwarding ports=1
  port 0: RX queue number: 1 Tx queue number: 1
    Rx offloads=0x0 Tx offloads=0x0
    RX queue: 0
      RX desc=0 - RX free threshold=32
      RX threshold registers: pthresh=8 hthresh=8  wthresh=0
      RX Offloads=0x0
    TX queue: 0
      TX desc=0 - TX free threshold=32
      TX threshold registers: pthresh=32 hthresh=0  wthresh=0
      TX offloads=0x0 - TX RS bit threshold=32
24/12/2020 17:39:52             dut.10.240.183.133: flow list 0
24/12/2020 17:39:52             dut.10.240.183.133: 
ID	Group	Prio	Attr	Rule
0	0	0	i--	ETH IPV4 TCP => DROP
24/12/2020 17:39:54             dut.10.240.183.133: quit
24/12/2020 17:39:55             dut.10.240.183.133: 
Telling cores to stop...
Waiting for lcores to finish...

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

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

Done.

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

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

Bye...
24/12/2020 17:40:00               TestDcfLifeCycle: Test Case test_handle_acl_filter_06 Result PASSED:
24/12/2020 17:40:00             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:40:02               TestDcfLifeCycle: Test Case test_handle_switch_filter_01 Begin
24/12/2020 17:40:02             dut.10.240.183.133: 
24/12/2020 17:40:02                         tester: 
24/12/2020 17:40:02               TestDcfLifeCycle: begin : Turn trust mode off, when DCF launched
24/12/2020 17:40:02             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:40:02             dut.10.240.183.133: 
24/12/2020 17:40:02             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:40:15             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:40:18             dut.10.240.183.133: 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
24/12/2020 17:40:19             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:40: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')
24/12/2020 17:40:34             dut.10.240.183.133: ip link set ens801f0 vf 0 trust off
24/12/2020 17:40:35             dut.10.240.183.133: 
24/12/2020 17:40:51             dut.10.240.183.133: quit
24/12/2020 17:40:54             dut.10.240.183.133: 

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...
24/12/2020 17:40:59               TestDcfLifeCycle: Test Case test_handle_switch_filter_01 Result PASSED:
24/12/2020 17:40:59             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:41:00               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Begin
24/12/2020 17:41:00             dut.10.240.183.133: 
24/12/2020 17:41:01                         tester: 
24/12/2020 17:41:01               TestDcfLifeCycle: begin : Kill DCF process
24/12/2020 17:41:01             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:41:01             dut.10.240.183.133: 
24/12/2020 17:41:01             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:41:13             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:41:17             dut.10.240.183.133: 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
24/12/2020 17:41:17             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:41:17               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')
24/12/2020 17:41:32             dut.10.240.183.133: ps aux | grep testpmd
24/12/2020 17:41:32             dut.10.240.183.133: root     1630701 39.3  0.2 134416636 67772 pts/1 SLl+ 17:40   0:12 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i
root     1630706 98.6  0.1 134408440 59680 pts/3 SLl+ 17:41   0:17 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x18 -n 4 -w 0000:81:01.1 --file-prefix=vf -- -i
root     1630713  0.0  0.0   6432   736 pts/2    S+   17:41   0:00 grep --color=auto testpmd
24/12/2020 17:41:32             dut.10.240.183.133: kill -9 `ps -ef | grep dpdk-testpmd  | grep -v grep | grep file-prefix=dcf | awk '{print $2}'`
24/12/2020 17:41:33             dut.10.240.183.133: 
24/12/2020 17:41:35             dut.10.240.183.133: ps aux | grep testpmd
24/12/2020 17:41:35             dut.10.240.183.133: root     1630706 99.8  0.1 134408440 59680 pts/3 SLl+ 17:41   0:19 ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -v -c 0x18 -n 4 -w 0000:81:01.1 --file-prefix=vf -- -i
root     1630721  0.0  0.0   6432   672 pts/2    S+   17:41   0:00 grep --color=auto testpmd
24/12/2020 17:41:56               TestDcfLifeCycle: Test Case test_handle_switch_filter_02 Result PASSED:
24/12/2020 17:41:56             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:41:58               TestDcfLifeCycle: Test Case test_handle_switch_filter_03 Begin
24/12/2020 17:41:58             dut.10.240.183.133: Killed
[PEXPECT]# 
24/12/2020 17:41:58                         tester: 
24/12/2020 17:41:58               TestDcfLifeCycle: begin : Launch 2nd DCF process on the same VF
24/12/2020 17:41:58             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:41:58             dut.10.240.183.133: 
24/12/2020 17:41:58             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:42:10             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:42:13             dut.10.240.183.133: quit
24/12/2020 17:42:15             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:42:20               TestDcfLifeCycle: Test Case test_handle_switch_filter_03 Result PASSED:
24/12/2020 17:42:20             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:42:21               TestDcfLifeCycle: Test Case test_handle_switch_filter_04 Begin
24/12/2020 17:42:21             dut.10.240.183.133: 
24/12/2020 17:42:22                         tester: 
24/12/2020 17:42:22               TestDcfLifeCycle: begin : DCF enabled, one of VF reset
24/12/2020 17:42:22             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:42:22             dut.10.240.183.133: 
24/12/2020 17:42:22             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:42:34             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:42:38             dut.10.240.183.133: 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
24/12/2020 17:42:38             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:42:38               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')
24/12/2020 17:42:53             dut.10.240.183.133: ip link set ens801f0 vf 1 mac 00:01:02:03:04:05
24/12/2020 17:42:53             dut.10.240.183.133: 
24/12/2020 17:43:10             dut.10.240.183.133: quit
24/12/2020 17:43:11             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:43:16               TestDcfLifeCycle: Test Case test_handle_switch_filter_04 Result PASSED:
24/12/2020 17:43:16             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:43:18               TestDcfLifeCycle: Test Case test_support_dcf_mode_01 Begin
24/12/2020 17:43:18             dut.10.240.183.133: 
24/12/2020 17:43:18                         tester: 
24/12/2020 17:43:18               TestDcfLifeCycle: begin : DCF on 1 trust VF on 1 PF
24/12/2020 17:43:18             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:43:18             dut.10.240.183.133: 
24/12/2020 17:43:18             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf -- -i 
24/12/2020 17:43:31             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:43:32             dut.10.240.183.133: quit
24/12/2020 17:43:33             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:43:38               TestDcfLifeCycle: Test Case test_support_dcf_mode_01 Result PASSED:
24/12/2020 17:43:38             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:43:39               TestDcfLifeCycle: Test Case test_support_dcf_mode_02 Begin
24/12/2020 17:43:39             dut.10.240.183.133: 
24/12/2020 17:43:40                         tester: 
24/12/2020 17:43:40               TestDcfLifeCycle: begin : DCF on 2 PFs, 1 trust VF on each PF
24/12/2020 17:43:40             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:43:40             dut.10.240.183.133: 
24/12/2020 17:43:40             dut.10.240.183.133: ip link set ens801f1 vf 0 trust on
24/12/2020 17:43:40             dut.10.240.183.133: 
24/12/2020 17:43:40             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf1 -- -i 
24/12/2020 17:43:52             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:44:08             dut.10.240.183.133: quit
24/12/2020 17:44:09             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:44:14               TestDcfLifeCycle: Test Case test_support_dcf_mode_02 Result PASSED:
24/12/2020 17:44:14             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:44:16               TestDcfLifeCycle: Test Case test_support_dcf_mode_03 Begin
24/12/2020 17:44:16             dut.10.240.183.133: 
24/12/2020 17:44:16                         tester: 
24/12/2020 17:44:16               TestDcfLifeCycle: begin : Check only VF zero can get DCF mode
24/12/2020 17:44:16             dut.10.240.183.133: ip link set ens801f0 vf 1 trust on
24/12/2020 17:44:16             dut.10.240.183.133: 
24/12/2020 17:44:16             dut.10.240.183.133: dmesg -C
24/12/2020 17:44:16             dut.10.240.183.133: 
24/12/2020 17:44:16             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.1,cap=dcf --file-prefix=vf -- -i 
24/12/2020 17:44:18             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.1 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.1
EAL: Calling pci_unmap_resource for 0000:81:01.1 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.1 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81: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:81:01.1
EAL: Calling pci_unmap_resource for 0000:81:01.1 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:81:01.1 at 0x2200044000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:44:19             dut.10.240.183.133: dmesg --color=never
24/12/2020 17:44:19             dut.10.240.183.133: [275017.257290] vfio-pci 0000:81:01.1: enabling device (0000 -> 0002)
[275017.621981] vfio-pci 0000:81:01.1: enabling device (0000 -> 0002)
[275018.169633] ice 0000:81:00.0: VF 1 requested DCF capability, but only VF 0 is allowed to request DCF capability
[275018.170161] ice 0000:81:00.0: VF 1 failed opcode 3, retval: -5
24/12/2020 17:44:19             dut.10.240.183.133: quit
24/12/2020 17:44:20             dut.10.240.183.133: 

Bye...
24/12/2020 17:44:25             dut.10.240.183.133: ip link set ens801f0 vf 1 trust off
24/12/2020 17:44:25             dut.10.240.183.133: 
24/12/2020 17:44:25               TestDcfLifeCycle: Test Case test_support_dcf_mode_03 Result PASSED:
24/12/2020 17:44:25             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:44:26               TestDcfLifeCycle: Test Case test_support_dcf_mode_04 Begin
24/12/2020 17:44:26             dut.10.240.183.133: 
24/12/2020 17:44:26                         tester: 
24/12/2020 17:44:26               TestDcfLifeCycle: begin : Check only trusted VF can get DCF mode
24/12/2020 17:44:26             dut.10.240.183.133: ip link set ens801f0 vf 0 trust off
24/12/2020 17:44:26             dut.10.240.183.133: 
24/12/2020 17:44:26             dut.10.240.183.133: dmesg -C
24/12/2020 17:44:26             dut.10.240.183.133: 
24/12/2020 17:44:26             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=vf -- -i 
24/12/2020 17:44:28             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81: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:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200024000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200044000
EAL: Requested device 0000:81: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_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
24/12/2020 17:44:29             dut.10.240.183.133: dmesg --color=never
24/12/2020 17:44:29             dut.10.240.183.133: [275027.332280] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[275027.697236] vfio-pci 0000:81:01.0: enabling device (0000 -> 0002)
[275028.243311] ice 0000:81:00.0: VF needs to be trusted to configure DCF capability
[275028.243815] ice 0000:81:00.0: VF 0 failed opcode 3, retval: -5
24/12/2020 17:44:29             dut.10.240.183.133: quit
24/12/2020 17:44:30             dut.10.240.183.133: 

Bye...
24/12/2020 17:44:35               TestDcfLifeCycle: Test Case test_support_dcf_mode_04 Result PASSED:
24/12/2020 17:44:35             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:44:36               TestDcfLifeCycle: Test Case test_support_dcf_mode_05 Begin
24/12/2020 17:44:36             dut.10.240.183.133: 
24/12/2020 17:44:36                         tester: 
24/12/2020 17:44:36               TestDcfLifeCycle: begin : DCF graceful exit
24/12/2020 17:44:36             dut.10.240.183.133: ip link set ens801f0 vf 0 trust on
24/12/2020 17:44:36             dut.10.240.183.133: 
24/12/2020 17:44:36             dut.10.240.183.133: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -v -c 0x6 -n 4 -w 0000:81:01.0,cap=dcf --file-prefix=dcf -- -i 
24/12/2020 17:44:49             dut.10.240.183.133: EAL: Detected 72 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: RTE Version: 'DPDK 21.02.0-rc0'
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: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:81:01.0 (socket 1)
EAL: Releasing pci mapped resource for 0000:81:01.0
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200000000
EAL: Calling pci_unmap_resource for 0000:81:01.0 at 0x2200020000
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ice_dcf (8086:1889) device: 0000:81:01.0 (socket 1)
ice_load_pkg_type(): Active package is: 1.3.24.0, ICE COMMS Package
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=155456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=155456, 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: 4A:FB:87:9D:3D:21
Checking link statuses...
Done
24/12/2020 17:44:53             dut.10.240.183.133: 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
24/12/2020 17:44:53             dut.10.240.183.133: 
Flow rule #0 created
24/12/2020 17:44:53               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')
24/12/2020 17:45:08             dut.10.240.183.133: quit
24/12/2020 17:45:09             dut.10.240.183.133: 

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

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

Bye...
24/12/2020 17:45:30               TestDcfLifeCycle: Test Case test_support_dcf_mode_05 Result PASSED:
24/12/2020 17:45:30             dut.10.240.183.133: kill_all: called by dut and has no prefix list.
24/12/2020 17:45:32                            dts: 
TEST SUITE ENDED: TestDcfLifeCycle
24/12/2020 17:45:44               TestDcfLifeCycle: close vf devices

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

* [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores
@ 2020-12-25  1:48 Xie wei
  2020-12-25  1:47 ` Xie, WeiX
  2020-12-28  7:30 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-12-25  1:48 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

1.change the way to get cores, some env cores are less than 14, it makes testpmd launch failed. And when several testpmd are started at the same time, different cores should be used.
2.the ACL rule id need to match, not hard code. 

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index f3189316..b5e60183 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -307,8 +307,7 @@ class TestDcfLifeCycle(TestCase):
 
     def start_vf_dcf_testpmd(self, pmd_opiton):
         whitelist_name, prefix = pmd_opiton
-        cores = self.corelist[:5]
-        core_mask = utils.create_mask(cores)
+        core_mask = utils.create_mask(self.core_pf)
         whitelist = self.vf_whitelist().get(whitelist_name)
         cmd = (
             "{bin} "
@@ -367,8 +366,7 @@ class TestDcfLifeCycle(TestCase):
 
     def start_vf_testpmd2(self, pmd_opiton):
         whitelist_name, prefix = pmd_opiton
-        cores = self.corelist[5:]
-        core_mask = utils.create_mask(cores)
+        core_mask = utils.create_mask(self.core_vf)
         whitelist = self.vf_whitelist().get(whitelist_name)
         cmd = (
             "{bin} "
@@ -997,8 +995,9 @@ class TestDcfLifeCycle(TestCase):
     def preset_pmd_res(self):
         self.dcf_dev_id = '8086:1889'
         self.socket = self.dut.get_numa_id(self.dut_ports[0])
-        self.corelist = self.dut.get_core_list(
-            "1S/14C/1T", socket=self.socket)[4:]
+        self.dut.init_reserved_core()
+        self.core_pf = self.dut.get_reserved_core('2C', 0)
+        self.core_vf = self.dut.get_reserved_core('2C', 0)
 
     def clear_flags(self):
         self.is_vf_dcf_pmd_on = self.is_vf_pmd2_on = False
@@ -1268,12 +1267,14 @@ class TestDcfLifeCycle(TestCase):
             self.verify('rmgr: Cannot insert RX class rule: No such file or directory' in out,
                         'success to add ACL filter')
         else:
-            self.verify('Added rule with ID 15871' in out, 'add rule failed')
+            pattern = re.compile('.*Added\s+rule\s+with\s+ID\s+(\d+)')
+            res = re.search(pattern, out)
+            self.verify(res, 'NO ACL rule id matched')
+            self.rule_id = res.group(1)
 
     def launch_dcf_testpmd(self):
         # launch testpmd on VF0 requesting for DCF funtionality
-        cores = self.corelist[:5]
-        core_mask = utils.create_mask(cores)
+        core_mask = utils.create_mask(self.core_pf)
         whitelist = self.vf_whitelist().get('pf1_vf0_dcf')
         cmd_dcf = (
             "{bin} "
@@ -1296,7 +1297,7 @@ class TestDcfLifeCycle(TestCase):
     def delete_acl_rule_by_kernel_cmd(self, port_id=0):
         # delete the kernel ACL rule
         intf = self.dut.ports_info[port_id]['port'].intf_name
-        self.d_a_con('ethtool -N %s delete 15871' % intf)
+        self.d_a_con('ethtool -N %s delete %s' % (intf, self.rule_id))
 
     def test_handle_acl_filter_01(self):
         '''
@@ -1356,8 +1357,7 @@ class TestDcfLifeCycle(TestCase):
         self.send_pkt_to_vf1_again()
 
         # re-launch AVF on VF0
-        cores = self.corelist[:5]
-        core_mask = utils.create_mask(cores)
+        core_mask = utils.create_mask(self.core_pf)
         whitelist = self.vf_whitelist().get('pf1_vf0')
         cmd = (
             "{bin} "
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores
  2020-12-25  1:48 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores Xie wei
  2020-12-25  1:47 ` Xie, WeiX
@ 2020-12-28  7:30 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-12-28  7:30 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> 1.change the way to get cores, some env cores are less than 14, it makes
> testpmd launch failed. And when several testpmd are started at the same
> time, different cores should be used.
> 2.the ACL rule id need to match, not hard code.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>

Applied with commit message changed

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

end of thread, other threads:[~2020-12-28  7:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-25  1:48 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:change the way to get cores Xie wei
2020-12-25  1:47 ` Xie, WeiX
2020-12-28  7:30 ` 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).