get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75477,
    "url": "http://patches.dpdk.org/api/patches/75477/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200813070644.14669-1-weix.xie@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": "<20200813070644.14669-1-weix.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200813070644.14669-1-weix.xie@intel.com",
    "date": "2020-08-13T07:06:44",
    "name": "[V2] tests/vf_kernel:modify default driver from igb_uio to vfio-pci on vm",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d58734af5d747a7ff8bb5eb86c75cc4a0f9dcbf1",
    "submitter": {
        "id": 1686,
        "url": "http://patches.dpdk.org/api/people/1686/?format=api",
        "name": "Xie, WeiX",
        "email": "weix.xie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200813070644.14669-1-weix.xie@intel.com/mbox/",
    "series": [
        {
            "id": 11631,
            "url": "http://patches.dpdk.org/api/series/11631/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11631",
            "date": "2020-08-13T07:06:44",
            "name": "[V2] tests/vf_kernel:modify default driver from igb_uio to vfio-pci on vm",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/11631/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75477/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/75477/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4CED3A04B0;\n\tThu, 13 Aug 2020 09:05:19 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 16B4A1C022;\n\tThu, 13 Aug 2020 09:05:19 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 983A21C00D\n for <dts@dpdk.org>; Thu, 13 Aug 2020 09:05:17 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Aug 2020 00:05:16 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by fmsmga001.fm.intel.com with ESMTP; 13 Aug 2020 00:05:15 -0700"
        ],
        "IronPort-SDR": [
            "\n 0GTRyZsN3mS8yQhVOlvW41nmSKnOXq3vFBtZ08h3ayMeUSjkAz+DlGJdmklE4vDlUt5WItQIvF\n SbmcvfmfGwRw==",
            "\n lScp//6b6CdsHXBd4I3CgKJ+NOK5/ugAOeeVWIcCMTmligZOEpM5daHyAOnfzhvLbRNV/bayzM\n 0hakLTNwpHxA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9711\"; a=\"151819381\"",
            "E=Sophos;i=\"5.76,307,1592895600\"; d=\"scan'208\";a=\"151819381\"",
            "E=Sophos;i=\"5.76,307,1592895600\"; d=\"scan'208\";a=\"399079168\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xie wei <weix.xie@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xie wei <weix.xie@intel.com>",
        "Date": "Thu, 13 Aug 2020 15:06:44 +0800",
        "Message-Id": "<20200813070644.14669-1-weix.xie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V2] tests/vf_kernel:modify default driver from igb_uio\n\tto vfio-pci on vm",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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 vm default driver from igb_uio to vfio-pci\n\nSigned-off-by: Xie wei <weix.xie@intel.com>\n---\n tests/TestSuite_vf_kernel.py | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py\nindex f2f28fe..54676c2 100755\n--- a/tests/TestSuite_vf_kernel.py\n+++ b/tests/TestSuite_vf_kernel.py\n@@ -706,7 +706,7 @@ class TestVfKernel(TestCase):\n         \"\"\"\n         self.vm0_dut.send_expect(\"ifconfig %s up \" % self.vm0_intf0, \"#\")\n         self.vm0_dut.send_expect(\"ifconfig %s up \" % self.vm0_intf1, \"#\")\n-        self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio')\n+        self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci')\n \n         # because of alt_session is false, host cmd need to execute before testpmd start\n         vm0_vf0_mac = self.vm0_dut.ports_info[0]['port'].get_mac_addr()\n@@ -790,11 +790,11 @@ class TestVfKernel(TestCase):\n             self.verify(self.check_pf_vf_link_status(\n                 self.vm1_dut, vm1_intf), \"VM1_vf: %s link down\" % vm1_intf)\n \n-        # Bind kernel VF0, VF1 to igb_uio in VM0, bind kernel VF4 to igb_uio in\n+        # Bind kernel VF0, VF1 to vfio-pci in VM0, bind kernel VF4 to vfio-pci in\n         # VM1\n-        self.vm0_dut.ports_info[0]['port'].bind_driver('igb_uio')\n-        self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio')\n-        self.vm1_dut.ports_info[0]['port'].bind_driver('igb_uio')\n+        self.vm0_dut.ports_info[0]['port'].bind_driver('vfio-pci')\n+        self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci')\n+        self.vm1_dut.ports_info[0]['port'].bind_driver('vfio-pci')\n \n         # because of alt_session is false, host cmd need to execute before testpmd start\n         vm0_vf2_mac = self.vm0_dut.ports_info[2]['port'].get_mac_addr()\n",
    "prefixes": [
        "V2"
    ]
}