get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 102373,
    "url": "https://patches.dpdk.org/api/patches/102373/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/1634717221-221075-8-git-send-email-songx.jiale@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": "<1634717221-221075-8-git-send-email-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1634717221-221075-8-git-send-email-songx.jiale@intel.com",
    "date": "2021-10-20T08:07:00",
    "name": "[V1,8/9] tests/kernelpf_iavf: update case code for driver change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "96e7e0a45796b21a72abdd6f8872c872f9175d2d",
    "submitter": {
        "id": 2352,
        "url": "https://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/1634717221-221075-8-git-send-email-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 19823,
            "url": "https://patches.dpdk.org/api/series/19823/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=19823",
            "date": "2021-10-20T08:06:53",
            "name": "[V1,1/9] tests/cvl_dcf_flow_priority: update case code for driver change",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/19823/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/102373/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/102373/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 53FF8A0C45;\n\tWed, 20 Oct 2021 09:53:20 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4E754411B5;\n\tWed, 20 Oct 2021 09:53:20 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id E76DE41199\n for <dts@dpdk.org>; Wed, 20 Oct 2021 09:53:18 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 00:53:18 -0700",
            "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 00:53:17 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10142\"; a=\"252203339\"",
            "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"252203339\"",
            "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"494506997\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Date": "Wed, 20 Oct 2021 16:07:00 +0800",
        "Message-Id": "<1634717221-221075-8-git-send-email-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1634717221-221075-1-git-send-email-songx.jiale@intel.com>",
        "References": "<1634717221-221075-1-git-send-email-songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1 8/9] tests/kernelpf_iavf: update case code for\n driver change",
        "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": "Signed-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_kernelpf_iavf.py | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py\nindex 6a858fc..7b3d891 100644\n--- a/tests/TestSuite_kernelpf_iavf.py\n+++ b/tests/TestSuite_kernelpf_iavf.py\n@@ -140,6 +140,8 @@ class TestKernelpfIavf(TestCase):\n         # bind to default driver\n         self.bind_nic_driver(self.dut_ports, driver=\"\")\n         self.used_dut_port = self.dut_ports[0]\n+        if self.nic.startswith('columbiaville'):\n+            self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning on' % self.host_intf, \"# \")\n         self.dut.generate_sriov_vfs_by_port(\n             self.used_dut_port, 1, driver=driver)\n         self.sriov_vfs_port = self.dut.ports_info[\n@@ -1036,3 +1038,5 @@ class TestKernelpfIavf(TestCase):\n         if self.env_done:\n             self.destroy_vm_env()\n \n+        if self.nic.startswith('columbiaville'):\n+            self.dut.send_expect('ethtool --set-priv-flags %s vf-vlan-pruning off' % self.host_intf, \"# \")   \n",
    "prefixes": [
        "V1",
        "8/9"
    ]
}