get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 138956,
    "url": "http://patches.dpdk.org/api/patches/138956/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240328130813.3696005-5-maxime.coquelin@redhat.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": "<20240328130813.3696005-5-maxime.coquelin@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240328130813.3696005-5-maxime.coquelin@redhat.com",
    "date": "2024-03-28T13:08:13",
    "name": "[v2,4/4] net/virtio-user: fix control queue allocation",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "63cb93f6ffb6afbf42760d2bdf9bdb295325d471",
    "submitter": {
        "id": 512,
        "url": "http://patches.dpdk.org/api/people/512/?format=api",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.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/20240328130813.3696005-5-maxime.coquelin@redhat.com/mbox/",
    "series": [
        {
            "id": 31637,
            "url": "http://patches.dpdk.org/api/series/31637/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31637",
            "date": "2024-03-28T13:08:09",
            "name": "Virtio-user queues setup fixes",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/31637/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/138956/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/138956/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E44F843D6C;\n\tThu, 28 Mar 2024 14:09:01 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 51EF5427DD;\n\tThu, 28 Mar 2024 14:08:37 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 56D2A4114B\n for <dev@dpdk.org>; Thu, 28 Mar 2024 14:08:35 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-407-7Y3GrrGaPl6Bw9nQfa8OJA-1; Thu, 28 Mar 2024 09:08:30 -0400",
            "from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com\n [10.11.54.10])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5B15D8007A2;\n Thu, 28 Mar 2024 13:08:30 +0000 (UTC)",
            "from max-p1.redhat.com (unknown [10.39.208.26])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 891B8492BD7;\n Thu, 28 Mar 2024 13:08:28 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1711631314;\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=luKtjAB0g4fsel0poRwQ/ihDa6Ti2ObUnoidq2P5sVI=;\n b=K1DHL94ZmHPvzCmxosp9dQMn6NSDDb2vj0lWOQ1/limaGqycJ4hwN2y/dlB4FZ8RfvS7KF\n 4AgS4ZmVVMXPydki9wQj6bFvtUEoxnM3Y+qwLPDpJFdR1peV7QLFtIkn1hQhbXKcaBBegz\n a6HCFuqglXqs1LzjZOPjIjDmvNkubMc=",
        "X-MC-Unique": "7Y3GrrGaPl6Bw9nQfa8OJA-1",
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "To": "dev@dpdk.org,\n\tdavid.marchand@redhat.com,\n\tchenbox@nvidia.com",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>,\n\tstable@dpdk.org",
        "Subject": "[PATCH v2 4/4] net/virtio-user: fix control queue allocation",
        "Date": "Thu, 28 Mar 2024 14:08:13 +0100",
        "Message-ID": "<20240328130813.3696005-5-maxime.coquelin@redhat.com>",
        "In-Reply-To": "<20240328130813.3696005-1-maxime.coquelin@redhat.com>",
        "References": "<20240328130813.3696005-1-maxime.coquelin@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.10",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "It is possible to have the control queue without the\ndevice advertising VIRTIO_NET_F_MQ.\n\nRely on the VIRTIO_NET_F_CTRL_VQ feature being advertised\ninstead.\n\nFixes: 6fdf32d1e318 (\"net/virtio-user: remove max queues limitation\")\nCc: stable@dpdk.org\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n drivers/net/virtio/virtio_user/virtio_user_dev.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c\nindex 912e87fecf..b3aed48452 100644\n--- a/drivers/net/virtio/virtio_user/virtio_user_dev.c\n+++ b/drivers/net/virtio/virtio_user/virtio_user_dev.c\n@@ -21,6 +21,7 @@\n #include <rte_io.h>\n \n #include \"vhost.h\"\n+#include \"virtio.h\"\n #include \"virtio_user_dev.h\"\n #include \"../virtio_ethdev.h\"\n \n@@ -615,7 +616,7 @@ virtio_user_alloc_vrings(struct virtio_user_dev *dev)\n \tbool packed_ring = !!(dev->device_features & (1ull << VIRTIO_F_RING_PACKED));\n \n \tnr_vrings = dev->max_queue_pairs * 2;\n-\tif (dev->device_features & (1ull << VIRTIO_NET_F_MQ))\n+\tif (dev->device_features & (1ull << VIRTIO_NET_F_CTRL_VQ))\n \t\tnr_vrings++;\n \n \tdev->callfds = rte_zmalloc(\"virtio_user_dev\", nr_vrings * sizeof(*dev->callfds), 0);\n",
    "prefixes": [
        "v2",
        "4/4"
    ]
}