get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/129266/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 129266,
    "url": "https://patches.dpdk.org/api/patches/129266/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20230705105344.1031168-4-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230705105344.1031168-4-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230705105344.1031168-4-zhiminx.huang@intel.com",
    "date": "2023-07-05T10:53:41",
    "name": "[V2,3/6] test_plans/kernelpf_vf_test_plan:add new plan to cover most of the basic vf cases",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "299899101755b3dfc522aa413f9aa8299a4ec00b",
    "submitter": {
        "id": 1685,
        "url": "https://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20230705105344.1031168-4-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 28816,
            "url": "https://patches.dpdk.org/api/series/28816/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=28816",
            "date": "2023-07-05T10:53:38",
            "name": "add new common module and add new suites",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/28816/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/129266/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/129266/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 50AAC42DAB;\n\tWed,  5 Jul 2023 04:38:35 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4862D40ED8;\n\tWed,  5 Jul 2023 04:38:35 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 73CFF406BC\n for <dts@dpdk.org>; Wed,  5 Jul 2023 04:38:33 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Jul 2023 19:38:32 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.96])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Jul 2023 19:38:25 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1688524713; x=1720060713;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=PVmtEaMVWDgRd5Wmklm/QO70gdRPB6Vd0LN6d+cC5po=;\n b=f23Lw9eyziLbz0yOwunCJJ1BYmm7gpi/KiswLqst26+9C6XQrZKzCbSG\n 1ULc2z28kyXIesIcTJ6RvmfE3KY5oo3g1z/7+K3pO1+aJx63tS9ro9Aj/\n lRFtbPT8O84SKh5kAsSwDok4yf7c0Oz2KdGvS9jfbtbfWLs/3NVP1BFv8\n dfbgVHloHZNF483YFPIW58qCtihzPcE8ypAvB9ejsC4+CXrmW0I3eOjxD\n d0xxhmGs1DyqC+0oTP8iw0ob84Xig4JpCcKU07zajzDPvQ8vJrJSvqC8x\n uhxlzgLg/u0W0nJFdd7D4UuqYZV6Vmeu3BZ3k54B/obj7I5gbDdYJGixL w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10761\"; a=\"342821707\"",
            "E=Sophos;i=\"6.01,181,1684825200\"; d=\"scan'208\";a=\"342821707\"",
            "E=McAfee;i=\"6600,9927,10761\"; a=\"784364049\"",
            "E=Sophos;i=\"6.01,181,1684825200\"; d=\"scan'208\";a=\"784364049\""
        ],
        "X-ExtLoop1": "1",
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts][PATCH V2 3/6] test_plans/kernelpf_vf_test_plan:add new plan to\n cover most of the basic vf cases",
        "Date": "Wed,  5 Jul 2023 10:53:41 +0000",
        "Message-Id": "<20230705105344.1031168-4-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230705105344.1031168-1-zhiminx.huang@intel.com>",
        "References": "<20230705105344.1031168-1-zhiminx.huang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "add new testplan for kernelpf_vf test suite.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/kernelpf_vf_test_plan.rst | 1294 ++++++++++++++++++++++++++\n 1 file changed, 1294 insertions(+)\n create mode 100644 test_plans/kernelpf_vf_test_plan.rst",
    "diff": "diff --git a/test_plans/kernelpf_vf_test_plan.rst b/test_plans/kernelpf_vf_test_plan.rst\nnew file mode 100644\nindex 00000000..9919ce06\n--- /dev/null\n+++ b/test_plans/kernelpf_vf_test_plan.rst\n@@ -0,0 +1,1294 @@\n+.. SPDX-License-Identifier: BSD-3-Clause\n+   Copyright(c) 2023 Intel Corporation\n+\n+========================\n+Kernel PF + VF test plan\n+========================\n+\n+Intel Adaptive Virtual Function is aimed to provide a common VF for VM\n+which means just need one unified VF driver so you don't have to reload\n+different VF driver when you upgrade the PF NIC.\n+One of the advantages is you don't have to do any modification for code or\n+hardware for an existing VM image running on the new NIC.\n+\n+Requirement\n+===========\n+This plan for VF only supports kernel PF scenario.\n+\n+Hardware\n+========\n+ICE/I40E driver NIC.\n+\n+Prerequisites\n+=============\n+1. Get the pci device id of DUT, for example::\n+\n+    ./usertools/dpdk-devbind.py -s\n+\n+    0000:18:00.0 'Device 1592' if=enp24s0f0 drv=ice unused=igb_uio\n+    0000:18:00.1 'Device 1592' if=enp24s0f1 drv=ice unused=igb_uio\n+\n+2. Create 2 VF from 2 kernel PF::\n+\n+    echo 1 > /sys/bus/pci/devices/0000\\:18\\:00.0/sriov_numvfs\n+    echo 1 > /sys/bus/pci/devices/0000\\:18\\:00.1/sriov_numvfs\n+\n+3. Set VF mac as 00:01:23:45:67:89::\n+\n+    ip link set $PF_INTF vf 0 mac 00:01:23:45:67:89\n+\n+4. Test IAVF cases on host or in qemu\n+\n+5. Bind VF device to vfio-pci::\n+\n+    usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:18:01.0 0000:18:09.0\n+\n+launch testpmd::\n+\n+    ./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i\n+\n+.. note::\n+\n+    1.the kernel driver has MAC and VLAN Anti-Spoofing feature for VFs, the default is enable.\n+      disabled for vfs: ip link set <ethX> vf <vf id> spoofchk {off|on}\n+\n+    2.for vf-vlan-pruning in ethtool --set-priv-flag, enable function to receive specific vlan packet.\n+\n+Test case: VF basic RX/TX\n+=========================\n+Set rxonly forward, start testpmd\n+\n+Send 100 random packets from tester, check packets can be received\n+\n+Set txonly forward, start testpmd\n+\n+Check tester could receive the packets from application generated\n+\n+Test case: VF promisc\n+=====================\n+Enable kernel trust mode::\n+\n+    ip link set $PF_INTF vf 0 trust on\n+\n+Start VF testpmd, set mac forward and enable print output\n+\n+Use scapy to send random packets with current VF0's MAC, verify the\n+packets can be received and forwarded by the VF.\n+\n+Use scapy to send random packets with a wrong MAC to VF0, verify the\n+packets can be received and forwarded by the VF.\n+\n+Disable promisc mode::\n+\n+    testpmd> set promisc all off\n+\n+Use scapy to send random packets with current VF0's MAC, verify the\n+packets can be received and forwarded by the VF.\n+\n+Use scapy to send random packets with a wrong MAC to VF0, verify the\n+packets can't be received and forwarded by the VF.\n+\n+Enable promisc mode::\n+\n+    testpmd> set promisc all on\n+\n+Use scapy to send random packets with current VF0's MAC, verify the\n+packets can be received and forwarded by the VF.\n+\n+Use scapy to send random packets with a wrong MAC to VF0, verify the\n+packets can be received and forwarded by the VF.\n+\n+Disable kernel trust mode::\n+\n+    ip link set $PF_INTF vf 0 trust off\n+\n+Test case: VF multicast\n+=======================\n+\n+Start VF testpmd\n+\n+Disable promisc and multicast mode::\n+\n+    testpmd> set promisc all off\n+    testpmd> set allmulti all off\n+    testpmd> start\n+\n+Send packet with current VF0's MAC, and check VF can receive the packet.\n+\n+Send packet with multicast MAC 01:80:C2:00:00:08, and check VF can not\n+receive the packet.\n+\n+Enable multicast mode::\n+\n+    testpmd> set allmulti all on\n+\n+configure multicast address::\n+\n+    testpmd> mcast_addr add 0 01:80:C2:00:00:08\n+\n+Send packet with current VF0's MAC, and check VF can receive the packet.\n+\n+Send packet with multicast MAC 01:80:C2:00:00:08, and check VF can\n+receive the packet.\n+\n+Test case: VF broadcast\n+=======================\n+Disable VF promisc mode::\n+\n+    testpmd> set promisc all off\n+    testpmd> start\n+\n+Send packet with broadcast address ff:ff:ff:ff:ff:ff, and check VF can\n+receive the packet\n+\n+Test case: VF unicast\n+=====================\n+Disable VF promisc and multicast mode::\n+\n+    testpmd> set promisc all off\n+    testpmd> set allmulti all off\n+    testpmd> start\n+\n+Send packet with unicast address, and check VF can receive the packet\n+\n+Test case: VF mac add filter\n+============================\n+Disable VF promisc and enable crc strip and add mac address::\n+\n+    testpmd> port stop all\n+    testpmd> port config all crc-strip on\n+    testpmd> port start all\n+    testpmd> set promisc all off\n+    testpmd> mac_addr add 0 00:11:22:33:44:55\n+\n+Use scapy to send 100 random packets with current VF0's MAC, verify the\n+packets can be received by one VF and can be forwarded to another VF\n+correctly.\n+\n+Use scapy to send 100 random packets with new added VF0's MAC, verify the\n+packets can be received by one VF and can be forwarded to another VF correctly.\n+\n+remove the added mac address::\n+\n+      testpmd> mac_addr remove 0 00:11:22:33:44:55\n+\n+Use scapy to send 100 random packets to the deleted MAC to VF0, verify the\n+packets can't be received by one VF and also can't be forwarded to another\n+VF correctly\n+\n+Use scapy to send 100 random packets with a wrong MAC to VF0, verify the\n+packets can't be received by one VF and also can't be forwarded to another\n+VF correctly.\n+\n+Test case: VF vlan insertion\n+============================\n+\n+Disable VF vlan strip::\n+\n+    testpmd> vlan set strip off 0\n+\n+Set vlan id 20 for tx_vlan::\n+\n+    testpmd> port stop all\n+    testpmd> tx_vlan set 0 20\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan set 0 20\n+    testpmd> port start all\n+    testpmd> set fwd mac\n+    testpmd> start\n+\n+Send normal packet::\n+\n+    p=Ether(dst=\"00:01:23:45:67:89\")/IP()/Raw(load='X'*30)\n+\n+Verify packet that out from VF contains the vlan tag 20\n+\n+Test case: VF vlan strip\n+========================\n+\n+Enable VF vlan strip::\n+\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan add 20 0\n+    testpmd> vlan set strip on 0\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+    testpmd> start\n+\n+Send packets with vlan tag::\n+\n+    p=Ether(dst=\"00:01:23:45:67:89\")/Dot1Q(id=0x8100,vlan=20)/IP()/Raw(load='X'*30)\n+\n+Check that out from VF doesn't contain the vlan tag.\n+\n+Disable VF vlan strip::\n+\n+    testpmd> vlan set strip off 0\n+\n+Send packets with vlan tag::\n+\n+    Ether(dst=\"00:01:23:45:67:89\")/Dot1Q(id=0x8100,vlan=20)/IP()/Raw(load='X'*30)\n+\n+Check that out from VF contains the vlan tag.\n+\n+Test case: VF vlan filter\n+=========================\n+\n+Enable vlan filter::\n+\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan add 20 0\n+    testpmd> vlan set strip off 0\n+    testpmd> set promisc all off\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+    testpmd> start\n+\n+Send packets with vlan tag::\n+\n+    p=Ether(dst=\"00:01:23:45:67:89\")/Dot1Q(id=0x8100,vlan=20)/IP()/Raw(load='X'*30)\n+\n+Check packets can be received and forwarded with vlan tag.\n+\n+Send packets with unmatched vlan tag::\n+\n+    p=Ether(dst=\"00:01:23:45:67:89\")/Dot1Q(id=0x8100,vlan=30)/IP()/Raw(load='X'*30)\n+\n+Check packets can not be received and forwarded.\n+\n+Disable VF vlan filter::\n+\n+    testpmd> vlan set filter off 0\n+\n+Send packets with vlan tag::\n+\n+    Ether(dst=\"00:01:23:45:67:89\")/Dot1Q(id=0x8100,vlan=20)/IP()/Raw(load='X'*30)\n+\n+if vf-vlan-pruning is on::\n+\n+    Check packets can be received and forwarded with vlan tag.\n+\n+if vf-vlan-pruning is off or not have this option::\n+\n+    Check packets can not be received and forwarded\n+\n+Test case: VF vlan promisc\n+==========================\n+\n+Enable promisc and disable vlan filter::\n+\n+    testpmd> port stop all\n+    testpmd> set promisc all on\n+    testpmd> set verbose 1\n+    testpmd> vlan set filter off 0\n+    testpmd> vlan set strip off 0\n+    testpmd> set fwd mac\n+    testpmd> port start all\n+    testpmd> start\n+\n+Send 10 random packets with vlan tag::\n+\n+    Ether(dst=\"00:01:23:45:67:89\",type=0x8100)/Dot1Q(vlan=100,type=0x0800)/IP(src=\"196.222.232.1\")/(\"X\"*480)\n+    ...\n+\n+if vf-vlan-pruning is on::\n+\n+    Check packets can be received and forwarded.\n+\n+if vf-vlan-pruning is off or not have this option::\n+\n+    Check packets can not be received and forwarded.\n+\n+Send 10 random packets without vlan tag::\n+\n+    Ether(dst=\"00:01:23:45:67:89\")/IP(src=\"196.222.232.1\")/(\"X\"*480)\n+    ...\n+\n+Check packets can be received and forwarded.\n+\n+Test case: VF add pvid base rx\n+==============================\n+\n+Add pvid on VF0 from PF device::\n+\n+     ip link set $PF_INTF vf 0 vlan 2\n+\n+Check pf device show correct pvid setting::\n+\n+     ip link show ens259f0\n+     ...\n+     vf 0 MAC 00:00:00:00:00:00, vlan 1, spoof checking on, link-state auto\n+\n+\n+Start testpmd\n+\n+Send packet with same vlan id and check VF can receive\n+\n+Send packet without vlan and check VF can't receive\n+\n+Send packet with wrong vlan id and check Vf can't receive\n+\n+Remove added vlan from PF device::\n+\n+     ip link set $PF_INTF vf 0 vlan 0\n+\n+Restart testpmd and send packet without vlan and check VF can receive\n+\n+Set packet with vlan id 0 and check VF can receive\n+\n+Set packet with random id 1-4095\n+\n+if vf-vlan-pruning is on::\n+\n+    Check packets can be received and forwarded.\n+\n+if vf-vlan-pruning is off or not have this option::\n+\n+    Check packets can not be received and forwarded\n+\n+\n+send vlan=0 and not vlan pkt, also receive\n+\n+Test case: VF add pvid base tx\n+==============================\n+Add pvid on VF0 from PF device::\n+\n+     ip link set $PF_INTF vf 0 vlan 2\n+\n+Start testpmd with mac forward mode::\n+\n+     testpmd> set fwd mac\n+     testpmd> start\n+\n+Send packet from tester port1 and check packet received by tester port0::\n+\n+     Check port1 received packet with configured vlan 2\n+\n+Test case: VF vlan rx combination\n+=================================\n+Start testpmd with rxonly mode and parameter \"--enable-hw-vlan\"::\n+\n+     testpmd> set fwd rxonly\n+     testpmd> set verbose 1\n+     testpmd> start\n+\n+.. note::\n+\n+     parameter \"--enable-hw-vlan\" not support nic: IXGBE_10G-82599_SFP.\n+\n+Send packet without vlan and check packet received\n+\n+Send packet with vlan 0 and check packet received\n+\n+Add vlan on VF0 from VF driver::\n+\n+     testpmd> rx_vlan add 1 0\n+\n+Send packet with vlan0/1 and check packet received\n+\n+Rerun with step5-6 with random vlan and max vlan 4095\n+\n+Remove vlan on VF0::\n+\n+     rx_vlan rm 1 0\n+\n+Send packet with vlan 0 and check packet received\n+\n+Send packet without vlan and check packet received\n+\n+Send packet with vlan 1\n+\n+if vf-vlan-pruning is on::\n+\n+    Check packets can be received and forwarded.\n+\n+if vf-vlan-pruning is off or not have this option::\n+\n+    Check packets can not be received and forwarded.\n+\n+Test case: VF RSS\n+=================\n+\n+Start command with multi-queues like below::\n+\n+   ./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i --txq=4 --rxq=4\n+\n+Show RSS RETA configuration::\n+\n+    testpmd> show port 0 rss reta 64 (0xffffffffffffffff)\n+\n+    RSS RETA configuration: hash index=0, queue=0\n+    RSS RETA configuration: hash index=1, queue=1\n+    RSS RETA configuration: hash index=2, queue=2\n+    RSS RETA configuration: hash index=3, queue=3\n+    ...\n+    RSS RETA configuration: hash index=60, queue=0\n+    RSS RETA configuration: hash index=61, queue=1\n+    RSS RETA configuration: hash index=62, queue=2\n+    RSS RETA configuration: hash index=63, queue=3\n+\n+Config hash reta table::\n+\n+    testpmd> port config 0 rss reta (0,3)\n+    testpmd> port config 0 rss reta (1,2)\n+    testpmd> port config 0 rss reta (2,1)\n+    testpmd> port config 0 rss reta (3,0)\n+\n+Check RSS RETA configuration has changed::\n+\n+    testpmd> show port 0 rss reta 64 (0xffffffffffffffff)\n+\n+    RSS RETA configuration: hash index=0, queue=3\n+    RSS RETA configuration: hash index=1, queue=2\n+    RSS RETA configuration: hash index=2, queue=2\n+    RSS RETA configuration: hash index=3, queue=1\n+\n+Enable IP/TCP/UDP RSS::\n+\n+  testpmd> port config all rss (all|ip|tcp|udp|sctp|ether|port|vxlan|geneve|nvgre|none)\n+\n+Send different flow types' IP/TCP/UDP packets to VF port, check packets are\n+received by different configured queues.\n+\n+Test case: VF RSS hash key\n+==========================\n+\n+Start command with multi-queues like below::\n+\n+   ./<build_target>/app/dpdk-testpmd -c f -n 4 -- -i --txq=4 --rxq=4\n+\n+Show port rss hash key::\n+\n+    testpmd> show port 0 rss-hash key\n+\n+Set rxonly fwd, enable print, start testpmd::\n+\n+    testpmd> set fwd rxonly\n+    testpmd> set verbose 1\n+    testpmd> start\n+\n+Send ipv4 packets, mark the RSS hash value::\n+\n+    p=Ether(dst=\"56:0A:EC:50:A4:28\")/IP(src=\"1.2.3.4\")/Raw(load='X'*30)\n+\n+Update ipv4 different hash key::\n+\n+    testpmd> port config 0 rss-hash-key ipv4 1b9d58a4b961d9cd1c56ad1621c3ad51632c16a5d16c21c3513d132c135d132c13ad1531c23a51d6ac49879c499d798a7d949c8a\n+\n+Show port rss hash key, check the key is same to configured key::\n+\n+    testpmd> show port 0 rss-hash key\n+    RSS functions:\n+     all ipv4 ipv6 ip\n+    RSS key:\n+    1B9D58A4B961D9CD1C56AD1621C3AD51632C16A5D16C21C3513D132C135D132C13AD1531C23A51D6AC49879C499D798A7D949C8A\n+\n+Send ipv4 packets, check RSS hash value is different::\n+\n+    p=Ether(dst=\"56:0A:EC:50:A4:28\")/IP(src=\"1.2.3.4\")/Raw(load='X'*30)\n+\n+Test case: test rxq txq number inconsistent\n+===========================================\n+\n+Start the testpmd with rxq not equal to txq::\n+\n+    ./<build_target>/app/dpdk-testpmd -l 1-9 -n 2 -- -i --rxq=4 --txq=8\n+\n+.. note::\n+     queue pairs in number of 1, 2, 4, 8, 16, 32, 64, etc.\n+     For vf of ixgbe, the maximum number of rxq and txq supported is 4.\n+\n+Set rxonly fwd, enable print, start testpmd::\n+\n+    testpmd> set fwd rxonly\n+    testpmd> set verbose 1\n+    testpmd> start\n+\n+Send different hash types' packets with different keywords, then check rx port\n+    could receive packets by different queues::\n+\n+      sendp([Ether(dst=\"00:01:23:45:67:89\")/IP(src=\"192.168.0.4\", dst=RandIP())], iface=\"eth3\")\n+\n+Check the total Rx packets in all the RxQ should be equal to the total HW Rx packets::\n+\n+    testpmd> show fwd stats all\n+    ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------\n+    RX-packets: 252            TX-packets: 0              TX-dropped: 0\n+\n+    ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------\n+    RX-packets: 257            TX-packets: 0              TX-dropped: 0\n+\n+    ------- Forward Stats for RX Port= 0/Queue= 2 -> TX Port= 0/Queue= 2 -------\n+    RX-packets: 259            TX-packets: 0              TX-dropped: 0\n+\n+    ------- Forward Stats for RX Port= 0/Queue= 3 -> TX Port= 0/Queue= 3 -------\n+    RX-packets: 256            TX-packets: 0              TX-dropped: 0\n+\n+    ---------------------- Forward statistics for port 0  ----------------------\n+    RX-packets: 1024           RX-dropped: 0             RX-total: 1024\n+    TX-packets: 0              TX-dropped: 0             TX-total: 0\n+    ----------------------------------------------------------------------------\n+\n+    +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++\n+    RX-packets: 1024           RX-dropped: 0             RX-total: 1024\n+    TX-packets: 0              TX-dropped: 0             TX-total: 0\n+    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n+\n+Test case: VF port stop/start\n+=============================\n+\n+Stop VF port::\n+\n+    testpmd> port stop all\n+\n+Start VF port::\n+\n+    testpmd> port start all\n+\n+Repeat above stop and start port for 10 times\n+\n+Send packets from tester\n+\n+Check VF could receive packets\n+\n+Test case: VF statistics reset\n+==============================\n+\n+Check VF port stats::\n+\n+    testpmd> show port stats all\n+\n+Clear VF port stats::\n+\n+    testpmd> clear port stats all\n+\n+Check VF port stats, RX-packets and TX-packets are 0\n+\n+Set mac forward, enable print out\n+\n+Send 100 packets from tester\n+\n+Check VF port stats, RX-packets and TX-packets are 100\n+\n+Clear VF port stats\n+\n+Check VF port stats, RX-packets and TX-packets are 0\n+\n+Test case: VF information\n+=========================\n+\n+Start testpmd\n+\n+Show VF port information, check link, speed...information correctness::\n+\n+    testpmd> show port info all\n+\n+Set mac forward, enable print out\n+\n+Send 100 packets from tester\n+\n+Check VF port stats, RX-packets and TX-packets are 100\n+\n+Test case: VF xstats check\n+==========================\n+\n+Launch testpmd and enable rss::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 4 -- -i --rxq=4 --txq=4 --max-pkt-len=9000\n+    testpmd> port config all rss all\n+    testpmd> set fwd mac\n+\n+.. Note::\n+\n+   8259x family VF device jumbo frame size setting shared with PF device.\n+   ifconfig PF_intf mtu 3000\n+\n+show the xstats before packet forwarding, all the value are 0.\n+\n+Start forward and send 100 packets with random src IP address,\n+   then stop forward.\n+\n+Check stats and xstats::\n+\n+    testpmd> stop\n+\n+    testpmd> show port stats all\n+\n+    testpmd> show port xstats all\n+\n+verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 100.\n+rx_good_bytes, RX-bytes of port 0 and tx_good_bytes, TX-bytes of port 1 are the same.\n+Intel® Ethernet 700 Series does not support hardware per queue stats,\n+so rx_qx_packets and rx_qx_bytes are both 0.\n+tx_qx_packets and tx_qx_bytes are both 0 too.\n+\n+Clear stats::\n+\n+      testpmd> clear port stats all\n+\n+Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.\n+\n+Repeat above 4 and 5 steps.\n+\n+Clear xstats::\n+\n+    testpmd> clear port xstats all\n+\n+Check stats and xstats, verify rx_good_packets, RX-packets of port 0 and tx_good_packets, TX-packets of port 1 are both 0.\n+\n+Test case: IAVF DUAL VLAN filtering\n+===================================\n+\n+enable vlan filtering on port VF::\n+\n+    testpmd> set fwd mac\n+    Set mac packet forwarding mode\n+    testpmd> vlan set filter on 0\n+\n+check the vlan mode is set successfully::\n+\n+    testpmd> show port info 0\n+\n+    ********************* Infos for port 0  *********************\n+    ......\n+    VLAN offload:\n+    strip off, filter on, extend off, qinq strip off\n+\n+tester send qinq pkt and single vlan pkt which outer vlan id is 1 to VF::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=1,type=0x8100,prio=1)/Dot1Q(vlan=2,type=0x0800,prio=2)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+check the pkts can't be received in VF, but if the kernel cannot set ``vf-vlan-pruning`` or kdriver is ixgbe, check can receive 2 pkts in VF.\n+\n+add rx_vlan in VF::\n+\n+    testpmd> rx_vlan add 1 0\n+\n+repeat step 3, check the pkts can be received by VF and fwd to tester::\n+\n+    check the pkts can be received by PF and fwd to tester with inner and outer correct vlan ID and priority value.\n+    testpmd> port 0/queue 0: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN  - l2_len=18 - inner_l2_len=4 - Receive queue=0x0\n+    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+    port 0/queue 0: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - hw ptype: L2_ETHER  - sw ptype: L2_ETHER_VLAN  - l2_len=18 - Receive queue=0x0\n+    ol_flags: PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    tcpdump -i ens786f0 -nn -e -v\n+\n+    16:50:38.807158 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 1, ethertype 802.1Q, vlan 2, p 2, ethertype 0x0800,\n+    16:50:38.807217 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 1, ethertype 802.1Q, vlan 2, p 2, ethertype 0x0800,\n+\n+    16:51:06.083084 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype 0x0800,\n+    16:51:06.083127 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype 0x0800,\n+\n+tester send qinq pkt and single vlan pkt which outer vlan id is 11 to VF::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=11,type=0x8100,prio=1)/Dot1Q(vlan=2,type=0x0800,prio=2)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+check the pkts can not be received by VF.\n+\n+remove rx_vlan in VF1::\n+\n+    testpmd> rx_vlan rm 1 0\n+\n+repeat step 3, check the pkts can not be received by VF, but if the kernel cannot set ``vf-vlan-pruning``, check can receive 2 pkts in VF.\n+\n+Test case: IAVF DUAL VLAN header stripping\n+==========================================\n+\n+enable vlan filtering on port VF::\n+\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan add 1 0\n+\n+check the vlan mode is set successfully::\n+\n+    testpmd> show port info 0\n+\n+    ********************* Infos for port 0  *********************\n+    ......\n+    VLAN offload:\n+    strip off, filter on, extend off, qinq strip off\n+\n+enable vlan header stripping on VF::\n+\n+    testpmd> vlan set strip on 0\n+\n+check the vlan mode is set successfully::\n+\n+    testpmd> show port info 0\n+\n+    ********************* Infos for port 0  *********************\n+    ......\n+    VLAN offload:\n+    strip on, filter on, extend off, qinq strip off\n+\n+tester send qinq pkt and single vlan pkt which outer vlan id is 1 to VF::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=1,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+check the pkts can be received in VF and fwd to tester without outer vlan header::\n+\n+    testpmd> port 0/queue 10: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xc7b627aa - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0xa\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    port 0/queue 10: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0xc7b627aa - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0xa\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    10:12:38.034948 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    10:12:38.035025 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+    10:12:44.806825 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    10:12:44.806865 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+disable vlan header stripping on VF1::\n+\n+    testpmd> vlan set strip off 0\n+\n+check the vlan mode is set successfully::\n+\n+    testpmd> show port info 0\n+\n+    ********************* Infos for port 0  *********************\n+    ......\n+    VLAN offload:\n+    strip off, filter on, extend off, qinq strip off\n+\n+repeat step 5, check the pkts can be received in VF and fwd to tester with outer vlan header::\n+\n+    testpmd> port 0/queue 10: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0xc7b627aa - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0xa\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    port 0/queue 10: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xc7b627aa - RSS queue=0xa - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0xa\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    09:49:08.295172 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    09:49:08.295239 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+    09:49:41.043101 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    09:49:41.043166 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+Test case: IAVF DUAL VLAN header insertion\n+==========================================\n+\n+.. note::\n+\n+   according to dpdk commit d048a0aaae27809523969904c2f7b71fe3cc1bb6,\n+   when the ice driver version newer than 1.8.9, avx512 tx path not support insert correct vlag tag(outer of QinQ)\n+\n+enable vlan filtering on port VF::\n+\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan add 11 0\n+\n+set up test environment again::\n+\n+    echo 1 > /sys/bus/pci/devices/0000:18:00.0/sriov_numvfs\n+    ip link set ens785f0 vf 0 mac 00:11:22:33:44:11\n+    ip link set dev ens785f0 vf 0 spoofchk off\n+    ./usertools/dpdk-devbind.py -b vfio-pci 0000:18:01.0\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+\n+enable vlan header insertion on VF::\n+\n+    testpmd> port stop 0\n+    Stopping ports...\n+    Checking link statuses...\n+    Done\n+    testpmd> tx_vlan set 0 1\n+    testpmd> port start 0\n+\n+tester send pkt to VF::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=11,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+check the pkts with vlan header can be received in tester::\n+\n+    testpmd> port 0/queue 13: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0xcaf4abfd - RSS queue=0xd - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0xd\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    port 0/queue 8: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0x28099b78 - RSS queue=0x8 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0x8\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    10:32:55.566801 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    10:32:55.566856 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+    06:29:32.281896 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    06:29:32.281940 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 11, p 0, ethertype 802.1Q, vlan 1, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+disable vlan header insertion on VF1::\n+\n+    testpmd> port stop 0\n+    Stopping ports...\n+    Checking link statuses...\n+    Done\n+    testpmd> tx_vlan reset 0\n+    testpmd> port start 0\n+\n+repeat step 4, check the pkts without vlan tag can be received in tester::\n+\n+    testpmd> port 0/queue 9: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0xa63e8869 - RSS queue=0x9 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x9\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    port 0/queue 12: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0x6f5533bc - RSS queue=0xc - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Receive queue=0xc\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    10:34:40.070754 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    10:34:40.070824 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype IPv4 (0x0800), length 514: (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+    06:36:57.641871 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 518: vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    06:36:57.641909 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 11, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+\n+Test case: Enable/disable AVF CRC stripping\n+===========================================\n+\n+start testpmd with \"--disable-crc-strip\"::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 20-23 -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16 --disable-crc-strip\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+\n+send pkts to VF::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+check VF1 receive this pkts with CRC::\n+\n+    testpmd> port 0/queue 0: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0x890d9a70 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  518\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  514\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+    clear port stats all\n+\n+enable crc strip in testpmd::\n+\n+    testpmd> stop\n+    testpmd> port stop 0\n+    testpmd> port config 0 rx_offload keep_crc off\n+    testpmd> port start 0\n+    testpmd> start\n+\n+repeat step 2, check VF receive this pkts without CRC::\n+\n+    testpmd> port 0/queue 2: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0xa94c21d2 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x2\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  514\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  514\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+    clear port stats all\n+\n+disable crc strip in testpmd::\n+\n+    testpmd> stop\n+    testpmd> port stop 0\n+    testpmd> port config 0 rx_offload keep_crc on\n+    testpmd> port start 0\n+    testpmd> start\n+\n+repeat step 2, check VF1 receive this pkts with CRC::\n+\n+    testpmd> port 0/queue 0: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0x79c10190 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x0\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  518\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  514\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+    clear port stats all\n+\n+re-launch testpmd without \"--disable-crc-strip\"::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 20-23 -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+\n+repeat step 2, check VF receive this pkts without CRC::\n+\n+    testpmd> port 0/queue 2: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x0800 - length=514 - nb_segs=1 - RSS hash=0x898ada82 - RSS queue=0x2 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER L3_IPV4  - l2_len=14 - l3_len=20 - Receive queue=0x2\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  514\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  514\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+\n+\n+Test case: IAVF CRC strip and Vlan strip co-exists\n+==================================================\n+\n+start testpmd with crc strip enable, vlan strip disable::\n+\n+    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 20-23 -n 4 -a 0000:18:01.0 -- -i --rxq=16 --txq=16\n+    testpmd> set fwd mac\n+    testpmd> set verbose 1\n+    testpmd> show port info 0\n+    ********************* Infos for port 0  *********************\n+    MAC address: 00:11:22:33:44:11\n+    Device name: 0000:18:01.1\n+    Driver name: net_iavf\n+    ......\n+    VLAN offload:\n+      strip off, filter off, extend off, qinq strip off\n+\n+request disable vlan strip::\n+\n+    testpmd> vlan set strip off 0\n+\n+check the vlan strip still disable::\n+\n+    testpmd> show port info 0\n+    ********************* Infos for port 0  *********************\n+    MAC address: 00:11:22:33:44:11\n+    Device name: 0000:18:01.1\n+    Driver name: net_iavf\n+    ......\n+    VLAN offload:\n+      strip off, filter off, extend off, qinq strip off\n+\n+set vlan filter on and add rx_vlan 1::\n+\n+    testpmd> vlan set filter on 0\n+    testpmd> rx_vlan add 1 0\n+    testpmd> start\n+\n+send qinq pkts to check vlan strip is off, crc strip is on::\n+\n+    sendp([Ether(dst=\"00:11:22:33:44:11\",type=0x8100)/Dot1Q(vlan=1,type=0x8100)/Dot1Q(vlan=2,type=0x0800)/IP(src=\"196.222.232.221\")/(\"X\"*480)], iface=\"ens786f0\")\n+\n+    testpmd> port 0/queue 6: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0xf6521426 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0x6\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  522\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  522\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+\n+    09:07:45.863251 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    09:07:45.863340 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+request enable vlan strip::\n+\n+    testpmd> vlan set strip on 0\n+\n+check the vlan strip enable successfully::\n+\n+    testpmd> show port info 0\n+    ********************* Infos for port 0  *********************\n+    MAC address: 00:11:22:33:44:11\n+    Device name: 0000:18:01.1\n+    Driver name: net_iavf\n+    ......\n+    VLAN offload:\n+      strip on, filter off, extend off, qinq strip off\n+\n+repeat step 5, send qinq pkts to check vlan strip is on(tx-4), crc strip is on::\n+\n+    testpmd> port 0/queue 6: received 1 packets\n+    src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xf6521426 - RSS queue=0x6 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x00000000 - Receive queue=0x6\n+    ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+    show port stats all\n+\n+    ######################## NIC statistics for port 0  ########################\n+    RX-packets: 1          RX-missed: 0          RX-bytes:  522\n+    RX-errors: 0\n+    RX-nombuf:  0\n+    TX-packets: 1          TX-errors: 0          TX-bytes:  518\n+\n+    Throughput (since last show)\n+    Rx-pps:            0          Rx-bps:            0\n+    Tx-pps:            0          Tx-bps:            0\n+    ############################################################################\n+\n+    11:09:03.918907 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+    11:09:03.918952 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 518: vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+    196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+request disable vlan strip::\n+\n+    testpmd> vlan set strip off 0\n+\n+check the vlan strip disable successfully::\n+\n+     testpmd> show port info 0\n+     ********************* Infos for port 0  *********************\n+     MAC address: 00:11:22:33:44:11\n+     Device name: 0000:18:01.1\n+     Driver name: net_iavf\n+     ......\n+     VLAN offload:\n+       strip off, filter on, extend off, qinq strip off\n+\n+request disable crc strip::\n+\n+     testpmd> stop\n+     testpmd> port stop 0\n+     testpmd> port config 0 rx_offload keep_crc on\n+     testpmd> port start 0\n+     testpmd> start\n+\n+repeat step 5, send qinq pkts to check vlan strip is off, crc strip is off(rx+4)::\n+\n+     testpmd> port 0/queue 7: received 1 packets\n+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7\n+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+     show port stats all\n+     ######################## NIC statistics for port 0  ########################\n+     RX-packets: 1          RX-missed: 0          RX-bytes:  526\n+     RX-errors: 0\n+     RX-nombuf:  0\n+     TX-packets: 1          TX-errors: 0          TX-bytes:  522\n+\n+     Throughput (since last show)\n+     Rx-pps:            0          Rx-bps:            0\n+     Tx-pps:            0          Tx-bps:            0\n+     ############################################################################\n+\n+     10:23:57.350934 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+     10:23:57.351008 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+request enable vlan strip::\n+\n+     testpmd> vlan set strip on 0\n+     iavf_execute_vf_cmd(): No response or return failure (-64) for cmd 54\n+     iavf_config_vlan_strip_v2(): fail to execute command VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2\n+     rx_vlan_strip_set(port_pi=0, on=1) failed diag=-5\n+\n+repeat step 5, send qinq pkts to check the vlan strip can not enable::\n+\n+     testpmd> port 0/queue 7: received 1 packets\n+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=518 - nb_segs=1 - RSS hash=0xbc8b1857 - RSS queue=0x7 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN L3_IPV4  - l2_len=18 - l3_len=20 - Tail/CRC: 0x58585858/0x6d870bf6 - Receive queue=0x7\n+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+     show port stats all\n+     ######################## NIC statistics for port 0  ########################\n+     RX-packets: 1          RX-missed: 0          RX-bytes:  526\n+     RX-errors: 0\n+     RX-nombuf:  0\n+     TX-packets: 1          TX-errors: 0          TX-bytes:  522\n+\n+     Throughput (since last show)\n+     Rx-pps:            0          Rx-bps:            0\n+     Tx-pps:            0          Tx-bps:            0\n+     ############################################################################\n+\n+     10:26:08.346936 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+     10:26:08.347006 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+request disable vlan strip::\n+\n+     vlan set strip off 0\n+\n+check the vlan strip still disable::\n+\n+     testpmd> show port info 0\n+     ********************* Infos for port 0  *********************\n+     MAC address: 00:11:22:33:44:11\n+     Device name: 0000:18:01.1\n+     Driver name: net_iavf\n+     ......\n+     VLAN offload:\n+       strip off, filter on, extend off, qinq strip off\n+\n+request enable crc strip::\n+\n+     testpmd> stop\n+     testpmd> port stop 0\n+     testpmd> port config 0 rx_offload keep_crc off\n+     testpmd> port start 0\n+     testpmd> start\n+\n+repeat step 5, send qinq pkts to check the crc strip enable successfully::\n+\n+     testpmd> port 0/queue 3: received 1 packets\n+     src=00:00:00:00:00:00 - dst=00:11:22:33:44:11 - type=0x8100 - length=522 - nb_segs=1 - RSS hash=0x2b4ad203 - RSS queue=0x3 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Receive queue=0x3\n+     ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+     port 0/queue 3: sent 1 packets\n+     src=00:11:22:33:44:11 - dst=02:00:00:00:00:00 - type=0x8100 - length=522 - nb_segs=1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_NONFRAG  - sw ptype: L2_ETHER_VLAN INNER_L2_ETHER_VLAN INNER_L3_IPV4  - l2_len=18 - inner_l2_len=4 - inner_l3_len=20 - Send queue=0x3\n+     ol_flags: PKT_RX_L4_CKSUM_UNKNOWN PKT_RX_IP_CKSUM_UNKNOWN PKT_RX_OUTER_L4_CKSUM_UNKNOWN\n+\n+     show port stats all\n+     ######################## NIC statistics for port 0  ########################\n+     RX-packets: 1          RX-missed: 0          RX-bytes:  522\n+     RX-errors: 0\n+     RX-nombuf:  0\n+     TX-packets: 1          TX-errors: 0          TX-bytes:  522\n+\n+     Throughput (since last show)\n+     Rx-pps:            0          Rx-bps:            0\n+     Tx-pps:            0          Tx-bps:            0\n+     ############################################################################\n+\n+     10:29:19.995352 00:00:00:00:00:00 > 00:11:22:33:44:11, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+     10:29:19.995424 00:11:22:33:44:11 > 02:00:00:00:00:00, ethertype 802.1Q (0x8100), length 522: vlan 1, p 0, ethertype 802.1Q, vlan 2, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 1, offset 0, flags [none], proto Options (0), length 500)\n+     196.222.232.221 > 127.0.0.1:  ip-proto-0 480\n+\n+Test Case: vf queue start/stop\n+==============================\n+\n+This case support VF (Intel® Ethernet 700 Series/Intel® Ethernet 800 Series)\n+\n+Launch testpmd::\n+\n+    x86_64-native-linuxapp-gcc/app/dpdk-testpmd  -l 1-2 -n 4 -a 0000:af:01.0 -- -i --portmask=0x1 --port-topology=loop\n+\n+Run \"set verbose 1\" to set verbose\n+\n+Run \"set fwd mac\" to set fwd type\n+\n+Run \"start\" to start fwd package\n+\n+Start a packet capture on the tester in the background::\n+\n+    tcpdump -i ens7  'ether[12:2] != 0x88cc'  -Q in -w /tmp/tester/sniff_ens7.pcap\n+\n+Start packet generator to transmit packets::\n+\n+    sendp([Ether(dst='3c:fd:fe:c1:0f:4c', src='00:00:20:00:00:00')/IP()/UDP()/Raw(load=b'XXXXXXXXXXXXXXXXXX')],iface=\"ens7\",count=4,inter=0,verbose=False)\n+\n+Stop testpmd::\n+\n+  ---------------------- Forward statistics for port 0  ----------------------\n+  RX-packets: 4              RX-dropped: 0             RX-total: 4\n+  TX-packets: 0              TX-dropped: 0             TX-total: 0\n+  ----------------------------------------------------------------------------\n+\n+  ---------------------- Forward statistics for port 1  ----------------------\n+  RX-packets: 0              RX-dropped: 0             RX-total: 0\n+  TX-packets: 4              TX-dropped: 0             TX-total: 4\n+  ----------------------------------------------------------------------------\n+\n+\n+Quit tcpdump and check tester port receive 4 packets\n+\n+Run \"port 0 rxq 0 stop\" to stop rxq 0 in port 0\n+\n+Start packet generator to transmit and check tester port not receive packets\n+\n+Run \"port 0 rxq 0 start\" to start rxq 0 in port 0\n+\n+Run \"port 0 txq 0 stop\" to stop txq 0 in port 0\n+\n+Start packet generator to transmit and check tester port not receive packets and in testpmd it not has \"port 0/queue\n+0: received 1 packets\" print\n+\n+Stop testpmd::\n+\n+  ---------------------- Forward statistics for port 0  ----------------------\n+  RX-packets: 4              RX-dropped: 0             RX-total: 4\n+  TX-packets: 0              TX-dropped: 0             TX-total: 0\n+  ----------------------------------------------------------------------------\n+\n+  ---------------------- Forward statistics for port 1  ----------------------\n+  RX-packets: 0              RX-dropped: 0             RX-total: 0\n+  TX-packets: 0              TX-dropped: 0             TX-total: 0\n+  ----------------------------------------------------------------------------\n+\n+Run \"port 0 txq 0 start\" to start txq 0 in port 0\n+\n+Start packet generator to transmit and check tester port receive 4 packets and in testpmd it has \"port 0/queue 0:\n+received 1 packets\" print\n+\n+Stop testpmd::\n+\n+  ---------------------- Forward statistics for port 0  ----------------------\n+  RX-packets: 4              RX-dropped: 0             RX-total: 4\n+  TX-packets: 0              TX-dropped: 0             TX-total: 0\n+  ----------------------------------------------------------------------------\n+\n+  ---------------------- Forward statistics for port 1  ----------------------\n+  RX-packets: 0              RX-dropped: 0             RX-total: 0\n+  TX-packets: 4              TX-dropped: 0             TX-total: 4\n+  ----------------------------------------------------------------------------\n+\n",
    "prefixes": [
        "V2",
        "3/6"
    ]
}