get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 44083,
    "url": "https://patches.dpdk.org/api/patches/44083/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180831092038.23051-4-adrien.mazarguil@6wind.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": "<20180831092038.23051-4-adrien.mazarguil@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180831092038.23051-4-adrien.mazarguil@6wind.com",
    "date": "2018-08-31T09:57:32",
    "name": "[3/8] net/mlx5: rename internal function",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "df87912239755c639e13171546f20f2f950cdd1b",
    "submitter": {
        "id": 165,
        "url": "https://patches.dpdk.org/api/people/165/?format=api",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180831092038.23051-4-adrien.mazarguil@6wind.com/mbox/",
    "series": [
        {
            "id": 1126,
            "url": "https://patches.dpdk.org/api/series/1126/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1126",
            "date": "2018-08-31T09:57:25",
            "name": "net/mlx5: add switch offload for VXLAN encap/decap",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1126/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/44083/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/44083/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 0B5314D3A;\n\tFri, 31 Aug 2018 11:57:51 +0200 (CEST)",
            "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n\t[209.85.221.68]) by dpdk.org (Postfix) with ESMTP id B37FE4CAD\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 11:57:48 +0200 (CEST)",
            "by mail-wr1-f68.google.com with SMTP id 20-v6so10641121wrb.12\n\tfor <dev@dpdk.org>; Fri, 31 Aug 2018 02:57:48 -0700 (PDT)",
            "from 6wind.com (host.78.145.23.62.rev.coltfrance.com.\n\t[62.23.145.78]) by smtp.gmail.com with ESMTPSA id\n\tg133-v6sm3209370wmf.44.2018.08.31.02.57.47\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 31 Aug 2018 02:57:47 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to;\n\tbh=8aL4LP5DUxzBSJyy/c72isUCCRny/XkHE6MVZTww+Dk=;\n\tb=ION4HPG2e/NOCM4AU2swFDg6p76/M9y1/OChLFNuYdqRLLtTBZf4cPuZ9COb+q50Ai\n\t83nS74FHLS9ij7RzXDMQmtjQ8jNJb5PXWu6ivXgcyRYVqTj5F+cszqwX3nehyUYgJxr+\n\tFjntLiybhWBgemJcRTdiwLlUgktxu3LRmEtQ0825354aLD0xu5bznjYxmAjUMgKqHCIA\n\t36g0Oe3KUF1Puczp32rzZ2tjz390C7uWrmOIZ/gT+/2l0NhxuJRBzTRhLjEeqQGWgFny\n\tM3Vk0wKEH3aVxbVHGdl9SbCzXsG74kEK6ZBUL3PojFI3N0HX9U9Xq+TMx3vqiYmUQw5W\n\t7kuQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to;\n\tbh=8aL4LP5DUxzBSJyy/c72isUCCRny/XkHE6MVZTww+Dk=;\n\tb=PgqHYxIAGnDgyPAoNQzz9a83vUjwpMSJKFUF0bLQ4OWI21fc5Z0OErj0SZcitXRmnm\n\tLyuHzz5Kim/hX6h51z4nVFyOoO8KeqjpW0lX2QemXI5unE6IF+AfItKOS/+haJa2kqE3\n\tmZw6xcT2FL2zWTC64jGO5In4nrcrXfpUYpdLBi5Ads/ODw9F5+TsiirUU98uy7dw1Vua\n\tf1IAO/uWSs0Zs7PqKGJ6O2J4vOaqdrJpliajd/eE+kLRsGGBE4Yb+tcHfcJAsk5zczzf\n\tuxsj0vNzIslov4kFOVSWi0RiXn0P7dZJDFPEdo+k8UV6n91Hs2h12ZtOd6P1VWo1YHvT\n\tlT1g==",
        "X-Gm-Message-State": "APzg51Covxx9RxeNJYkqsGd3MNT5iGBlcDIk89urzB1wV9789AqYLy9W\n\tSlfSOLPjOy1JUsoMgIpAo1P4/w==",
        "X-Google-Smtp-Source": "ANB0VdZjXp/QWSwpV2Jedw5hcfACz10Zml4syiXD/I5sXJ3pkMj6Y9RODj6Eb05tk12voHEuJBBaTg==",
        "X-Received": "by 2002:adf:b2f3:: with SMTP id\n\tg106-v6mr10805144wrd.53.1535709468516; \n\tFri, 31 Aug 2018 02:57:48 -0700 (PDT)",
        "Date": "Fri, 31 Aug 2018 11:57:32 +0200",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "To": "Shahaf Shuler <shahafs@mellanox.com>, Yongseok Koh <yskoh@mellanox.com>, \n\tSlava Ovsiienko <viacheslavo@mellanox.com>",
        "Cc": "dev@dpdk.org",
        "Message-ID": "<20180831092038.23051-4-adrien.mazarguil@6wind.com>",
        "References": "<20180831092038.23051-1-adrien.mazarguil@6wind.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<20180831092038.23051-1-adrien.mazarguil@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[dpdk-dev] [PATCH 3/8] net/mlx5: rename internal function",
        "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": "Clarify difference between mlx5_nl_flow_create() and mlx5_nl_flow_init()\nby renaming the latter mlx5_nl_flow_ifindex_init().\n\nSigned-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>\n---\n drivers/net/mlx5/mlx5.c         | 3 ++-\n drivers/net/mlx5/mlx5.h         | 4 ++--\n drivers/net/mlx5/mlx5_nl_flow.c | 4 ++--\n 3 files changed, 6 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex 1414ce0c5..9a504a31c 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -1139,7 +1139,8 @@ mlx5_dev_spawn(struct rte_device *dpdk_dev,\n \tpriv->mnl_socket = mlx5_nl_flow_socket_create();\n \tif (!priv->mnl_socket ||\n \t    !priv->ifindex ||\n-\t    mlx5_nl_flow_init(priv->mnl_socket, priv->ifindex, &flow_error)) {\n+\t    mlx5_nl_flow_ifindex_init(priv->mnl_socket, priv->ifindex,\n+\t\t\t\t      &flow_error)) {\n \t\tif (!priv->mnl_socket) {\n \t\t\tflow_error.message = \"cannot open libmnl socket\";\n \t\t} else if (!priv->ifindex) {\ndiff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h\nindex 0807cf689..287cfc643 100644\n--- a/drivers/net/mlx5/mlx5.h\n+++ b/drivers/net/mlx5/mlx5.h\n@@ -408,8 +408,8 @@ int mlx5_nl_flow_create(struct mnl_socket *nl, void *buf,\n \t\t\tstruct rte_flow_error *error);\n int mlx5_nl_flow_destroy(struct mnl_socket *nl, void *buf,\n \t\t\t struct rte_flow_error *error);\n-int mlx5_nl_flow_init(struct mnl_socket *nl, unsigned int ifindex,\n-\t\t      struct rte_flow_error *error);\n+int mlx5_nl_flow_ifindex_init(struct mnl_socket *nl, unsigned int ifindex,\n+\t\t\t      struct rte_flow_error *error);\n struct mnl_socket *mlx5_nl_flow_socket_create(void);\n void mlx5_nl_flow_socket_destroy(struct mnl_socket *nl);\n \ndiff --git a/drivers/net/mlx5/mlx5_nl_flow.c b/drivers/net/mlx5/mlx5_nl_flow.c\nindex beb03c911..9ea2a1b55 100644\n--- a/drivers/net/mlx5/mlx5_nl_flow.c\n+++ b/drivers/net/mlx5/mlx5_nl_flow.c\n@@ -1154,8 +1154,8 @@ mlx5_nl_flow_destroy(struct mnl_socket *nl, void *buf,\n  *   0 on success, a negative errno value otherwise and rte_errno is set.\n  */\n int\n-mlx5_nl_flow_init(struct mnl_socket *nl, unsigned int ifindex,\n-\t\t  struct rte_flow_error *error)\n+mlx5_nl_flow_ifindex_init(struct mnl_socket *nl, unsigned int ifindex,\n+\t\t\t  struct rte_flow_error *error)\n {\n \tstruct nlmsghdr *nlh;\n \tstruct tcmsg *tcm;\n",
    "prefixes": [
        "3/8"
    ]
}