get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 116261,
    "url": "https://patches.dpdk.org/api/patches/116261/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220914053858.11506-2-weiyuanx.li@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": "<20220914053858.11506-2-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220914053858.11506-2-weiyuanx.li@intel.com",
    "date": "2022-09-14T05:38:56",
    "name": "[V3,2/4] test_plans/ice_iavf_fdir: add mulitcast new test case",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "967edb072393a916ac408e0ce0f212abf27edc9a",
    "submitter": {
        "id": 2477,
        "url": "https://patches.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20220914053858.11506-2-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24652,
            "url": "https://patches.dpdk.org/api/series/24652/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=24652",
            "date": "2022-09-14T05:38:55",
            "name": "[V3,1/4] tests/ice_iavf_fdir: add multicast new test case",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/24652/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/116261/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/116261/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 2A8F8A0032;\n\tWed, 14 Sep 2022 07:39:01 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 255F74021E;\n\tWed, 14 Sep 2022 07:39:01 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 476CE40141\n for <dts@dpdk.org>; Wed, 14 Sep 2022 07:38:59 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Sep 2022 22:38:46 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Sep 2022 22:38:44 -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=1663133939; x=1694669939;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=X5Ba3rr1fLc7pY4cEBDgzMCfEyoBLdZexbSfhwgubw8=;\n b=Jv3JaVhuDKNLCt8Q0mo9/5IRsH7y5UCZzNZjTvfDh0LZr/IPKcM4ikSR\n 9+fWYJn4rqIWfnJuvlZ0QGEvA1om6BGUgXzckG5oPEasb5DEeHhDB0sKJ\n 00MQmv6t0EM0wcUdDcBmGQ4j1w4XueocifdxaV5+AKgilmZehScoi7ZS9\n vTR6tjPG3naAHHFKwbx0aBXGXm3gtYm4Qr47LFlg0si+0HhMjOXXW642R\n otkMbsFJkhqO2eXMO0LGqnYHNEh9Tm9uDBul1wMXt8+ywcXcK1G3xvsNw\n pqBcy3rmMVL9km9KvGpCRKTNzKbaPwC7xJTwNACeJenzI1+aLOSbmKFCG g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10469\"; a=\"360080780\"",
            "E=Sophos;i=\"5.93,313,1654585200\"; d=\"scan'208\";a=\"360080780\"",
            "E=Sophos;i=\"5.93,313,1654585200\"; d=\"scan'208\";a=\"594245984\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>, Jiale Song <songx.jiale@intel.com>,\n Peng Yuan <yuan.peng@intel.com>",
        "Subject": "[dts][PATCH V3 2/4] test_plans/ice_iavf_fdir: add mulitcast new test\n case",
        "Date": "Wed, 14 Sep 2022 13:38:56 +0800",
        "Message-Id": "<20220914053858.11506-2-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20220914053858.11506-1-weiyuanx.li@intel.com>",
        "References": "<20220914053858.11506-1-weiyuanx.li@intel.com>",
        "MIME-Version": "1.0",
        "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 ipv4/ipv6 multicast new case for dpdk22.07 new feature.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\nTested-by: Jiale Song < songx.jiale@intel.com>\nAcked-by: Peng Yuan <yuan.peng@intel.com>\n\nv2:\n-modify the ice_iavf_fdir scipt tear_down method and destroy\nenvironment first.\nV3:\n-modify script and test plan disable promisc and trust mode.\n-add multicast detailes description reference.\n-modify script and test plan configure multicast address.\n\n test_plans/ice_iavf_fdir_test_plan.rst | 325 +++++++++++++++++++++++++\n 1 file changed, 325 insertions(+)",
    "diff": "diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst\nindex 9f6b5aaf..50162e23 100644\n--- a/test_plans/ice_iavf_fdir_test_plan.rst\n+++ b/test_plans/ice_iavf_fdir_test_plan.rst\n@@ -236,6 +236,11 @@ Default parameters\n    VF00 MAC::\n \n     [Dest MAC]: 00:11:22:33:44:55\n+    [Multicast Dest MAC]: 11:22:33:44:55:66\n+\n+    .. note::\n+\n+        For multicast mac more details, please refer to https://tooabstractive.com/networking/how-do-you-know-if-a-mac-address-is-unicast-multicast-or-broadcast/\n \n    VF01 MAC::\n \n@@ -253,6 +258,7 @@ Default parameters\n \n     [Source IP]: 192.168.0.20\n     [Dest IP]: 192.168.0.21\n+    [Multicast Dest IPv4]: 224.0.0.1\n     [IP protocol]: 255\n     [TTL]: 2\n     [DSCP]: 4\n@@ -261,10 +267,15 @@ Default parameters\n \n     [Source IPv6]: 2001::2\n     [Dest IPv6]: CDCD:910A:2222:5498:8475:1111:3900:2020\n+    [Multicast Dest IPv6]: ff01::2\n     [IP protocol]: 0\n     [TTL]: 2\n     [TC]: 1\n \n+    .. note::\n+\n+        For multicast ip more details, please refer to https://ipcisco.com/lesson/multicast-ip-addresses-jncie/\n+\n    UDP/TCP/SCTP::\n \n     [Source Port]: 22\n@@ -303,6 +314,21 @@ Send packets\n     sendp([Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\", proto=255, ttl=3, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n     sendp([Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\", proto=255, ttl=2, tos=9) / Raw('x' * 80)],iface=\"enp134s0f1\")\n \n+* MAC_IPV4_PAY multicast\n+\n+   matched packets::\n+\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=255, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)],iface=\"enp134s0f1\")\n+\n+   mismatched packets::\n+\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.22\",dst=\"224.0.0.1\", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.2\", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=1, ttl=2, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=255, ttl=3, tos=4) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=255, ttl=2, tos=9) / Raw('x' * 80)],iface=\"enp134s0f1\")\n+\n * MAC_IPV4_UDP\n \n    matched packets::\n@@ -366,6 +392,21 @@ Send packets\n     sendp([Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"2001::2\", nh=0, tc=2, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n     sendp([Ether(dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"2001::2\", nh=0, tc=1, hlim=5)/(\"X\"*480)], iface=\"enp134s0f1\")\n \n+* MAC_IPV6_PAY multicast\n+\n+   matched packets::\n+\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=0, tc=1, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=0, tc=1, hlim=2)/UDP(sport=22,dport=23)/(\"X\"*480)], iface=\"enp134s0f1\")\n+\n+   mismatched packets::\n+\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::1\", src=\"2001::2\", nh=0, tc=1, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::1\", nh=0, tc=1, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=2, tc=1, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=0, tc=2, hlim=2)/(\"X\"*480)], iface=\"enp134s0f1\")\n+    sendp([Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=0, tc=1, hlim=5)/(\"X\"*480)], iface=\"enp134s0f1\")\n+\n * MAC_IPV6_UDP\n \n    matched packets::\n@@ -7268,3 +7309,287 @@ Subcase 6: MAC_IPV6_GRE_IPV6_UDP mark\n \n each subcase is the same as the subcase of Test case: MAC_IPV6_GRE_IPV6_TCP pattern, just only pattern is different,\n replace \"tcp\" with \"udp\" in all the subcases\n+\n+Test case: MAC_IPV4_PAY pattern multicast\n+=========================================\n+Disable promisc mode in the testpmd::\n+\n+   testpmd> set promisc all off\n+\n+Enable all multicast mode in the testpmd::\n+\n+   testpmd> set allmulti all on\n+\n+configure multicast address::\n+\n+   testpmd> mcast_addr add 0 11:22:33:44:55:66\n+\n+Subcase 1: MAC_IPV4_PAY 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 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions queue index 1 / mark / end\n+\n+2. send multicast matched packets, check the packets are distributed to queue 1 without FDIR matched ID.\n+   send multicast mismatched packets, check the packets are not distributed to queue 1 without FDIR matched ID.\n+\n+3. verify rules can be listed and destroyed::\n+\n+    testpmd> flow list 0\n+\n+   check the rule listed.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packets are not distributed to queue 1 without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 2: MAC_IPV4_PAY rss queues\n+----------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions rss queues 2 3 end / mark / end\n+\n+2. send multicast matched packets, check the packets are distributed to queue 2 or 3 without without FDIR matched ID.\n+   send multicast mismatched packets, check the packets are not distributed to queue 2 or 3 without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not distributed to queue 2 or 3 without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 3: MAC_IPV4_PAY 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 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions passthru / mark / end\n+\n+2. send multicast matched packets, check the packets are distributed by RSS without FDIR matched ID.\n+   send multicast 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 to the same queue without FDIR matched ID=0x0.\n+   check there is no rule listed.\n+\n+Subcase 4: MAC_IPV4_PAY 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 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions drop / mark / end\n+\n+2. send multicast matched packets, check the packets are dropped\n+   send multicast mismatched packets, check the packets are not dropped.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are not dropped.\n+   check there is no rule listed.\n+\n+Subcase 5: MAC_IPV4_PAY mark+rss\n+--------------------------------\n+Note: This combined action is mark with RSS which is without queues specified.\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions mark / rss / end\n+\n+2. send multicast  matched packets, check the packets are distributed by RSS with FDIR matched ID=0x0\n+   send multicast  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 to the same queue without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 6: MAC_IPV4_PAY mark\n+----------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 224.0.0.1 proto is 255 ttl is 2 tos is 4 / end actions mark / end\n+\n+2. send multicast matched packets, check the packets are distributed by RSS with FDIR matched ID=0x0.\n+   send multicast 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 to the same queue without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 7: MAC_IPV4_PAY protocal\n+--------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv4 dst is 224.0.0.1 proto is 1 / end actions queue index 1 / mark id 1 / end\n+    flow create 0 ingress pattern eth / ipv4 dst is 224.0.0.1 proto is 17 / end actions passthru / mark id 3 / end\n+\n+2. send matched packets::\n+\n+    pkt1 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=1)/Raw('x' * 80)\n+    pkt2 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.19\",dst=\"224.0.0.1\", proto=1)/Raw('x' * 80)\n+    pkt3 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)\n+    pkt4 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=17)/UDP(sport=22,dport=23)/Raw('x' * 80)\n+    pkt5 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=17, ttl=2, tos=4)/Raw('x' * 80)\n+    pkt6 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", frag=1, proto=17, ttl=2, tos=4)/Raw('x' * 80)\n+\n+   check the pkt1 and pkt2 are redirected to queue 1 with FDIR matched ID=0x1.\n+   check the pkt3-pkt6 are distributed by RSS with FDIR matched ID=0x3.\n+   send mismatched packets::\n+\n+    pkt7 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.2\", proto=1)/Raw('x' * 80)\n+    pkt8 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", proto=6)/UDP(sport=22,dport=23)/Raw('x' * 80)\n+    pkt9 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\")/TCP(sport=22,dport=23)/Raw('x' * 80)\n+    pkt10 = Ether(dst=\"11:22:33:44:55:66\")/IP(src=\"192.168.0.20\",dst=\"224.0.0.1\", ttl=2, tos=4)/TCP(sport=22,dport=23)/Raw('x' * 80)\n+\n+   check the packets received have not FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets have not FDIR matched ID.\n+   check there is no rule listed.\n+\n+Test case: MAC_IPV6_PAY pattern multicast\n+=========================================\n+Disable promisc mode in the testpmd::\n+\n+   testpmd> set promisc all off\n+\n+Enable all multicast mode in the testpmd::\n+\n+   testpmd> set allmulti all on\n+\n+configure multicast address::\n+\n+   testpmd> mcast_addr add 0 11:22:33:44:55:66\n+\n+Subcase 1: MAC_IPV6_PAY queue index\n+-----------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions queue index 15 / mark / end\n+\n+2. send multicast matched packets, check the packets is distributed to queue 15 with FDIR matched ID=0x0.\n+   send multicast 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 rule listed.\n+   destroy the rule::\n+\n+    testpmd> flow destroy 0 rule 0\n+\n+4. verify matched packet is distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 2: MAC_IPV6_PAY rss queues\n+----------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions rss queues 8 9 10 11 12 13 14 15 end / mark / end\n+\n+2. send multicast matched packets, check the packets is distributed to queue 8-15 with FDIR matched ID=0x0.\n+   send multicast 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 packet is distributed by RSS without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 3: MAC_IPV6_PAY passthru\n+--------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions passthru / mark / end\n+\n+2. send multicast matched packets, check the packets are distributed by RSS with FDIR matched ID=0x0.\n+   send multicast 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 destributed to the same queue without FDIR matched ID .\n+   check there is no rule listed.\n+\n+Subcase 4: MAC_IPV6_PAY drop\n+----------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions drop / mark / end\n+\n+2. send multicast matched packets, check the packets are dropped.\n+   send multicast mismatched packets, check the packets are not dropped.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packet is dropped.\n+   check there is no rule listed.\n+\n+Subcase 5: MAC_IPV6_PAY mark+rss\n+--------------------------------\n+Note: This combined action is mark with RSS which is without queues specified.\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions mark / rss / end\n+\n+2. send multicast matched packets, check the packets are distributed by RSS with FDIR matched ID=0x0\n+   send multicast 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 to the same queue without FDIR matched ID.\n+   check there is no rule listed.\n+\n+Subcase 6: MAC_IPV6_PAY mark\n+----------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 src is 2001::2 proto is 0 hop is 2 tc is 1 / end actions mark / end\n+\n+2. repeat the steps of passthru with mark part in subcase 3,\n+   get the same result.\n+\n+Subcase 7: MAC_IPV6_PAY protocal\n+--------------------------------\n+\n+1. create filter rules::\n+\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 proto is 17 / end actions rss queues 5 6 end / mark id 0 / end\n+    flow create 0 ingress pattern eth / ipv6 dst is ff01::2 proto is 6 / end actions mark id 2 / rss / end\n+\n+2. send matched packets::\n+\n+    pkt1 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", src=\"2001::2\", nh=17, tc=1, hlim=2)/(\"X\"*480)\n+    pkt2 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\")/UDP(sport=22,dport=23)/(\"X\"*480)\n+    pkt3 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", nh=17)/TCP(sport=22,dport=23)/(\"X\"*480)\n+    pkt4 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\")/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/(\"X\"*480)\n+    pkt5 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", nh=6)/(\"X\"*480)\n+    pkt6 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\")/TCP(sport=22,dport=23)/(\"X\"*480)\n+\n+   check pkt1-pkt4 are redirected to queue 5 or queue 6 with FDIR matched ID=0x0.\n+   check pkt5 and pkt6 are distributed by RSS with FDIR matched ID=0x2.\n+   send mismatched packets::\n+\n+    pkt7 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::3\", nh=1)/(\"X\"*480)\n+    pkt8 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\")/SCTP()/(\"X\"*480)\n+    pkt9 = Ether(dst=\"11:22:33:44:55:66\")/IPv6(dst=\"ff01::2\", nh=1)/TCP(sport=22,dport=23)/(\"X\"*480)\n+\n+   check the packets are received without FDIR matched ID.\n+\n+3. repeat step 3 of subcase 1.\n+\n+4. verify matched packets are received without FDIR matched ID.\n+   check there is no rule listed.\n",
    "prefixes": [
        "V3",
        "2/4"
    ]
}