get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89160,
    "url": "http://patchwork.dpdk.org/api/patches/89160/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1615842355-10526-1-git-send-email-michaelba@nvidia.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": "<1615842355-10526-1-git-send-email-michaelba@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1615842355-10526-1-git-send-email-michaelba@nvidia.com",
    "date": "2021-03-15T21:05:54",
    "name": "[1/2] common/mlx5: align driver name logs across pmds",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4ba8af91c4740c0e85d1004e7f748d93d33b0a80",
    "submitter": {
        "id": 1949,
        "url": "http://patchwork.dpdk.org/api/people/1949/?format=api",
        "name": "Michael Baum",
        "email": "michaelba@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patchwork.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1615842355-10526-1-git-send-email-michaelba@nvidia.com/mbox/",
    "series": [
        {
            "id": 15669,
            "url": "http://patchwork.dpdk.org/api/series/15669/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15669",
            "date": "2021-03-15T21:05:54",
            "name": "[1/2] common/mlx5: align driver name logs across pmds",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/15669/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/89160/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/89160/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 EBB09A054F;\n\tMon, 15 Mar 2021 22:06:19 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6EF5B2427DE;\n\tMon, 15 Mar 2021 22:06:19 +0100 (CET)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by mails.dpdk.org (Postfix) with ESMTP id 8F96E4069F\n for <dev@dpdk.org>; Mon, 15 Mar 2021 22:06:17 +0100 (CET)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n michaelba@nvidia.com) with SMTP; 15 Mar 2021 23:06:11 +0200",
            "from nvidia.com (pegasus07.mtr.labs.mlnx [10.210.16.112])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 12FL6BJW010339;\n Mon, 15 Mar 2021 23:06:11 +0200"
        ],
        "From": "Michael Baum <michaelba@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, viacheslavo@nvidia.com, matan@nvidia.com,\n rasland@nvidia.com, Asaf Penso <asafp@nvidia.com>",
        "Date": "Mon, 15 Mar 2021 21:05:54 +0000",
        "Message-Id": "<1615842355-10526-1-git-send-email-michaelba@nvidia.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH 1/2] common/mlx5: align driver name logs across\n pmds",
        "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": "From: Asaf Penso <asafp@nvidia.com>\n\nSome mlx5 pmds define the log prefix as \"mlx5_pmd\" while others as\n\"pmd_mlx5\".\nThe patch aligns all pmds to use the \"mlx5_pmd\" format.\n\nSigned-off-by: Asaf Penso <asafp@nvidia.com>\n---\n drivers/common/mlx5/mlx5_common.h       | 4 ----\n drivers/common/mlx5/mlx5_common_utils.h | 2 +-\n drivers/net/mlx5/mlx5_utils.h           | 4 +++-\n drivers/regex/mlx5/mlx5_regex_utils.h   | 2 +-\n 4 files changed, 5 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/common/mlx5/mlx5_common.h b/drivers/common/mlx5/mlx5_common.h\nindex 3855582..fc1ac75 100644\n--- a/drivers/common/mlx5/mlx5_common.h\n+++ b/drivers/common/mlx5/mlx5_common.h\n@@ -65,10 +65,6 @@\n \t\t\tRTE_FMT_HEAD(__VA_ARGS__,), \\\n \t\tRTE_FMT_TAIL(__VA_ARGS__,)))\n \n-/*\n- * When debugging is enabled (MLX5_DEBUG not defined), file, line and function\n- * information replace the driver name (MLX5_DRIVER_NAME) in log messages.\n- */\n #ifdef RTE_LIBRTE_MLX5_DEBUG\n \n #define PMD_DRV_LOG__(level, type, name, ...) \\\ndiff --git a/drivers/common/mlx5/mlx5_common_utils.h b/drivers/common/mlx5/mlx5_common_utils.h\nindex 32c3adf..6cba39c 100644\n--- a/drivers/common/mlx5/mlx5_common_utils.h\n+++ b/drivers/common/mlx5/mlx5_common_utils.h\n@@ -10,7 +10,7 @@\n \n extern int mlx5_common_logtype;\n \n-#define MLX5_COMMON_LOG_PREFIX \"common_mlx5\"\n+#define MLX5_COMMON_LOG_PREFIX \"mlx5_common\"\n /* Generic printf()-like logging macro with automatic line feed. */\n #define DRV_LOG(level, ...) \\\n \tPMD_DRV_LOG_(level, mlx5_common_logtype, MLX5_COMMON_LOG_PREFIX, \\\ndiff --git a/drivers/net/mlx5/mlx5_utils.h b/drivers/net/mlx5/mlx5_utils.h\nindex 7a62187..5088c95 100644\n--- a/drivers/net/mlx5/mlx5_utils.h\n+++ b/drivers/net/mlx5/mlx5_utils.h\n@@ -29,9 +29,11 @@\n \n extern int mlx5_logtype;\n \n+#define MLX5_NET_LOG_PREFIX \"mlx5_net\"\n+\n /* Generic printf()-like logging macro with automatic line feed. */\n #define DRV_LOG(level, ...) \\\n-\tPMD_DRV_LOG_(level, mlx5_logtype, MLX5_DRIVER_NAME, \\\n+\tPMD_DRV_LOG_(level, mlx5_logtype, MLX5_NET_LOG_PREFIX, \\\n \t\t__VA_ARGS__ PMD_DRV_LOG_STRIP PMD_DRV_LOG_OPAREN, \\\n \t\tPMD_DRV_LOG_CPAREN)\n \ndiff --git a/drivers/regex/mlx5/mlx5_regex_utils.h b/drivers/regex/mlx5/mlx5_regex_utils.h\nindex adca846..104e794 100644\n--- a/drivers/regex/mlx5/mlx5_regex_utils.h\n+++ b/drivers/regex/mlx5/mlx5_regex_utils.h\n@@ -9,7 +9,7 @@\n \n extern int mlx5_regex_logtype;\n \n-#define MLX5_REGEX_LOG_PREFIX \"regex_mlx5\"\n+#define MLX5_REGEX_LOG_PREFIX \"mlx5_regex\"\n /* Generic printf()-like logging macro with automatic line feed. */\n #define DRV_LOG(level, ...) \\\n \tPMD_DRV_LOG_(level, mlx5_regex_logtype, MLX5_REGEX_LOG_PREFIX, \\\n",
    "prefixes": [
        "1/2"
    ]
}