get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65034,
    "url": "https://patches.dpdk.org/api/patches/65034/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/431ba34a535fde104be2fe44d5e884d173f70cdf.1579703134.git.dekelp@mellanox.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": "<431ba34a535fde104be2fe44d5e884d173f70cdf.1579703134.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/431ba34a535fde104be2fe44d5e884d173f70cdf.1579703134.git.dekelp@mellanox.com",
    "date": "2020-01-22T14:27:13",
    "name": "[01/11] net/mlx5: fix masks of encap and decap actions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7f1b31640d82994cb3fb46d67a2e1aab8b0785c6",
    "submitter": {
        "id": 1082,
        "url": "https://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.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/431ba34a535fde104be2fe44d5e884d173f70cdf.1579703134.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 8260,
            "url": "https://patches.dpdk.org/api/series/8260/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=8260",
            "date": "2020-01-22T14:27:13",
            "name": "net/mlx5: vlan actions validation fixes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/8260/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/65034/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/65034/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 C97B7A0530;\n\tWed, 22 Jan 2020 15:29:57 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6F11E2BF1;\n\tWed, 22 Jan 2020 15:29:55 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id 3F7102BBD\n for <dev@dpdk.org>; Wed, 22 Jan 2020 15:29:52 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n dekelp@mellanox.com)\n with ESMTPS (AES256-SHA encrypted); 22 Jan 2020 16:29:50 +0200",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n [10.128.130.87])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 00METnKx010555;\n Wed, 22 Jan 2020 16:29:50 +0200"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "matan@mellanox.com, viacheslavo@mellanox.com",
        "Cc": "rasland@mellanox.com, orika@mellanox.com, dev@dpdk.org, stable@dpdk.org",
        "Date": "Wed, 22 Jan 2020 16:27:13 +0200",
        "Message-Id": "\n <431ba34a535fde104be2fe44d5e884d173f70cdf.1579703134.git.dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "In-Reply-To": "<cover.1579703134.git.dekelp@mellanox.com>",
        "References": "<cover.1579703134.git.dekelp@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH 01/11] net/mlx5: fix masks of encap and decap\n\tactions",
        "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": "PUSH_VLAN and POP_VLAN actions flags were added to ENCAP_ACTIONS\nand DECAP_ACTIONS bit masks, respectively.\nThis is incorrect, because VLAN actions are considered as 'modify\nheader' actions, not as 'packet reformat' actions.\n\nThis patch removes the PUSH_VLAN and POP_VLAN actions flags from\nENCAP_ACTIONS and DECAP_ACTIONS bit masks.\n\nFixes: 9aee7a8418d4 (\"net/mlx5: support push flow action on VLAN header\")\nFixes: b41e47da2592 (\"net/mlx5: support pop flow action on VLAN header\")\nCc: stable@dpdk.org\n\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\nAcked-by: Ori Kam <orika@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.h | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h\nindex 9832542..f771cac 100644\n--- a/drivers/net/mlx5/mlx5_flow.h\n+++ b/drivers/net/mlx5/mlx5_flow.h\n@@ -212,13 +212,11 @@ enum mlx5_feature_name {\n \n #define MLX5_FLOW_ENCAP_ACTIONS\t(MLX5_FLOW_ACTION_VXLAN_ENCAP | \\\n \t\t\t\t MLX5_FLOW_ACTION_NVGRE_ENCAP | \\\n-\t\t\t\t MLX5_FLOW_ACTION_RAW_ENCAP | \\\n-\t\t\t\t MLX5_FLOW_ACTION_OF_PUSH_VLAN)\n+\t\t\t\t MLX5_FLOW_ACTION_RAW_ENCAP)\n \n #define MLX5_FLOW_DECAP_ACTIONS\t(MLX5_FLOW_ACTION_VXLAN_DECAP | \\\n \t\t\t\t MLX5_FLOW_ACTION_NVGRE_DECAP | \\\n-\t\t\t\t MLX5_FLOW_ACTION_RAW_DECAP | \\\n-\t\t\t\t MLX5_FLOW_ACTION_OF_POP_VLAN)\n+\t\t\t\t MLX5_FLOW_ACTION_RAW_DECAP)\n \n #define MLX5_FLOW_MODIFY_HDR_ACTIONS (MLX5_FLOW_ACTION_SET_IPV4_SRC | \\\n \t\t\t\t      MLX5_FLOW_ACTION_SET_IPV4_DST | \\\n",
    "prefixes": [
        "01/11"
    ]
}