get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87335,
    "url": "https://patches.dpdk.org/api/patches/87335/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1611665613-123388-2-git-send-email-jiaweiw@nvidia.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": "<1611665613-123388-2-git-send-email-jiaweiw@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1611665613-123388-2-git-send-email-jiaweiw@nvidia.com",
    "date": "2021-01-26T12:53:32",
    "name": "[1/2] net/mlx5: fix the E-Switch sample action creation failure",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4c801bc1732ae96ad4d10a65b83135fe1ed4d060",
    "submitter": {
        "id": 1939,
        "url": "https://patches.dpdk.org/api/people/1939/?format=api",
        "name": "Jiawei Wang",
        "email": "jiaweiw@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1611665613-123388-2-git-send-email-jiaweiw@nvidia.com/mbox/",
    "series": [
        {
            "id": 14951,
            "url": "https://patches.dpdk.org/api/series/14951/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14951",
            "date": "2021-01-26T12:53:33",
            "name": "net/mlx5: use global default miss for E-Switch sampling",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14951/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87335/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/87335/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 F047CA052A;\n\tTue, 26 Jan 2021 13:53:55 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 20C761414A1;\n\tTue, 26 Jan 2021 13:53:45 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id C6760141493\n for <dev@dpdk.org>; Tue, 26 Jan 2021 13:53:38 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n jiaweiw@nvidia.com) with SMTP; 26 Jan 2021 14:53:34 +0200",
            "from nvidia.com (gen-l-vrt-281.mtl.labs.mlnx [10.237.44.1])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10QCrXBr022427;\n Tue, 26 Jan 2021 14:53:33 +0200"
        ],
        "From": "Jiawei Wang <jiaweiw@nvidia.com>",
        "To": "viacheslavo@nvidia.com, matan@nvidia.com, orika@nvidia.com,\n thomas@monjalon.net",
        "Cc": "dev@dpdk.org, rasland@nvidia.com, stable@dpdk.org",
        "Date": "Tue, 26 Jan 2021 14:53:32 +0200",
        "Message-Id": "<1611665613-123388-2-git-send-email-jiaweiw@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1611665613-123388-1-git-send-email-jiaweiw@nvidia.com>",
        "References": "<1611665613-123388-1-git-send-email-jiaweiw@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH 1/2] net/mlx5: fix the E-Switch sample action\n creation failure",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch fixes the incorrect checking for the return value\nof default miss action creation.\n\nFixes: 14020ad53d4e (\"net/mlx5: wrap default miss flow action per OS\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jiawei Wang <jiaweiw@nvidia.com>\nAcked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>\n---\n drivers/net/mlx5/mlx5_flow_dv.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c\nindex 1a0c0be..27d711d 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -9155,7 +9155,7 @@ struct mlx5_cache_entry *\n \tif (resource->ft_type == MLX5DV_FLOW_TABLE_TYPE_FDB) {\n \t\tret = mlx5_flow_os_create_flow_action_default_miss\n \t\t\t(&cache_resource->default_miss);\n-\t\tif (!ret) {\n+\t\tif (ret) {\n \t\t\trte_flow_error_set(error, ENOMEM,\n \t\t\t\t\t\tRTE_FLOW_ERROR_TYPE_UNSPECIFIED,\n \t\t\t\t\t\tNULL,\n",
    "prefixes": [
        "1/2"
    ]
}