get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 121994,
    "url": "http://patches.dpdk.org/api/patches/121994/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230113130533.982024-1-zhiminx.huang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20230113130533.982024-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230113130533.982024-1-zhiminx.huang@intel.com",
    "date": "2023-01-13T13:05:33",
    "name": "[V1] vf_vlan/vf_vlan_rx:modify code to adapt avx2 and avx512 on vlan offload",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0de26e3815795b9933b1c6bc000ba585108d6b3d",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230113130533.982024-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 26523,
            "url": "http://patches.dpdk.org/api/series/26523/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=26523",
            "date": "2023-01-13T13:05:33",
            "name": "[V1] vf_vlan/vf_vlan_rx:modify code to adapt avx2 and avx512 on vlan offload",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/26523/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/121994/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/121994/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 9993D423BC;\n\tFri, 13 Jan 2023 05:46:20 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9640E410EF;\n\tFri, 13 Jan 2023 05:46:20 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 5ADC5410D4\n for <dts@dpdk.org>; Fri, 13 Jan 2023 05:46:18 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jan 2023 20:46:17 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.96])\n by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jan 2023 20:46:15 -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=1673585178; x=1705121178;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=7aT1SlcFuV/+ekPSAVS+vRP95Y2hhn5tPzm//fcGg6c=;\n b=Iek2xZhhIiYXFHuujJiIaToL0kGDXhKBTc9fKjIjAjxAm2+vZTRHw8s0\n mvSr5sJ40zK27mz1oPeChsZtIlQG/q1MF02CO2qPv/lyQvAEBXep56cNb\n W6QBFSbV/vav630Q/K8isk+Ec3J/3ogO6oeQwV+78L850c5hHIa8nEzZ2\n a7wsGHJ/VkYLEPG3qGYZqsZW4Q3EFkbrgv5XYZLnOoZlG8hS2HKu0oKNZ\n n6rJZmGwYavsKWMlGyP479yL2Xz/2vxQ8oU/oUh2800tPOnya7YnSZ8sr\n HCd5JXdrb8AJdW3KkgnpJFVVM1UZaqsjA3jVMPm0XxAJfF3kCDnbiicZu A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10588\"; a=\"323973110\"",
            "E=Sophos;i=\"5.97,212,1669104000\"; d=\"scan'208\";a=\"323973110\"",
            "E=McAfee;i=\"6500,9779,10588\"; a=\"782040296\"",
            "E=Sophos;i=\"5.97,212,1669104000\"; d=\"scan'208\";a=\"782040296\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts][PATCH V1] vf_vlan/vf_vlan_rx:modify code to adapt avx2 and\n avx512 on vlan offload",
        "Date": "Fri, 13 Jan 2023 13:05:33 +0000",
        "Message-Id": "<20230113130533.982024-1-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "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": "base on dts commit 92e12676d29341695d86ef8ee8e36d4014d56e98,missing\nvf_vlan_rx test case modification.\n\nadd parameter \"--enable-hw-vlan\" in testpmd.\nthe dpdk commit 5cbfb386aa3f4c49b3cd9579e4e928cc5ab08d35 fixed avx2 not support this parameter.\nthe avx2 behavior is not appropriate,it has gap between avx2 and avx512,\nthis feature will be implemetned in the future.\nso we add parameter \"enable-hw-vlan\" in testpmd,there is no gap in avx2 and avx512 to test vlan strip.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/vf_vlan_test_plan.rst | 17 +++++++++--------\n tests/TestSuite_vf_vlan.py       |  3 ++-\n 2 files changed, 11 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/test_plans/vf_vlan_test_plan.rst b/test_plans/vf_vlan_test_plan.rst\nindex 8612bd84..0cf946d0 100644\n--- a/test_plans/vf_vlan_test_plan.rst\n+++ b/test_plans/vf_vlan_test_plan.rst\n@@ -68,7 +68,13 @@ Prerequisites\n      testpmd> set verbose 1\n      testpmd> start\n \n- if test DCF, set VF port to dcf and start up::\n+.. note::\n+   according to dpdk commit 5cbfb386aa3f4c49b3cd9579e4e928cc5ab08d35,if not add parameter \"enable-hw-vlan\", the vlan\n+   offload should be disable.the avx2 behavior is not appropriate, the avx2 and avx512 shouldn't have gap on vlan\n+   offload.this feature will be implemetned in the future.so add parameter \"--enable-hw-vlan\" in testpmd to test vlan\n+   strip.\n+\n+if test DCF, set VF port to dcf and start up::\n \n    Enable kernel trust mode:\n \n@@ -155,7 +161,7 @@ Test case4: VF tagged vlan rx\n \n 1. Make sure port based vlan disabled on VF0 and VF1\n \n-2. Start testpmd with rxonly mode::\n+2. Start testpmd with rxonly mode and parameter \"--enable-hw-vlan\"::\n \n      testpmd> set fwd rxonly\n      testpmd> set verbose 1\n@@ -186,12 +192,7 @@ Test case4: VF tagged vlan rx\n Test case5: VF Vlan strip test\n ==============================\n \n-.. note::\n-   according to dpdk commit 5cbfb386aa3f4c49b3cd9579e4e928cc5ab08d35,if not add parameter \"enable-hw-vlan\", the vlan\n-   offload should be disable.the avx2 behavior is not appropriate, the avx2 and avx512 shouldn't have gap on vlan\n-   offload. so add parameter \"--enable-hw-vlan\" in testpmd to test vlan strip.\n-\n-1. Start testpmd with mac forward mode::\n+1. Start testpmd with mac forward mode and parameter \"--enable-hw-vlan\"::\n \n      testpmd> set fwd mac\n      testpmd> set verbose 1\ndiff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py\nindex 14c675c7..563d06b6 100644\n--- a/tests/TestSuite_vf_vlan.py\n+++ b/tests/TestSuite_vf_vlan.py\n@@ -344,7 +344,8 @@ class TestVfVlan(TestCase):\n         self.vm0_dut_ports = self.vm_dut_0.get_ports(\"any\")\n \n         self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n-        self.launch_testpmd(dcf_flag=self.dcf_mode)\n+        param = \"--enable-hw-vlan\" if not self.dcf_mode else \"\"\n+        self.launch_testpmd(dcf_flag=self.dcf_mode, param=param)\n         self.vm0_testpmd.execute_cmd(\"set fwd rxonly\")\n         self.vm0_testpmd.execute_cmd(\"set verbose 1\")\n         self.vm0_testpmd.execute_cmd(\"vlan set strip on 0\")\n",
    "prefixes": [
        "V1"
    ]
}