From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EC2BB430C3; Mon, 21 Aug 2023 16:32:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C933B42B8B; Mon, 21 Aug 2023 16:32:37 +0200 (CEST) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id C8DA040DF5 for ; Mon, 21 Aug 2023 16:32:36 +0200 (CEST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-68a42d06d02so672999b3a.0 for ; Mon, 21 Aug 2023 07:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692628355; x=1693233155; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ugwjh1SxJlFeIEw3yd00+k2wrixTa8y3KqmPONuyoMA=; b=HE6oIiGMD4hxAqnyUf59V+jSCKJnZtS34G+gtoJof7PwzvrASE0CrAA2rkpWKomiq4 Pr7Ia5UfsQXoGkNu9RQHy1OsOVFmR5m1RJiPk00MroCAXKuo4D7Hdi4kKawbP1GkKehD dYn73BTRvhf8AD/XYoCUjARLxEzYNkfb8o+z22o24dMhgQNwumKIdJjSMHGBGx6qlInd GTmOrlmA008RUSEOnS8JkN0RcOB6xR3EzC8JerTBzhbGsnkz9ytEc8cE+qUO8F+U5zo9 L7X6U50pMfbhNFug7rp7yof4y9enLhSqSyvoSHMOIKcfVvfwQPZ/8f2JmC5tX6C55NLM XPLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692628355; x=1693233155; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ugwjh1SxJlFeIEw3yd00+k2wrixTa8y3KqmPONuyoMA=; b=Bbp0XLa6eLpIuWxBg0R3s1+PnIZlJOaEfK/Gpp4SIS5+SH9cRb4xtaFa3b1MbGtDKC 0tzmFlgHzembDqnzIKJY3Cqpwtq6j/c/inIHi4LbwMn9V7NR0D1FSj/SSoU7ueHeX3tx rWhmUvJPA0TaqgA99iDb9S4PWvEjvhhgA8E0fVqzcAmSxBrIAFo2qZKT6EP8IZyTRXFW UUgeYA6MeB9khznlJwmZCPTIY0TLe+i8zlZGn6AViaZ8TYUSEXFkHoqQsF8KgT+ur8Wl uWIPb2E0uzvUScxUh2IMVydoprIPUPcn5rUxrqe+2uGsgUtMa+0KYKQz2p5Xk2ax5Cdc lU5A== X-Gm-Message-State: AOJu0YxpRHZCmouqlrC7Axr4BPy4jQ+10N1rmD407+EhWT4xbDNBbIAa 4qSCGa3HSgAvdDh7t9QPcWXvuwlFLvNEgrT252hImsME X-Google-Smtp-Source: AGHT+IFbbIFqaquGeLfNr/Yq1CqA17EObGgPhXghpcMkibA9MOxCqfNi/+Xk702VGsAk4m/KI6ur9w== X-Received: by 2002:a05:6a00:b89:b0:68a:2e50:d7f1 with SMTP id g9-20020a056a000b8900b0068a2e50d7f1mr5495666pfj.4.1692628355502; Mon, 21 Aug 2023 07:32:35 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id c24-20020aa781d8000000b00686a80f431dsm6169544pfn.126.2023.08.21.07.32.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 07:32:35 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , viacheslavo@nvidia.com, Matan Azrad , Ori Kam , Suanming Mou , Gregory Etelson 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The goal to eliminate the generic PMD logtype. One place it is used unnecessarily is in the mlx5 common code. Change the one RTE_LOG() call here to use the same macro as other log messages in same file. Fixes: 9c410b28b27a ("common/mlx5: refactor HCA attributes query") Cc: viacheslavo@nvidia.com Signed-off-by: Stephen Hemminger --- drivers/common/mlx5/mlx5_devx_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c b/drivers/common/mlx5/mlx5_devx_cmds.c index 66a77159a031..9db0b2ac8983 100644 --- a/drivers/common/mlx5/mlx5_devx_cmds.c +++ b/drivers/common/mlx5/mlx5_devx_cmds.c @@ -543,7 +543,7 @@ mlx5_devx_cmd_query_hca_vdpa_attr(void *ctx, MLX5_GET_HCA_CAP_OP_MOD_VDPA_EMULATION | MLX5_HCA_CAP_OPMOD_GET_CUR); if (!hcattr) { - RTE_LOG(DEBUG, PMD, "Failed to query devx VDPA capabilities"); + DRV_LOG(DEBUG, "Failed to query devx VDPA capabilities"); vdpa_attr->valid = 0; } else { vdpa_attr->valid = 1; -- 2.39.2