get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75706,
    "url": "https://patches.dpdk.org/api/patches/75706/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1597797049-27429-1-git-send-email-xueqin.lin@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": "<1597797049-27429-1-git-send-email-xueqin.lin@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1597797049-27429-1-git-send-email-xueqin.lin@intel.com",
    "date": "2020-08-19T00:30:49",
    "name": "[1/2,v1] test_plan/cvl_fdir: add outer pattern cases for gtp fdir",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d6b8147e2e6294691b1df1c59ac9b7dfe4fd21e8",
    "submitter": {
        "id": 498,
        "url": "https://patches.dpdk.org/api/people/498/?format=api",
        "name": "Lin, Xueqin",
        "email": "xueqin.lin@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/1597797049-27429-1-git-send-email-xueqin.lin@intel.com/mbox/",
    "series": [
        {
            "id": 11706,
            "url": "https://patches.dpdk.org/api/series/11706/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=11706",
            "date": "2020-08-19T00:30:49",
            "name": "[1/2,v1] test_plan/cvl_fdir: add outer pattern cases for gtp fdir",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11706/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/75706/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/75706/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 5A2DEA04AF;\n\tWed, 19 Aug 2020 08:29:11 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 189DBAAB7;\n\tWed, 19 Aug 2020 08:29:11 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id 9AA1E5F69\n for <dts@dpdk.org>; Wed, 19 Aug 2020 08:29:08 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Aug 2020 23:29:07 -0700",
            "from unknown (HELO dpdk-test60-xueqin.sh.intel.com)\n ([10.67.116.150])\n by orsmga005.jf.intel.com with ESMTP; 18 Aug 2020 23:29:05 -0700"
        ],
        "IronPort-SDR": [
            "\n /CEXATaRNJoihCg4JfG6ngJqbHLqnpMk64Io9+9xXAxfWJV5nKkqeJwdXAVq5Biqm3MCDC1afo\n hZlfZ8SqvB3g==",
            "\n IFzD0V3PwVThzOkGe1+/QTvCyhfcYg/cU4koQ3sY40G9NxH1NA84Mcu+m/nIXcsd/I8RtAtLNX\n y969T+K+o8Dg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9717\"; a=\"173103681\"",
            "E=Sophos;i=\"5.76,330,1592895600\"; d=\"scan'208\";a=\"173103681\"",
            "E=Sophos;i=\"5.76,330,1592895600\"; d=\"scan'208\";a=\"472105109\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xueqin Lin <xueqin.lin@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xueqin Lin <xueqin.lin@intel.com>",
        "Date": "Tue, 18 Aug 2020 20:30:49 -0400",
        "Message-Id": "<1597797049-27429-1-git-send-email-xueqin.lin@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "Subject": "[dts] [PATCH 1/2 v1] test_plan/cvl_fdir: add outer pattern cases\n\tfor gtp fdir",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "Add outer pattern test cases for gtp fdir.\n\nSigned-off-by: Xueqin Lin <xueqin.lin@intel.com>\n\n---\n test_plans/cvl_fdir_test_plan.rst | 1025 ++++++++++++++++++++++++++++++++++++-\n 1 file changed, 1022 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst\nindex c1b9223..2d4ddff 100644\n--- a/test_plans/cvl_fdir_test_plan.rst\n+++ b/test_plans/cvl_fdir_test_plan.rst\n@@ -77,10 +77,13 @@ Pattern and input set\n     +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n     |                              | MAC_IPV4_TUN_MAC_IPV4_SCTP | [Inner Source IP], [Inner Dest IP], [Inner Source Port], [Inner Dest Port]    |\n     +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n-    | GTP-U data packet types      |                            |                                                                               |\n-    | IPv4 transport, IPv4 payload | MAC_IPV4_GTPU              | [TEID]                                                                        |\n+    | IPv4/IPv6 + GTP-U            | MAC_IPV4_GTPU              | [Source IP], [Dest IP], [TEID]                                                |\n     +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n-    |                              | MAC_IPV4_GTPU_EH           | [TEID], [QFI]                                                                 |\n+    |                              | MAC_IPV4_GTPU_EH           | [Source IP], [Dest IP], [TEID], [QFI]                                         |\n+    +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n+    |                              | MAC_IPV6_GTPU              | [Source IPV6], [Dest IPV6], [TEID]                                            |\n+    +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n+    |                              | MAC_IPV6_GTPU_EH           | [Source IPV6], [Dest IPV6], [TEID], [QFI]                                     |\n     +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n     | L2 Ethertype                 |      L2 Ethertype          | [Ethertype]                                                                   |\n     +------------------------------+----------------------------+-------------------------------------------------------------------------------+\n@@ -446,6 +449,50 @@ Send packets\n     p_gtpu14 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\", dst=\"192.168.0.21\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/SCTP()/Raw('x'*20)\n     p_gtpu15 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\", dst=\"192.168.0.21\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x1234567)/IP()/Raw('x'*20)\n \n+* MAC_IPV6_GTPU_EH\n+\n+   matched packets::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/Raw('x'*20)\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP(frag=1)/Raw('x'*20)\n+    p_gtpu3 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+    p_gtpu4 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP(sport=22, dport=23)/Raw('x'*20)\n+    p_gtpu5 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/ICMP()/Raw('x'*20)\n+    p_gtpu6 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IPv6()/Raw('x'*20)\n+    p_gtpu7 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IPv6()/IPv6ExtHdrFragment()/Raw('x'*20)\n+    p_gtpu8 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IPv6()/UDP()/Raw('x'*20)\n+    p_gtpu9 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP( dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IPv6()/TCP(sport=22, dport=23)/Raw('x'*20)\n+    p_gtpu10 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IPv6()/ICMP()/Raw('x'*20)\n+\n+   mismatched packets::\n+\n+    p_gtpu11 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/Raw('x'*20)\n+    p_gtpu12 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x1234567)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/Raw('x'*20)\n+    p_gtpu13 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x35)/IP()/ICMP()/Raw('x'*20)\n+    p_gtpu14 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::3\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+    p_gtpu15 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+* MAC_IPV6_GTPU\n+\n+   matched packets::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/Raw('x'*20)\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP(frag=1)/Raw('x'*20)\n+    p_gtpu3 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/UDP()/Raw('x'*20)\n+    p_gtpu4 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP( dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/TCP(sport=22, dport=23)/Raw('x'*20)\n+    p_gtpu5 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/ICMP()/Raw('x'*20)\n+    p_gtpu6 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/Raw('x'*20)\n+    p_gtpu7 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/IPv6ExtHdrFragment()/Raw('x'*20)\n+    p_gtpu8 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/UDP()/Raw('x'*20)\n+    p_gtpu9 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP( dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/TCP(sport=22, dport=23)/Raw('x'*20)\n+    p_gtpu10 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IPv6()/ICMP()/Raw('x'*20)\n+\n+   mismatched packets::\n+\n+    p_gtpu11 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x1234567)/IP()/Raw('x'*20)\n+    p_gtpu12 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::3\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/TCP()/Raw('x'*20)\n+    p_gtpu13 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/UDP()/Raw('x'*20)\n+\n * L2 Ethertype\n \n    PPPoED packets::\n@@ -1642,6 +1689,249 @@ Subcase 8: MAC_IPV4_GTPU_EH without QFI rss queues / mark\n 4. verify matched packet is distributed by RSS without FDIR matched ID.\n    Then check there is no rule listed.\n \n+Subcase 9: MAC_IPV4_GTPU_EH 4 tuple queue index\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions queue index 10 / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue 10 with FDIR matched ID=0x1.\n+\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. verify rules can be listed and destroyed::\n+\n+    testpmd> flow list 0\n+\n+   check the existing rule.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 10: MAC_IPV4_GTPU_EH 4 tuple queue group\n+------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 11: MAC_IPV4_GTPU_EH 4 tuple passthru\n+---------------------------------------------\n+\n+1. create filter rules::\n+\n+     flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 12: MAC_IPV4_GTPU_EH 4 tuple drop\n+-----------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 13: MAC_IPV4_GTPU_EH 4 tuple mark/rss\n+---------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 14: MAC_IPV4_GTPU_EH outer dst ip queue index\n+-----------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / gtp_psc  / end actions queue index 10 / mark id 1 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.21\", dst=\"192.168.0.21\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.21\", dst=\"192.168.0.22\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 15: MAC_IPV4_GTPU_EH outer dst ip queue group\n+-----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / gtp_psc / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 16: MAC_IPV4_GTPU_EH outer dst ip passthru\n+--------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu  / gtp_psc  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 17: MAC_IPV4_GTPU_EH outer dst ip drop\n+----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / gtp_psc / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 18: MAC_IPV4_GTPU_EH outer dst ip mark/rss\n+--------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / gtp_psc  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 19: MAC_IPV4_GTPU_EH outer src ip queue index\n+-----------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / gtp_psc  / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\", dst=\"192.168.0.22\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.21\", dst=\"192.168.0.21\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 20: MAC_IPV4_GTPU_EH outer src ip queue group\n+-----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / gtp_psc / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 21: MAC_IPV4_GTPU_EH outer src ip passthru\n+--------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu  / gtp_psc  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 22: MAC_IPV4_GTPU_EH outer src ip drop\n+----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / gtp_psc / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 23: MAC_IPV4_GTPU_EH outer src ip mark/rss\n+--------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / gtp_psc  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n Test case: MAC_IPV4_GTPU pattern\n ================================\n \n@@ -1737,6 +2027,735 @@ Subcase 6: MAC_IPV4_GTPU mark\n 2. repeat the steps of passthru in subcase 3,\n    get the same result.\n \n+Subcase 7: MAC_IPV4_GTPU 3 tuple queue index\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678  / end actions queue index 10 / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue 10 with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. verify rules can be listed and destroyed::\n+\n+    testpmd> flow list 0\n+\n+   check the existing rule.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 8: MAC_IPV4_GTPU 3 tuple queue group\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678 / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 9: MAC_IPV4_GTPU 3 tuple passthru\n+-----------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 10: MAC_IPV4_GTPU 3 tuple drop\n+--------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678  / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 11: MAC_IPV4_GTPU 3 tuple mark/rss\n+------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp / gtpu teid is 0x12345678  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 12: MAC_IPV4_GTPU outer dst ip queue index\n+--------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu  / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3.\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 13: MAC_IPV4_GTPU outer dst ip queue group\n+-------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu  / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 14: MAC_IPV4_GTPU outer dst ip passthru\n+----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 15: MAC_IPV4_GTPU outer dst ip drop\n+-------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 16: MAC_IPV4_GTPU outer dst ip mark/rss\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 / udp / gtpu / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 17: MAC_IPV4_GTPU outer src ip queue index\n+--------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\", dst=\"192.168.0.22\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.21\", dst=\"192.168.0.21\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 18: MAC_IPV4_GTPU outer src ip queue group\n+--------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 19: MAC_IPV4_GTPU outer src ip passthru\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu   / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 20: MAC_IPV4_GTPU outer src ip drop\n+-------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu  / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 21: MAC_IPV4_GTPU outer src ip mark/rss\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 / udp / gtpu  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Test case: MAC_IPV6_GTPU_EH pattern\n+===================================\n+\n+Subcase 1: MAC_IPV6_GTPU_EH 4 tuple queue index\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions queue index 10 / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue 10 with FDIR matched ID=0x1.\n+\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. verify rules can be listed and destroyed::\n+\n+    testpmd> flow list 0\n+\n+   check the existing rule.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 2: MAC_IPV6_GTPU_EH 4 tuple queue group\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 3: MAC_IPV6_GTPU_EH 4 tuple passthru\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 4: MAC_IPV6_GTPU_EH 4 tuple drop\n+----------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 5: MAC_IPV6_GTPU_EH 4 tuple mark/rss\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / gtp_psc qfi is 0x34 / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 6: MAC_IPV6_GTPU_EH outer dst ipv6 queue index\n+------------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / gtp_psc  / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 7: MAC_IPV6_GTPU_EH outer dst ipv6 queue group\n+------------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / gtp_psc / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 8: MAC_IPV6_GTPU_EH outer dst ipv6 passthru\n+---------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu  / gtp_psc  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 9: MAC_IPV6_GTPU_EH outer dst ipv6 drop\n+-----------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / gtp_psc / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 10: MAC_IPV6_GTPU_EH outer dst ipv6 mark/rss\n+----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / gtp_psc  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 11: MAC_IPV6_GTPU_EH outer src ipv6 queue index\n+-------------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / gtp_psc  / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::3\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/GTP_PDUSession_ExtensionHeader(pdu_type=0, qos_flow=0x34)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 12: MAC_IPV6_GTPU_EH outer src ipv6 queue group\n+-------------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / gtp_psc / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 13: MAC_IPV6_GTPU_EH outer src ipv6 passthru\n+----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu  / gtp_psc  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 14: MAC_IPV6_GTPU_EH outer src ipv6 drop\n+------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / gtp_psc / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 15: MAC_IPV6_GTPU_EH outer src ipv6 mark/rss\n+----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / gtp_psc  / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Test case: MAC_IPV6_GTPU pattern\n+================================\n+\n+Subcase 1: MAC_IPV6_GTPU 4 tuple queue index\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / end actions queue index 10 / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue 10 with FDIR matched ID=0x1.\n+\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. verify rules can be listed and destroyed::\n+\n+    testpmd> flow list 0\n+\n+   check the existing rule.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 2: MAC_IPV6_GTPU 4 tuple queue group\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 3: MAC_IPV6_GTPU 4 tuple passthru\n+-----------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 4: MAC_IPV6_GTPU 4 tuple drop\n+-------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 5: MAC_IPV6_GTPU 4 tuple mark/rss\n+-----------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 src is 2001::2 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu teid is 0x12345678 / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 6: MAC_IPV6_GTPU outer dst ipv6 queue index\n+---------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 7: MAC_IPV6_GTPU outer dst ipv6 queue group\n+---------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 8: MAC_IPV6_GTPU outer dst ipv6 passthru\n+------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu  / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 9: MAC_IPV6_GTPU outer dst ipv6 drop\n+--------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 10: MAC_IPV6_GTPU outer dst ipv6 mark/rss\n+-------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth /  ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp / gtpu / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 11: MAC_IPV6_GTPU outer src ipv6 queue index\n+----------------------------------------------------\n+\n+1. create filter rules on port 0::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / end actions queue index 1 / mark id 3 / end\n+\n+2. send matched packets, check the packet is redirected to queue 1 with FDIR matched ID=0x3::\n+\n+    p_gtpu1 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::2\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/TCP()/Raw('x'*20)\n+\n+   send mismatched packets, check the packet is distributed by RSS without FDIR matched ID::\n+\n+    p_gtpu2 = Ether(src=\"a4:bf:01:51:27:ca\", dst=\"00:11:22:33:44:55\")/IPv6(src=\"2001::3\", dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\")/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x12345678)/IP()/UDP()/Raw('x'*20)\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 12: MAC_IPV6_GTPU outer src ipv6 queue group\n+----------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / end actions rss queues 0 1 2 3 end / mark id 1 / end\n+\n+2. send matched packets, check the packets are distributed to queue group with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are distributed by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 13: MAC_IPV6_GTPU outer src ipv6 passthru\n+-------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / end actions passthru / mark id 1 / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR ID.\n+   check there is no rule listed.\n+\n+Subcase 14: MAC_IPV6_GTPU outer src ipv6 drop\n+---------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / end actions drop / end\n+\n+2. send matched packets, check the packets are dropped.\n+   send mismatched packets, check the packets are not dropped without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped without FDIR matched ID.\n+   Then check there is no rule listed.\n+\n+Subcase 15: MAC_IPV6_GTPU outer src ipv6 mark/rss\n+-------------------------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 src is 2001::2 / udp / gtpu / end actions mark id 1 / rss / end\n+\n+2. send matched packets, check the packets are redirected by RSS with FDIR matched ID=0x1.\n+   send mismatched packets, check the packets are redirected by RSS without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n Test case: L2 Ethertype pattern\n ===============================\n \n",
    "prefixes": [
        "1/2",
        "v1"
    ]
}