get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52908,
    "url": "http://patches.dpdk.org/api/patches/52908/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1555586930-109097-2-git-send-email-orika@mellanox.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": "<1555586930-109097-2-git-send-email-orika@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1555586930-109097-2-git-send-email-orika@mellanox.com",
    "date": "2019-04-18T11:28:42",
    "name": "[v2,1/9] net/mlx5: fix translate vport function name",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "45cc544c26887509668aca3daaaa252b3ac7e93e",
    "submitter": {
        "id": 795,
        "url": "http://patches.dpdk.org/api/people/795/?format=api",
        "name": "Ori Kam",
        "email": "orika@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1555586930-109097-2-git-send-email-orika@mellanox.com/mbox/",
    "series": [
        {
            "id": 4373,
            "url": "http://patches.dpdk.org/api/series/4373/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4373",
            "date": "2019-04-18T11:28:44",
            "name": "net/mlx5: add Direct Verbs E-Switch support",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4373/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52908/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/52908/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1C93A1B95B;\n\tThu, 18 Apr 2019 13:29:04 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 8D8251B952\n\tfor <dev@dpdk.org>; Thu, 18 Apr 2019 13:29:00 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\torika@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 18 Apr 2019 14:28:58 +0300",
            "from pegasus03.mtr.labs.mlnx (pegasus03.mtr.labs.mlnx\n\t[10.210.16.124])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3IBSwjt024378;\n\tThu, 18 Apr 2019 14:28:58 +0300"
        ],
        "From": "Ori Kam <orika@mellanox.com>",
        "To": "yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com,\n\tviacheslavo@mellanox.com, motih@mellanox.com",
        "Cc": "dev@dpdk.org, orika@mellanox.com",
        "Date": "Thu, 18 Apr 2019 11:28:42 +0000",
        "Message-Id": "<1555586930-109097-2-git-send-email-orika@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1555586930-109097-1-git-send-email-orika@mellanox.com>",
        "References": "<1555276357-4892-1-git-send-email-orika@mellanox.com>\n\t<1555586930-109097-1-git-send-email-orika@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v2 1/9] net/mlx5: fix translate vport function\n\tname",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Modify the translate vport function to match other translate items\nnaming convestions.\n\nFixes: 0fe3f18f78d8 (\"net/mlx5: add source vport match to the ingress rules\")\nCc: viacheslavo@mellanox.com\n\nSigned-off-by: Ori Kam <orika@mellanox.com>\n---\nv2:\n* Address ML comments.\n---\n drivers/net/mlx5/mlx5_flow_dv.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c\nindex 04ab3d6..1e25e0b 100644\n--- a/drivers/net/mlx5/mlx5_flow_dv.c\n+++ b/drivers/net/mlx5/mlx5_flow_dv.c\n@@ -3087,8 +3087,8 @@ struct field_modify_info modify_tcp[] = {\n  *   Mask\n  */\n static void\n-flow_dv_translate_source_vport(void *matcher, void *key,\n-\t\t\t      int16_t port, uint16_t mask)\n+flow_dv_translate_item_source_vport(void *matcher, void *key,\n+\t\t\t\t    int16_t port, uint16_t mask)\n {\n \tvoid *misc_m = MLX5_ADDR_OF(fte_match_param, matcher, misc_parameters);\n \tvoid *misc_v = MLX5_ADDR_OF(fte_match_param, key, misc_parameters);\n@@ -3492,10 +3492,10 @@ struct field_modify_info modify_tcp[] = {\n \t\t * Add matching on source vport index only\n \t\t * for ingress rules in E-Switch configurations.\n \t\t */\n-\t\tflow_dv_translate_source_vport(matcher.mask.buf,\n-\t\t\t\t\t       dev_flow->dv.value.buf,\n-\t\t\t\t\t       priv->vport_id,\n-\t\t\t\t\t       0xffff);\n+\t\tflow_dv_translate_item_source_vport(matcher.mask.buf,\n+\t\t\t\t\t\t    dev_flow->dv.value.buf,\n+\t\t\t\t\t\t    priv->vport_id,\n+\t\t\t\t\t\t    0xffff);\n \t}\n \tfor (; items->type != RTE_FLOW_ITEM_TYPE_END; items++) {\n \t\tint tunnel = !!(item_flags & MLX5_FLOW_LAYER_TUNNEL);\n",
    "prefixes": [
        "v2",
        "1/9"
    ]
}