get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120043,
    "url": "https://patches.dpdk.org/api/patches/120043/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221122070927.7634-1-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": "<20221122070927.7634-1-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221122070927.7634-1-weiyuanx.li@intel.com",
    "date": "2022-11-22T07:09:20",
    "name": "[V4,1/8] test_plans/dual_vlan: modify script and test plan to support i40e fimware >= 8.4",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "fa435522e8eab5ea740fd283bce9e60098d2dc59",
    "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/20221122070927.7634-1-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 25851,
            "url": "https://patches.dpdk.org/api/series/25851/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=25851",
            "date": "2022-11-22T07:09:20",
            "name": "[V4,1/8] test_plans/dual_vlan: modify script and test plan to support i40e fimware >= 8.4",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/25851/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/120043/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/120043/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 B6BDFA057F;\n\tTue, 22 Nov 2022 08:09:39 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B000342D45;\n\tTue, 22 Nov 2022 08:09:39 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id A3820427EB\n for <dts@dpdk.org>; Tue, 22 Nov 2022 08:09:37 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Nov 2022 23:09:36 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Nov 2022 23:09:34 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1669100977; x=1700636977;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=D4Le7/PFky7p5rLL7JmmPVAkSvMjRgOvawZAly+B7Es=;\n b=NQ5j308Nitvki/SkksaTAMKjaWo7GKORw0fFKUDbeJyu9o+fr5JxHzoZ\n EJDB80i+RVefNRAkojjgL84Jfhdey7oa1WQ0w63grydBYSm5YWQVHwyCX\n dfsuzHmYbRvSgBQ1EPHTlFFCeab+0zeEJG8V26FPGZ6WNQRFDSDCvphmt\n 5w7GFTf4/Rj8PNMoDPrirgBga91/Jww9R9UutfKNpdOGdAn3ohZfjw0I3\n EopeT/Ejuw3buVjn2ljZ3uGyG98HD8J5z/SCaBtCaswA69jkRUbeaXSmf\n MWwAmLvf/WWInfTg6KZ98LNOUTvQqEEeIIbErh6/TRbg7BcZ6Pd+2rF/t w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10538\"; a=\"314899804\"",
            "E=Sophos;i=\"5.96,183,1665471600\"; d=\"scan'208\";a=\"314899804\"",
            "E=McAfee;i=\"6500,9779,10538\"; a=\"730296294\"",
            "E=Sophos;i=\"5.96,183,1665471600\"; d=\"scan'208\";a=\"730296294\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>,\n\tSong Jiale <songx.jiale@intel.com>",
        "Subject": "[dts][PATCH V4 1/8] test_plans/dual_vlan: modify script and test plan\n to support i40e fimware >= 8.4",
        "Date": "Tue, 22 Nov 2022 15:09:20 +0800",
        "Message-Id": "<20221122070927.7634-1-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "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": "Modify script and test plan to i40e support fimware >= 8.4.\nWhen the fimrware >= 8.4, if the filter is to take effect need to enable\nextend.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\nTested-by: Song Jiale <songx.jiale@intel.com>\n\nv2:\n-use the firmware version to judge whether to add command `extend on`.\nv3:\n-modify description.\nv4:\n-modify comments.\n-dual_vlan test plan modify table and add header.\n \n test_plans/dual_vlan_test_plan.rst | 83 ++++++++++++++++++++++++++++--\n 1 file changed, 79 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/test_plans/dual_vlan_test_plan.rst b/test_plans/dual_vlan_test_plan.rst\nindex fab18515..4436226b 100644\n--- a/test_plans/dual_vlan_test_plan.rst\n+++ b/test_plans/dual_vlan_test_plan.rst\n@@ -35,6 +35,11 @@ The -n command is used to select the number of memory channels. It should match\n Test Case: Enable/Disable VLAN packets filtering\n ================================================\n \n+Due to the kernel enables Qinq and cannot be closed, the DPDK cn only add `extend on` to make the VLAN filter\n+work normally. Therefore, if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally::\n+\n+    testpmd> vlan set extend on 0\n+\n Setup the ``mac`` forwarding mode::\n \n     testpmd> set fwd mac\n@@ -61,9 +66,7 @@ Check whether the mode is set successful::\n     Allmulticast mode: disabled\n     Maximum number of MAC addresses: 127\n     VLAN offload:\n-      strip off\n-      filter on\n-      qinq(extend) off\n+        strip off, filter on, extend on, qinq strip off\n \n start forwarding packets::\n \n@@ -112,6 +115,11 @@ Disable VLAN packet extend and strip port ``0``::\n     testpmd> vlan set extend off 0\n     testpmd> vlan set strip off 0\n \n+Due to the kernel enables Qinq and cannot be closed, the DPDK cn only add `extend on` to make the VLAN filter\n+work normally. Therefore, if the i40e firmware version >= 8.4 the dpdk can only add 'extend on' to make the VLAN filter work normally::\n+\n+    testpmd> vlan set extend on 0\n+\n Enable VLAN filtering on port ``0``::\n \n     testpmd> vlan set filter on 0\n@@ -301,7 +309,9 @@ Do the synthetic test following the below table and check the result is the same\n as the table(the inserted VLAN Tag Identifier is limited to ``0x3``, and all modes\n except insert are set on rx port).\n \n-+-------+-------+--------+------------+--------+--------+-------+-------+-------+\n++-------------------------------------------------------+-----------------------+\n+|                  Configure setting                    |       Result          |\n++=======+=======+========+============+========+========+=======+=======+=======+\n | Outer | Inner |  Vlan  |   Vlan     | Vlan   | Vlan   | Pass/ | Outer | Inner |\n | vlan  | vlan  |  strip |   filter   | extend | insert | Drop  | vlan  | vlan  |\n +-------+-------+--------+------------+--------+--------+-------+-------+-------+\n@@ -358,6 +368,71 @@ except insert are set on rx port).\n |  0x1  |  0x2  |  yes   |  yes,0x2   |  yes   |  yes   | pass  |  0x3  |  0x1  |\n +-------+-------+--------+------------+--------+--------+-------+-------+-------+\n \n+Due to the kernel enables Qinq and cannot be closed, the DPDK cn only add `extend on` to make the VLAN filter\n+work normally. Therefore, if the i40e firmware >= 8.4 the synthetic test according to the following table.\n+In addition, filter inner vlan when firmware <= 8.3, filter outer vlan when firmware >= 8.4.\n+\n++-------------------------------------------------------+-----------------------+\n+|                  Configure setting                    |       Result          |\n++=======+=======+========+============+========+========+=======+=======+=======+\n+| Outer | Inner |  Vlan  |   Vlan     | Vlan   | Vlan   | Pass/ | Outer | Inner |\n+| vlan  | vlan  |  strip |   filter   | extend | insert | Drop  | vlan  | vlan  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |     no     |   no   |   no   | pass  |  0x1  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |     no     |   no   |   no   | pass  |  no   |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x1   |   no   |   no   | pass  |  0x1  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x2   |   no   |   no   | pass  |  0x1  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x1   |   no   |   no   | pass  |  no   |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x2   |   no   |   no   | pass  |  no   |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |     no     |  yes   |   no   | pass  |  0x1  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |     no     |  yes   |   no   | pass  |  no   |  0x1  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x1   |  yes   |   no   | pass  |  0x1  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x2   |  yes   |   no   | drop  |  no   |   no  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x1   |  yes   |   no   | pass  |  no   |  0x1  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x2   |  yes   |   no   | drop  |  no   |  no   |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |     no     |   no   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |     no     |   no   |  yes   | pass  |  0x3  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x1   |   no   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x2   |   no   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x1   |   no   |  yes   | pass  |  0x3  |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x2   |   no   |  yes   | drop  |  no   |  no   |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |     no     |  yes   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |     no     |  yes   |  yes   | pass  |  0x3  |  0x1  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x1   |  yes   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |   no   |  yes,0x2   |  yes   |  yes   | pass  |  0x3  |  0x1  |\n+|       |       |        |            |        |        |       |       |  0x2  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x1   |  yes   |  yes   | pass  |  0x3  |  0x1  |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+|  0x1  |  0x2  |  yes   |  yes,0x2   |  yes   |  yes   | drop  |   no  |  no   |\n++-------+-------+--------+------------+--------+--------+-------+-------+-------+\n+\n Test Case: Strip/Filter/Extend/Insert enable/disable random test\n ================================================================\n \n",
    "prefixes": [
        "V4",
        "1/8"
    ]
}