get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 116064,
    "url": "http://patches.dpdk.org/api/patches/116064/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220908024719.30163-1-weiyuanx.li@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": "<20220908024719.30163-1-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220908024719.30163-1-weiyuanx.li@intel.com",
    "date": "2022-09-08T02:47:19",
    "name": "[V2] tests/vf_vlan: case add_pvid_vf restart testpmd after remove vlan according to testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9d2dcd4dc3c2689d4e01cf559ca72399c540a526",
    "submitter": {
        "id": 2477,
        "url": "http://patches.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220908024719.30163-1-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24601,
            "url": "http://patches.dpdk.org/api/series/24601/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24601",
            "date": "2022-09-08T02:47:19",
            "name": "[V2] tests/vf_vlan: case add_pvid_vf restart testpmd after remove vlan according to testplan",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24601/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/116064/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/116064/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 D6B73A0548;\n\tThu,  8 Sep 2022 04:47:17 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AEA8A40143;\n\tThu,  8 Sep 2022 04:47:17 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 43C73400D6\n for <dts@dpdk.org>; Thu,  8 Sep 2022 04:47:16 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2022 19:47:10 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Sep 2022 19:47:09 -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=1662605236; x=1694141236;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=GRVS7uFC4gLXWuvL83niix39W093uvNaqkjV9jhgKp4=;\n b=lIn7XmdZByTVLTyVob1U7BXB3igBWOiziLZ4AMaPYAfUVu8vWnXADjNQ\n YY3txor9li5UN3h+UA+8WvYl6y4o0hTxvkKcyr2aJ/xz0zvxwaCvAlesE\n KYZ/XJzvAsVqjmlek/SGyswLGxo8vyB5zXrUcrsxMbpxZLScFAv36AEso\n baUnrMCWIaLFaoWsxsTmtDc573I9TXg/dgfT7GmEN8jt51Gv9cSt9E9Uh\n ZQYfq43o0n0c/pU+BmaWCCYRKcEWbdxrJkL/cv604OhthKupay/gReK0u\n +y4eCNj7ZaJTMjukYzor9nW+wkPopbCZsfyj76b1GO6Q0iua7eyk12NBk A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10463\"; a=\"295783538\"",
            "E=Sophos;i=\"5.93,298,1654585200\"; d=\"scan'208\";a=\"295783538\"",
            "E=Sophos;i=\"5.93,298,1654585200\"; d=\"scan'208\";a=\"676478071\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>",
        "Subject": "[dts][PATCH V2] tests/vf_vlan: case add_pvid_vf restart testpmd after\n remove vlan according to testplan",
        "Date": "Thu,  8 Sep 2022 10:47:19 +0800",
        "Message-Id": "<20220908024719.30163-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": "Case add_pvid_vf modify to restart testpmd after remove vlan according to testplan.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\n\nv2:\n-Patch conflict modification\n\n tests/TestSuite_vf_vlan.py | 12 +++++++-----\n 1 file changed, 7 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py\nindex c4904c55..31826db5 100644\n--- a/tests/TestSuite_vf_vlan.py\n+++ b/tests/TestSuite_vf_vlan.py\n@@ -233,16 +233,18 @@ class TestVfVlan(TestCase):\n \n         # remove vlan\n         self.vm0_testpmd.execute_cmd(\"stop\")\n-        self.vm0_testpmd.execute_cmd(\"port stop all\")\n+        self.vm0_testpmd.quit()\n         self.dut.send_expect(\"ip link set %s vf 0 vlan 0\" % self.host_intf0, \"# \")\n         out = self.dut.send_expect(\"ip link show %s\" % self.host_intf0, \"# \")\n         self.verify(\"vlan %d\" % random_vlan not in out, \"Failed to remove pvid on VF0\")\n \n-        # send packet with vlan\n-        self.vm0_testpmd.execute_cmd(\"port reset 0\", \"testpmd> \", 120)\n-        self.vm0_testpmd.execute_cmd(\"port start all\")\n+        # restart testpmd\n+        self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n+        self.vm0_testpmd.start_testpmd(VM_CORES_MASK)\n+        self.vm0_testpmd.execute_cmd(\"set fwd rxonly\")\n+        self.vm0_testpmd.execute_cmd(\"set verbose 1\")\n         self.vm0_testpmd.execute_cmd(\"start\")\n-\n+        # send packet with vlan\n         out = self.send_and_getout(vlan=random_vlan, pkt_type=\"VLAN_UDP\")\n         if (\n             (self.kdriver == \"i40e\" and self.driver_version < \"2.13.10\")\n",
    "prefixes": [
        "V2"
    ]
}