get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 36769,
    "url": "http://patches.dpdk.org/api/patches/36769/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180330083150.44990-1-zhiyong.yang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20180330083150.44990-1-zhiyong.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180330083150.44990-1-zhiyong.yang@intel.com",
    "date": "2018-03-30T08:31:50",
    "name": "[dpdk-dev] net/virtio-user: fix port_id type",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e298c6935d2c3b1beabe75d390f9bbc3405069e5",
    "submitter": {
        "id": 540,
        "url": "http://patches.dpdk.org/api/people/540/?format=api",
        "name": "Yang, Zhiyong",
        "email": "zhiyong.yang@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180330083150.44990-1-zhiyong.yang@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/36769/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/36769/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A5BD42B9C;\n\tFri, 30 Mar 2018 10:31:56 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 6B0D31F28\n\tfor <dev@dpdk.org>; Fri, 30 Mar 2018 10:31:54 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t30 Mar 2018 01:31:53 -0700",
            "from dpdk9.bj.intel.com ([172.16.182.183])\n\tby fmsmga004.fm.intel.com with ESMTP; 30 Mar 2018 01:31:51 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.48,380,1517904000\"; d=\"scan'208\";a=\"42029450\"",
        "From": "zhiyong.yang@intel.com",
        "To": "dev@dpdk.org",
        "Cc": "maxime.coquelin@redhat.com, tiwei.bie@intel.com,\n\tZhiyong Yang <zhiyong.yang@intel.com>",
        "Date": "Fri, 30 Mar 2018 16:31:50 +0800",
        "Message-Id": "<20180330083150.44990-1-zhiyong.yang@intel.com>",
        "X-Mailer": "git-send-email 2.14.3",
        "Subject": "[dpdk-dev] [PATCH] net/virtio-user: fix port_id type",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "virtio-user port_id range should be increased from 8 bits to 16 bits.\n\nFixes: f8244c6399d9 (\"ethdev: increase port id range\")\nSigned-off-by: Zhiyong Yang <zhiyong.yang@intel.com>\n---\n drivers/net/virtio/virtio_user/virtio_user_dev.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.h b/drivers/net/virtio/virtio_user/virtio_user_dev.h\nindex 64467b4f9..5f8755771 100644\n--- a/drivers/net/virtio/virtio_user/virtio_user_dev.h\n+++ b/drivers/net/virtio/virtio_user/virtio_user_dev.h\n@@ -31,7 +31,7 @@ struct virtio_user_dev {\n \t\t\t\t   */\n \tuint64_t\tdevice_features; /* supported features by device */\n \tuint8_t\t\tstatus;\n-\tuint8_t\t\tport_id;\n+\tuint16_t\tport_id;\n \tuint8_t\t\tmac_addr[ETHER_ADDR_LEN];\n \tchar\t\tpath[PATH_MAX];\n \tstruct vring\tvrings[VIRTIO_MAX_VIRTQUEUES];\n",
    "prefixes": [
        "dpdk-dev"
    ]
}