get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76177,
    "url": "https://patches.dpdk.org/api/patches/76177/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200831075922.17970-2-eperezma@redhat.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200831075922.17970-2-eperezma@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200831075922.17970-2-eperezma@redhat.com",
    "date": "2020-08-31T07:59:22",
    "name": "[v2,1/1] vhost: fix iotlb mempool single-consumer flag",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1b77a13768e9f718ad23ae7cc64eabd4c17a6f86",
    "submitter": {
        "id": 1579,
        "url": "https://patches.dpdk.org/api/people/1579/?format=api",
        "name": "Eugenio Perez Martin",
        "email": "eperezma@redhat.com"
    },
    "delegate": {
        "id": 2642,
        "url": "https://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200831075922.17970-2-eperezma@redhat.com/mbox/",
    "series": [
        {
            "id": 11859,
            "url": "https://patches.dpdk.org/api/series/11859/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11859",
            "date": "2020-08-31T07:59:21",
            "name": "vhost: Make iotlb mempool not single-consumer",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/11859/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76177/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/76177/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-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 CB693A04AB;\n\tMon, 31 Aug 2020 09:59:56 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 62AC41C0AE;\n\tMon, 31 Aug 2020 09:59:47 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [63.128.21.124])\n by dpdk.org (Postfix) with ESMTP id 883CE1C0AD\n for <dev@dpdk.org>; Mon, 31 Aug 2020 09:59:45 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-124-LE8F7mjGNdSGopA63B1pOg-1; Mon, 31 Aug 2020 03:59:42 -0400",
            "from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com\n [10.5.11.14])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DED65802B79;\n Mon, 31 Aug 2020 07:59:41 +0000 (UTC)",
            "from eperezma.remote.csb (ovpn-112-229.ams2.redhat.com\n [10.36.112.229])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 328945D9D5;\n Mon, 31 Aug 2020 07:59:36 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1598860785;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=l+4wQ0mxMeXt9qvhBHA5rHVahI43dcO9oEpZgWikYjQ=;\n b=cay3AAYt2ZbRQrqUGMJ/FAas1cjhzpIIkfpEoMrtPhYxsPGr150vSYecW3HU6qc+dijAwV\n 2dqKdATDwlC1rZaDzt4ByLAxa58TW0iih+w1ulOjVYUosbemDIjTtT2RUq/0wKj2a5NLK3\n irBJ0ejx4pySHa7ZIrg9n3H0zLFftTA=",
        "X-MC-Unique": "LE8F7mjGNdSGopA63B1pOg-1",
        "From": "=?utf-8?q?Eugenio_P=C3=A9rez?= <eperezma@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "Adrian Moreno Zapata <amorenoz@redhat.com>,\n Chenbo Xia <chenbo.xia@intel.com>, Zhihong Wang <zhihong.wang@intel.com>,\n Jens Freimann <jfreimann@redhat.com>, stable@dpdk.org,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Kevin Traynor <ktraynor@redhat.com>",
        "Date": "Mon, 31 Aug 2020 09:59:22 +0200",
        "Message-Id": "<20200831075922.17970-2-eperezma@redhat.com>",
        "In-Reply-To": "<20200831075922.17970-1-eperezma@redhat.com>",
        "References": "<20200810141103.8015-1-eperezma@redhat.com>\n <20200831075922.17970-1-eperezma@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.14",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=eperezma@redhat.com",
        "X-Mimecast-Spam-Score": "0.002",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 1/1] vhost: fix iotlb mempool single-consumer\n\tflag",
        "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://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Bugzilla bug: 523\n\nControl thread (which handles iotlb msg) and forwarding\nthread both use iotlb to translate address. The former may modify the\nsame entry of mempool and may cause a loop in iotlb_pending_entries\nlist.\n\nFixes: d012d1f293f4 (\"vhost: add IOTLB helper functions\")\nSigned-off-by: Eugenio Pérez <eperezma@redhat.com>\n---\n lib/librte_vhost/iotlb.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_vhost/iotlb.c b/lib/librte_vhost/iotlb.c\nindex 5b3a0c090..e0b67721b 100644\n--- a/lib/librte_vhost/iotlb.c\n+++ b/lib/librte_vhost/iotlb.c\n@@ -321,8 +321,7 @@ vhost_user_iotlb_init(struct virtio_net *dev, int vq_index)\n \t\t\tIOTLB_CACHE_SIZE, sizeof(struct vhost_iotlb_entry), 0,\n \t\t\t0, 0, NULL, NULL, NULL, socket,\n \t\t\tMEMPOOL_F_NO_CACHE_ALIGN |\n-\t\t\tMEMPOOL_F_SP_PUT |\n-\t\t\tMEMPOOL_F_SC_GET);\n+\t\t\tMEMPOOL_F_SP_PUT);\n \tif (!vq->iotlb_pool) {\n \t\tVHOST_LOG_CONFIG(ERR,\n \t\t\t\t\"Failed to create IOTLB cache pool (%s)\\n\",\n",
    "prefixes": [
        "v2",
        "1/1"
    ]
}