get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 102390,
    "url": "http://patches.dpdk.org/api/patches/102390/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20211020162812.332494-2-yanx.xia@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": "<20211020162812.332494-2-yanx.xia@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211020162812.332494-2-yanx.xia@intel.com",
    "date": "2021-10-20T16:28:10",
    "name": "[V1,1/3] framework: modify dts because of i40evf removed",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "455f4ee02dedeea1d8a3a9dc542f4504f3b68fc9",
    "submitter": {
        "id": 2034,
        "url": "http://patches.dpdk.org/api/people/2034/?format=api",
        "name": "Yan Xia",
        "email": "yanx.xia@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20211020162812.332494-2-yanx.xia@intel.com/mbox/",
    "series": [
        {
            "id": 19828,
            "url": "http://patches.dpdk.org/api/series/19828/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=19828",
            "date": "2021-10-20T16:28:09",
            "name": "*** modify dts because of i40evf removed ***",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/19828/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/102390/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/102390/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 CBEE3A0C4B;\n\tWed, 20 Oct 2021 10:28:36 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C7A51411B8;\n\tWed, 20 Oct 2021 10:28:36 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 3538640142\n for <dts@dpdk.org>; Wed, 20 Oct 2021 10:28:35 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 01:28:34 -0700",
            "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 20 Oct 2021 01:28:33 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10142\"; a=\"226186608\"",
            "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"226186608\"",
            "E=Sophos;i=\"5.87,166,1631602800\"; d=\"scan'208\";a=\"575177382\""
        ],
        "From": "Yan Xia <yanx.xia@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Yan Xia <yanx.xia@intel.com>",
        "Date": "Wed, 20 Oct 2021 16:28:10 +0000",
        "Message-Id": "<20211020162812.332494-2-yanx.xia@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "In-Reply-To": "<20211020162812.332494-1-yanx.xia@intel.com>",
        "References": "<20211020162812.332494-1-yanx.xia@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 1/3] framework: modify dts because of i40evf removed",
        "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 dts because of i40evf removed\n\nSigned-off-by: Yan Xia <yanx.xia@intel.com>\n---\n framework/dut.py      | 3 +--\n framework/settings.py | 4 ++--\n 2 files changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/framework/dut.py b/framework/dut.py\nindex f5481d06..f3ef2cbe 100644\n--- a/framework/dut.py\n+++ b/framework/dut.py\n@@ -507,8 +507,7 @@ class Dut(Crb):\n                         break\n                 else:\n                     # try to bind nic with iavf\n-                    if driver == 'i40evf':\n-                        driver = 'iavf'\n+                    if driver == 'iavf':\n                         self.send_expect('modprobe %s' % driver, '# ')\n                         self.send_expect('echo %s > /sys/bus/pci/drivers/%s/bind'\n                                          % (pci_bus, driver), '# ')\ndiff --git a/framework/settings.py b/framework/settings.py\nindex c08b8709..bca4d59f 100644\n--- a/framework/settings.py\n+++ b/framework/settings.py\n@@ -153,8 +153,8 @@ DRIVERS = {\n     'fortpark_1g': 'i40e',\n     'fortpark_TLV': 'i40e',\n     'fortpark_BASE-T': 'i40e',\n-    'fortpark_TLV_vf': 'i40evf',\n-    'fvl10g_vf': 'i40evf',\n+    'fortpark_TLV_vf': 'iavf',\n+    'fvl10g_vf': 'iavf',\n     'ConnectX3_MT4103': 'mlx4_core',\n     'ConnectX4_MT4115': 'mlx5_core',\n     'ConnectX4_LX_MT4117': 'mlx5_core',\n",
    "prefixes": [
        "V1",
        "1/3"
    ]
}