Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/130587/?format=api
http://patches.dpdk.org/api/patches/130587/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230821143225.9923-1-stephen@networkplumber.org/", "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": "<20230821143225.9923-1-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20230821143225.9923-1-stephen@networkplumber.org", "date": "2023-08-21T14:32:25", "name": "[v2] common/mlx5: replace use of PMD logtype", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9f3c664f9ca22f646ab1f21167b043d12aa09422", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 3268, "url": "http://patches.dpdk.org/api/users/3268/?format=api", "username": "rasland", "first_name": "Raslan", "last_name": "Darawsheh", "email": "rasland@nvidia.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230821143225.9923-1-stephen@networkplumber.org/mbox/", "series": [ { "id": 29294, "url": "http://patches.dpdk.org/api/series/29294/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29294", "date": "2023-08-21T14:32:25", "name": "[v2] common/mlx5: replace use of PMD logtype", "version": 2, "mbox": "http://patches.dpdk.org/series/29294/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/130587/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/130587/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 EC2BB430C3;\n\tMon, 21 Aug 2023 16:32:37 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C933B42B8B;\n\tMon, 21 Aug 2023 16:32:37 +0200 (CEST)", "from mail-pf1-f169.google.com (mail-pf1-f169.google.com\n [209.85.210.169])\n by mails.dpdk.org (Postfix) with ESMTP id C8DA040DF5\n for <dev@dpdk.org>; Mon, 21 Aug 2023 16:32:36 +0200 (CEST)", "by mail-pf1-f169.google.com with SMTP id\n d2e1a72fcca58-68a42d06d02so672999b3a.0\n for <dev@dpdk.org>; Mon, 21 Aug 2023 07:32:36 -0700 (PDT)", "from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207])\n by smtp.gmail.com with ESMTPSA id\n c24-20020aa781d8000000b00686a80f431dsm6169544pfn.126.2023.08.21.07.32.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 21 Aug 2023 07:32:35 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692628355;\n x=1693233155;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=Ugwjh1SxJlFeIEw3yd00+k2wrixTa8y3KqmPONuyoMA=;\n b=HE6oIiGMD4hxAqnyUf59V+jSCKJnZtS34G+gtoJof7PwzvrASE0CrAA2rkpWKomiq4\n Pr7Ia5UfsQXoGkNu9RQHy1OsOVFmR5m1RJiPk00MroCAXKuo4D7Hdi4kKawbP1GkKehD\n dYn73BTRvhf8AD/XYoCUjARLxEzYNkfb8o+z22o24dMhgQNwumKIdJjSMHGBGx6qlInd\n GTmOrlmA008RUSEOnS8JkN0RcOB6xR3EzC8JerTBzhbGsnkz9ytEc8cE+qUO8F+U5zo9\n L7X6U50pMfbhNFug7rp7yof4y9enLhSqSyvoSHMOIKcfVvfwQPZ/8f2JmC5tX6C55NLM\n XPLQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20221208; t=1692628355; x=1693233155;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=Ugwjh1SxJlFeIEw3yd00+k2wrixTa8y3KqmPONuyoMA=;\n b=Bbp0XLa6eLpIuWxBg0R3s1+PnIZlJOaEfK/Gpp4SIS5+SH9cRb4xtaFa3b1MbGtDKC\n 0tzmFlgHzembDqnzIKJY3Cqpwtq6j/c/inIHi4LbwMn9V7NR0D1FSj/SSoU7ueHeX3tx\n rWhmUvJPA0TaqgA99iDb9S4PWvEjvhhgA8E0fVqzcAmSxBrIAFo2qZKT6EP8IZyTRXFW\n UUgeYA6MeB9khznlJwmZCPTIY0TLe+i8zlZGn6AViaZ8TYUSEXFkHoqQsF8KgT+ur8Wl\n uWIPb2E0uzvUScxUh2IMVydoprIPUPcn5rUxrqe+2uGsgUtMa+0KYKQz2p5Xk2ax5Cdc\n lU5A==", "X-Gm-Message-State": "AOJu0YxpRHZCmouqlrC7Axr4BPy4jQ+10N1rmD407+EhWT4xbDNBbIAa\n 4qSCGa3HSgAvdDh7t9QPcWXvuwlFLvNEgrT252hImsME", "X-Google-Smtp-Source": "\n AGHT+IFbbIFqaquGeLfNr/Yq1CqA17EObGgPhXghpcMkibA9MOxCqfNi/+Xk702VGsAk4m/KI6ur9w==", "X-Received": "by 2002:a05:6a00:b89:b0:68a:2e50:d7f1 with SMTP id\n g9-20020a056a000b8900b0068a2e50d7f1mr5495666pfj.4.1692628355502;\n Mon, 21 Aug 2023 07:32:35 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>, viacheslavo@nvidia.com,\n Matan Azrad <matan@nvidia.com>, Ori Kam <orika@nvidia.com>,\n Suanming Mou <suanmingm@nvidia.com>, Gregory Etelson <getelson@nvidia.com>", "Subject": "[PATCH v2] common/mlx5: replace use of PMD logtype", "Date": "Mon, 21 Aug 2023 07:32:25 -0700", "Message-Id": "<20230821143225.9923-1-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230223174127.189231-1-stephen@networkplumber.org>", "References": "<20230223174127.189231-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "The goal to eliminate the generic PMD logtype.\nOne place it is used unnecessarily is in the mlx5 common code.\nChange the one RTE_LOG() call here to use the same macro\nas other log messages in same file.\n\nFixes: 9c410b28b27a (\"common/mlx5: refactor HCA attributes query\")\nCc: viacheslavo@nvidia.com\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n drivers/common/mlx5/mlx5_devx_cmds.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c b/drivers/common/mlx5/mlx5_devx_cmds.c\nindex 66a77159a031..9db0b2ac8983 100644\n--- a/drivers/common/mlx5/mlx5_devx_cmds.c\n+++ b/drivers/common/mlx5/mlx5_devx_cmds.c\n@@ -543,7 +543,7 @@ mlx5_devx_cmd_query_hca_vdpa_attr(void *ctx,\n \t\t\tMLX5_GET_HCA_CAP_OP_MOD_VDPA_EMULATION |\n \t\t\tMLX5_HCA_CAP_OPMOD_GET_CUR);\n \tif (!hcattr) {\n-\t\tRTE_LOG(DEBUG, PMD, \"Failed to query devx VDPA capabilities\");\n+\t\tDRV_LOG(DEBUG, \"Failed to query devx VDPA capabilities\");\n \t\tvdpa_attr->valid = 0;\n \t} else {\n \t\tvdpa_attr->valid = 1;\n", "prefixes": [ "v2" ] }{ "id": 130587, "url": "