get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96411,
    "url": "http://patchwork.dpdk.org/api/patches/96411/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210729134711.35870-8-heinrich.kuhn@netronome.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210729134711.35870-8-heinrich.kuhn@netronome.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210729134711.35870-8-heinrich.kuhn@netronome.com",
    "date": "2021-07-29T13:47:11",
    "name": "[v3,7/7] net/nfp: batch file rename for consistency",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "99408775894702ad53e5e5ee53e282ac6aa34d42",
    "submitter": {
        "id": 1523,
        "url": "http://patchwork.dpdk.org/api/people/1523/?format=api",
        "name": "Heinrich Kuhn",
        "email": "heinrich.kuhn@netronome.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210729134711.35870-8-heinrich.kuhn@netronome.com/mbox/",
    "series": [
        {
            "id": 18064,
            "url": "http://patchwork.dpdk.org/api/series/18064/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18064",
            "date": "2021-07-29T13:47:04",
            "name": "Refactor the NFP PMD",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/18064/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96411/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/96411/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 3A1BCA034F;\n\tThu, 29 Jul 2021 15:48:17 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A7AF541141;\n\tThu, 29 Jul 2021 15:47:49 +0200 (CEST)",
            "from mail-wm1-f50.google.com (mail-wm1-f50.google.com\n [209.85.128.50]) by mails.dpdk.org (Postfix) with ESMTP id DF59141100\n for <dev@dpdk.org>; Thu, 29 Jul 2021 15:47:45 +0200 (CEST)",
            "by mail-wm1-f50.google.com with SMTP id u15so3780624wmj.1\n for <dev@dpdk.org>; Thu, 29 Jul 2021 06:47:45 -0700 (PDT)",
            "from localhost.localdomain (dsl-197-245-41-228.voxdsl.co.za.\n [197.245.41.228])\n by smtp.gmail.com with ESMTPSA id v2sm3498246wro.48.2021.07.29.06.47.44\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 29 Jul 2021 06:47:45 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=netronome-com.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=x2bjBHtwXowhlWA/Y7QcPOFSIxU5usmaZv95I8yrjeE=;\n b=vZiW2SmDOFbOmhoqiZ+Bc5B6B1nVAok/I5C0vMOUm2c+zOGvv715Wyig0a1/+BrJM+\n LOsykyZ05793ewGM/YJ4Ts16OOSDW1Pe4NjKopVUByO6PdAqwKfxglpU0ndIWIfWqpVF\n Pv/1LexSdUbK3NZEFsdIkq8LB4YyuqPv0ok+PuY47yIKwa2d5o6HXSiEy0W0iMrpJLDL\n pM8YqD9hf+pf5alp4Boz08iJOy/wNf+YpFzB+UbbDcC/wznaxSVVMsa9a1uPBE1Sd/Gv\n 8DSN7GEXPOUhz1pitJgbd3hiOJcP/7drg2dSZKRpQED/PW0dC65uvt5ZvN30mQd8RE2z\n HTrQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=x2bjBHtwXowhlWA/Y7QcPOFSIxU5usmaZv95I8yrjeE=;\n b=VGbShdBRGpFhqcsVBqMF7J3nOE8RZHFVTsTS/dNPLdLDTSS0usvXPGxRfk2NRxGSGY\n mLGtrWANpd7mbB8Un+xz11yYc4D7sx9+cDzTySemvgsCK35kHIRoYuOGVpCFE/1OiNQa\n kGGRNzifojF9INig2eOzmRQ4prPeLA/VMzyDc9Qa8JGn6R1IR8bxwwt1B51zFMPgRR/I\n ouoydPt/LJvrtOodzfp/mmhifLapPi6CYQxhHbwuf2un19ryoOxFdNUTs2tpny/Mm7Q1\n Fy3YiE9xAlIHnaUd3SZc9XIdgtrhgoJXdVELP2NO8opjOhtolt6NLIjxgkyfF1vyAaiV\n sn6g==",
        "X-Gm-Message-State": "AOAM531kteFTaCF1uDfy9J5PDnGgPY7CM/602yJnmws72+YWaXU3EB6L\n owwrMkFmdzsvVmbHLP0f/EVcXdaSiVVu6jY9o/Z4EiCI8zQsR/n/ld8l7yrDtEdHVSXOMqGMUVW\n LRqVLbXhg1DcJ1Z/all8wPNFDozPdf3EZTVucBQetlUTAMRB1NWPLb3ZlyY05q/Wu",
        "X-Google-Smtp-Source": "\n ABdhPJxCfZw68ZsTViPZ9cu2lZZ8UOGY9xxBRjJc/rNs0hFlWsD7ldSl3Kg4KlOMao4JkciPLOVI5g==",
        "X-Received": "by 2002:a7b:c5d8:: with SMTP id n24mr4904161wmk.51.1627566465521;\n Thu, 29 Jul 2021 06:47:45 -0700 (PDT)",
        "From": "Heinrich Kuhn <heinrich.kuhn@netronome.com>",
        "To": "dev@dpdk.org",
        "Cc": "Heinrich Kuhn <heinrich.kuhn@netronome.com>,\n Simon Horman <simon.horman@corigine.com>",
        "Date": "Thu, 29 Jul 2021 15:47:11 +0200",
        "Message-Id": "<20210729134711.35870-8-heinrich.kuhn@netronome.com>",
        "X-Mailer": "git-send-email 2.30.1 (Apple Git-130)",
        "In-Reply-To": "<20210729134711.35870-1-heinrich.kuhn@netronome.com>",
        "References": "<20210716083545.34444-1-heinrich.kuhn@netronome.com>\n <20210729134711.35870-1-heinrich.kuhn@netronome.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 7/7] net/nfp: batch file rename for consistency",
        "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": "Rename the nfp_net.c file to nfp_common as it now contains functions\ncommon to VF and PF functionality. Rename the header file too to be\nconsistent. Also remove the \"net\" naming from the _ctrl and _logs files\nfor consistency across the PMD.\n\nSigned-off-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>\nSigned-off-by: Simon Horman <simon.horman@corigine.com>\n---\n drivers/net/nfp/meson.build                     | 2 +-\n drivers/net/nfp/{nfp_net.c => nfp_common.c}     | 4 ++--\n drivers/net/nfp/{nfp_net_pmd.h => nfp_common.h} | 6 +++---\n drivers/net/nfp/nfp_cpp_bridge.c                | 2 +-\n drivers/net/nfp/{nfp_net_ctrl.h => nfp_ctrl.h}  | 6 +++---\n drivers/net/nfp/nfp_ethdev.c                    | 6 +++---\n drivers/net/nfp/nfp_ethdev_vf.c                 | 6 +++---\n drivers/net/nfp/{nfp_net_logs.h => nfp_logs.h}  | 6 +++---\n drivers/net/nfp/nfp_rxtx.c                      | 6 +++---\n 9 files changed, 22 insertions(+), 22 deletions(-)\n rename drivers/net/nfp/{nfp_net.c => nfp_common.c} (99%)\n rename drivers/net/nfp/{nfp_net_pmd.h => nfp_common.h} (99%)\n rename drivers/net/nfp/{nfp_net_ctrl.h => nfp_ctrl.h} (99%)\n rename drivers/net/nfp/{nfp_net_logs.h => nfp_logs.h} (94%)",
    "diff": "diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build\nindex ab64d0cac3..810f02ae5b 100644\n--- a/drivers/net/nfp/meson.build\n+++ b/drivers/net/nfp/meson.build\n@@ -18,7 +18,7 @@ sources = files(\n         'nfpcore/nfp_mutex.c',\n         'nfpcore/nfp_nsp_eth.c',\n         'nfpcore/nfp_hwinfo.c',\n-        'nfp_net.c',\n+        'nfp_common.c',\n         'nfp_rxtx.c',\n         'nfp_cpp_bridge.c',\n         'nfp_ethdev_vf.c',\ndiff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_common.c\nsimilarity index 99%\nrename from drivers/net/nfp/nfp_net.c\nrename to drivers/net/nfp/nfp_common.c\nindex a6097eaab0..87e8f5f333 100644\n--- a/drivers/net/nfp/nfp_net.c\n+++ b/drivers/net/nfp/nfp_common.c\n@@ -8,9 +8,9 @@\n /*\n  * vim:shiftwidth=8:noexpandtab\n  *\n- * @file dpdk/pmd/nfp_net.c\n+ * @file dpdk/pmd/nfp_common.c\n  *\n- * Netronome vNIC DPDK Poll-Mode Driver: Main entry point\n+ * Netronome vNIC DPDK Poll-Mode Driver: Common files\n  */\n \n #include <rte_byteorder.h>\ndiff --git a/drivers/net/nfp/nfp_net_pmd.h b/drivers/net/nfp/nfp_common.h\nsimilarity index 99%\nrename from drivers/net/nfp/nfp_net_pmd.h\nrename to drivers/net/nfp/nfp_common.h\nindex dc05e888df..54ac937bd2 100644\n--- a/drivers/net/nfp/nfp_net_pmd.h\n+++ b/drivers/net/nfp/nfp_common.h\n@@ -11,8 +11,8 @@\n  * Netronome NFP_NET PMD driver\n  */\n \n-#ifndef _NFP_NET_PMD_H_\n-#define _NFP_NET_PMD_H_\n+#ifndef _NFP_COMMON_H_\n+#define _NFP_COMMON_H_\n \n #define NFP_NET_PMD_VERSION \"0.1\"\n #define PCI_VENDOR_ID_NETRONOME         0x19ee\n@@ -404,7 +404,7 @@ int nfp_net_rss_config_default(struct rte_eth_dev *dev);\n #define NFP_NET_DEV_PRIVATE_TO_PF(dev_priv)\\\n \t(((struct nfp_net_hw *)dev_priv)->pf_dev)\n \n-#endif /* _NFP_NET_PMD_H_ */\n+#endif /* _NFP_COMMON_H_ */\n /*\n  * Local variables:\n  * c-file-style: \"Linux\"\ndiff --git a/drivers/net/nfp/nfp_cpp_bridge.c b/drivers/net/nfp/nfp_cpp_bridge.c\nindex d916793338..74a0eacb3f 100644\n--- a/drivers/net/nfp/nfp_cpp_bridge.c\n+++ b/drivers/net/nfp/nfp_cpp_bridge.c\n@@ -19,7 +19,7 @@\n #include \"nfpcore/nfp_mip.h\"\n #include \"nfpcore/nfp_nsp.h\"\n \n-#include \"nfp_net_logs.h\"\n+#include \"nfp_logs.h\"\n #include \"nfp_cpp_bridge.h\"\n \n #include <sys/ioctl.h>\ndiff --git a/drivers/net/nfp/nfp_net_ctrl.h b/drivers/net/nfp/nfp_ctrl.h\nsimilarity index 99%\nrename from drivers/net/nfp/nfp_net_ctrl.h\nrename to drivers/net/nfp/nfp_ctrl.h\nindex 4f26ccf483..4dd62ef194 100644\n--- a/drivers/net/nfp/nfp_net_ctrl.h\n+++ b/drivers/net/nfp/nfp_ctrl.h\n@@ -8,8 +8,8 @@\n  *\n  * Netronome network device driver: Control BAR layout\n  */\n-#ifndef _NFP_NET_CTRL_H_\n-#define _NFP_NET_CTRL_H_\n+#ifndef _NFP_CTRL_H_\n+#define _NFP_CTRL_H_\n \n /*\n  * Configuration BAR size.\n@@ -317,7 +317,7 @@\n /* PF multiport offset */\n #define NFP_PF_CSR_SLICE_SIZE\t(32 * 1024)\n \n-#endif /* _NFP_NET_CTRL_H_ */\n+#endif /* _NFP_CTRL_H_ */\n /*\n  * Local variables:\n  * c-file-style: \"Linux\"\ndiff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c\nindex 056d962306..dbdac413ae 100644\n--- a/drivers/net/nfp/nfp_ethdev.c\n+++ b/drivers/net/nfp/nfp_ethdev.c\n@@ -31,10 +31,10 @@\n #include \"nfpcore/nfp_rtsym.h\"\n #include \"nfpcore/nfp_nsp.h\"\n \n-#include \"nfp_net_pmd.h\"\n+#include \"nfp_common.h\"\n #include \"nfp_rxtx.h\"\n-#include \"nfp_net_logs.h\"\n-#include \"nfp_net_ctrl.h\"\n+#include \"nfp_logs.h\"\n+#include \"nfp_ctrl.h\"\n #include \"nfp_cpp_bridge.h\"\n \n \ndiff --git a/drivers/net/nfp/nfp_ethdev_vf.c b/drivers/net/nfp/nfp_ethdev_vf.c\nindex 223142c0ed..b697b55865 100644\n--- a/drivers/net/nfp/nfp_ethdev_vf.c\n+++ b/drivers/net/nfp/nfp_ethdev_vf.c\n@@ -16,10 +16,10 @@\n #include \"nfpcore/nfp_mip.h\"\n #include \"nfpcore/nfp_rtsym.h\"\n \n-#include \"nfp_net_pmd.h\"\n+#include \"nfp_common.h\"\n #include \"nfp_rxtx.h\"\n-#include \"nfp_net_logs.h\"\n-#include \"nfp_net_ctrl.h\"\n+#include \"nfp_logs.h\"\n+#include \"nfp_ctrl.h\"\n \n static void nfp_netvf_read_mac(struct nfp_net_hw *hw);\n static int nfp_netvf_start(struct rte_eth_dev *dev);\ndiff --git a/drivers/net/nfp/nfp_net_logs.h b/drivers/net/nfp/nfp_logs.h\nsimilarity index 94%\nrename from drivers/net/nfp/nfp_net_logs.h\nrename to drivers/net/nfp/nfp_logs.h\nindex 27dd87611b..bd5a5e1ec5 100644\n--- a/drivers/net/nfp/nfp_net_logs.h\n+++ b/drivers/net/nfp/nfp_logs.h\n@@ -3,8 +3,8 @@\n  * All rights reserved.\n  */\n \n-#ifndef _NFP_NET_LOGS_H_\n-#define _NFP_NET_LOGS_H_\n+#ifndef _NFP_LOGS_H_\n+#define _NFP_LOGS_H_\n \n #include <rte_log.h>\n \n@@ -44,4 +44,4 @@ extern int nfp_logtype_driver;\n \trte_log(RTE_LOG_ ## level, nfp_logtype_driver, \\\n \t\t\"%s(): \" fmt \"\\n\", __func__, ## args)\n \n-#endif /* _NFP_NET_LOGS_H_ */\n+#endif /* _NFP_LOGS_H_ */\ndiff --git a/drivers/net/nfp/nfp_rxtx.c b/drivers/net/nfp/nfp_rxtx.c\nindex 9ee9e5c9a3..1402c5f84a 100644\n--- a/drivers/net/nfp/nfp_rxtx.c\n+++ b/drivers/net/nfp/nfp_rxtx.c\n@@ -16,10 +16,10 @@\n #include <ethdev_driver.h>\n #include <ethdev_pci.h>\n \n-#include \"nfp_net_pmd.h\"\n+#include \"nfp_common.h\"\n #include \"nfp_rxtx.h\"\n-#include \"nfp_net_logs.h\"\n-#include \"nfp_net_ctrl.h\"\n+#include \"nfp_logs.h\"\n+#include \"nfp_ctrl.h\"\n \n /* Prototypes */\n static int nfp_net_rx_fill_freelist(struct nfp_net_rxq *rxq);\n",
    "prefixes": [
        "v3",
        "7/7"
    ]
}