get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 80837,
    "url": "http://patches.dpdk.org/api/patches/80837/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1602743893-345348-3-git-send-email-matan@nvidia.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": "<1602743893-345348-3-git-send-email-matan@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1602743893-345348-3-git-send-email-matan@nvidia.com",
    "date": "2020-10-15T06:38:12",
    "name": "[3/4] net/mlx5: fix event queue number query",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1b8ef260d43ba75b5d4f9ed571c962bfbd9ec26b",
    "submitter": {
        "id": 1911,
        "url": "http://patches.dpdk.org/api/people/1911/?format=api",
        "name": "Matan Azrad",
        "email": "matan@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1602743893-345348-3-git-send-email-matan@nvidia.com/mbox/",
    "series": [
        {
            "id": 12988,
            "url": "http://patches.dpdk.org/api/series/12988/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12988",
            "date": "2020-10-15T06:38:10",
            "name": "[1/4] net/mlx5: fix Rx queue release",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12988/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/80837/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/80837/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 D65D8A04DB;\n\tThu, 15 Oct 2020 08:39:25 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 324551DCB2;\n\tThu, 15 Oct 2020 08:38:37 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 2E70A1DC84\n for <dev@dpdk.org>; Thu, 15 Oct 2020 08:38:30 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n matan@nvidia.com) with SMTP; 15 Oct 2020 09:38:23 +0300",
            "from nvidia.com (pegasus25.mtr.labs.mlnx [10.210.16.10])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09F6cNVu014993;\n Thu, 15 Oct 2020 09:38:23 +0300"
        ],
        "From": "Matan Azrad <matan@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "Viacheslav Ovsiienko <viacheslavo@nvidia.com>, stable@dpdk.org",
        "Date": "Thu, 15 Oct 2020 06:38:12 +0000",
        "Message-Id": "<1602743893-345348-3-git-send-email-matan@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1602743893-345348-1-git-send-email-matan@nvidia.com>",
        "References": "<1602743893-345348-1-git-send-email-matan@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH 3/4] net/mlx5: fix event queue number query",
        "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": "When a Rx\\Tx queue is created by DevX, its CQ configuration should\ninclude the EQ number of the interrupts.\nThe EQ is managed by the kernel and there is a glue API in order to\nquery the EQ number from the kernel.\nThe EQ query API gets a vector number specifies the kernel vector of\nthe interrupt handling.\n\nThe vector number was wrongly detected according to the configuration\nCPU instead of using the device attributes of the supported vectors.\nThe CPU was wrongly detected by the rte_lcore_to_cpu_id API without any\ncheck, and in case of non-EAL thread context the value was 0xFFFFFFFF\nwhich caused a failure in the EQ number query API.\n\nUse vector 0 for each EQ number query which must be supported by the\nkernel.\n\nFixes: 08d1838f645a (\"net/mlx5: implement CQ for Rx using DevX API\")\nFixes: d133f4cdb706 (\"net/mlx5: create clock queue for packet pacing\")\nCc: stable@dpdk.org\n\nSigned-off-by: Matan Azrad <matan@nvidia.com>\nAcked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>\n---\n drivers/net/mlx5/mlx5.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex 44822ad..f1e3579 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -947,10 +947,8 @@ struct mlx5_dev_ctx_shared *\n \t\tgoto error;\n \t}\n \tif (sh->devx) {\n-\t\tuint32_t lcore = (uint32_t)rte_lcore_to_cpu_id(-1);\n-\n \t\t/* Query the EQN for this core. */\n-\t\terr = mlx5_glue->devx_query_eqn(sh->ctx, lcore, &sh->eqn);\n+\t\terr = mlx5_glue->devx_query_eqn(sh->ctx, 0, &sh->eqn);\n \t\tif (err) {\n \t\t\trte_errno = errno;\n \t\t\tDRV_LOG(ERR, \"Failed to query event queue number %d.\",\n",
    "prefixes": [
        "3/4"
    ]
}