Show a patch.

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

{
    "id": 44083,
    "url": "http://patches.dpdk.org/api/patches/44083/",
    "web_url": "http://patches.dpdk.org/patch/44083/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<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": "http://patches.dpdk.org/api/people/165/",
        "name": "Adrien Mazarguil",
        "email": "adrien.mazarguil@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/patch/44083/mbox/",
    "series": [
        {
            "id": 1126,
            "url": "http://patches.dpdk.org/api/series/1126/",
            "web_url": "http://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": "http://patches.dpdk.org/series/1126/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/44083/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/44083/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<20180831092038.23051-1-adrien.mazarguil@6wind.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.11.0",
        "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)"
        ],
        "References": "<20180831092038.23051-1-adrien.mazarguil@6wind.com>",
        "X-Google-Smtp-Source": "ANB0VdZjXp/QWSwpV2Jedw5hcfACz10Zml4syiXD/I5sXJ3pkMj6Y9RODj6Eb05tk12voHEuJBBaTg==",
        "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==",
        "MIME-Version": "1.0",
        "X-Received": "by 2002:adf:b2f3:: with SMTP id\n\tg106-v6mr10805144wrd.53.1535709468516; \n\tFri, 31 Aug 2018 02:57:48 -0700 (PDT)",
        "Message-ID": "<20180831092038.23051-4-adrien.mazarguil@6wind.com>",
        "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==",
        "Delivered-To": "patchwork@dpdk.org",
        "Precedence": "list",
        "From": "Adrien Mazarguil <adrien.mazarguil@6wind.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "To": "Shahaf Shuler <shahafs@mellanox.com>, Yongseok Koh <yskoh@mellanox.com>, \n\tSlava Ovsiienko <viacheslavo@mellanox.com>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "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>",
        "Date": "Fri, 31 Aug 2018 11:57:32 +0200",
        "X-Gm-Message-State": "APzg51Covxx9RxeNJYkqsGd3MNT5iGBlcDIk89urzB1wV9789AqYLy9W\n\tSlfSOLPjOy1JUsoMgIpAo1P4/w==",
        "Cc": "dev@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-BeenThere": "dev@dpdk.org",
        "Subject": "[dpdk-dev] [PATCH 3/8] net/mlx5: rename internal function"
    },
    "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"
    ]
}