get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99104,
    "url": "https://patches.dpdk.org/api/patches/99104/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210917180906.88216-3-yanx.xia@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": "<20210917180906.88216-3-yanx.xia@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210917180906.88216-3-yanx.xia@intel.com",
    "date": "2021-09-17T18:09:06",
    "name": "[V1,2/2] tests/kernelpf_iavf: modify vf_vlan_strip because it is wrong for the original case verifying",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "a513e91abb1a882f2a44858fe8fe0f7dcb66a074",
    "submitter": {
        "id": 2034,
        "url": "https://patches.dpdk.org/api/people/2034/?format=api",
        "name": "Yan Xia",
        "email": "yanx.xia@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210917180906.88216-3-yanx.xia@intel.com/mbox/",
    "series": [
        {
            "id": 19004,
            "url": "https://patches.dpdk.org/api/series/19004/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=19004",
            "date": "2021-09-17T18:09:04",
            "name": "*** modify vf_vlan_strip because it is wrong for the original case verifying ***",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/19004/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/99104/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/99104/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 6C8CFA0C46;\n\tFri, 17 Sep 2021 12:07:24 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 65123410EB;\n\tFri, 17 Sep 2021 12:07:24 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 3C6F840689\n for <dts@dpdk.org>; Fri, 17 Sep 2021 12:07:23 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2021 03:07:22 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2021 03:07:21 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10109\"; a=\"209857217\"",
            "E=Sophos;i=\"5.85,300,1624345200\"; d=\"scan'208\";a=\"209857217\"",
            "E=Sophos;i=\"5.85,300,1624345200\"; d=\"scan'208\";a=\"473079444\""
        ],
        "From": "Yan Xia <yanx.xia@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yan Xia <yanx.xia@intel.com>",
        "Date": "Fri, 17 Sep 2021 18:09:06 +0000",
        "Message-Id": "<20210917180906.88216-3-yanx.xia@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "In-Reply-To": "<20210917180906.88216-1-yanx.xia@intel.com>",
        "References": "<20210917180906.88216-1-yanx.xia@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 2/2] tests/kernelpf_iavf: modify vf_vlan_strip\n because it is wrong for the original case verifying",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "modify vf_vlan_strip because it is wrong for the original case verifying\n\nSigned-off-by: Yan Xia <yanx.xia@intel.com>\n---\n tests/TestSuite_kernelpf_iavf.py | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py\nindex 6a858fc5..328e44b2 100644\n--- a/tests/TestSuite_kernelpf_iavf.py\n+++ b/tests/TestSuite_kernelpf_iavf.py\n@@ -529,13 +529,16 @@ class TestKernelpfIavf(TestCase):\n         random_vlan = random.randint(1, MAX_VLAN)\n         self.vm_testpmd.start_testpmd(\"all\")\n         self.vm_testpmd.execute_cmd(\"port stop all\")\n-        self.vm_testpmd.execute_cmd(\"vlan set filter off 0\")\n+        self.vm_testpmd.execute_cmd(\"vlan set filter on 0\")\n+        self.vm_testpmd.execute_cmd(\"rx_vlan add %s 0\" % random_vlan)\n         self.vm_testpmd.execute_cmd(\"vlan set strip off 0\")\n-        self.vm_testpmd.execute_cmd(\"vlan set strip on 0\")\n         self.vm_testpmd.execute_cmd(\"port start all\")\n         self.vm_testpmd.execute_cmd(\"set fwd mac\")\n         self.vm_testpmd.execute_cmd(\"set verbose 1\")\n         self.vm_testpmd.execute_cmd(\"start\")\n+\n+        #enable strip\n+        self.vm_testpmd.execute_cmd(\"vlan set strip on 0\")\n         self.start_tcpdump(self.tester_intf)\n         self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n         tcpdump_out = self.get_tcpdump_package()\n@@ -548,10 +551,7 @@ class TestKernelpfIavf(TestCase):\n         self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n         tcpdump_out = self.get_tcpdump_package()\n         receive_pkt = re.findall('vlan %s' % random_vlan, tcpdump_out)\n-        if self.driver_version < \"2.13.10\" or self.kdriver == 'ice':\n-            self.verify(len(receive_pkt) == 2, 'Failed to not received vlan packet!!!')\n-        else:\n-            self.verify(len(receive_pkt) == 1, 'Failed to not received vlan packet!!!')\n+        self.verify(len(receive_pkt) == 2, 'Failed to not received vlan packet!!!')\n \n     def test_vf_vlan_filter(self):\n         random_vlan = random.randint(2, MAX_VLAN)\n",
    "prefixes": [
        "V1",
        "2/2"
    ]
}