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 499F941D53; Thu, 23 Feb 2023 18:41:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1ADA40697; Thu, 23 Feb 2023 18:41:32 +0100 (CET) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 2ECC540693 for ; Thu, 23 Feb 2023 18:41:31 +0100 (CET) Received: by mail-pj1-f44.google.com with SMTP id x34so10440909pjj.0 for ; Thu, 23 Feb 2023 09:41:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DPFdw8jXbWWH1nmsWLbVP+ZnRK+lEouhKA7zKIL/nx0=; b=zJiTfsK84EQ/guE+eEQy7Z29wDfdvJWNVXcMNOnIzNNAwiXNm6ZJ6d6Xm7uqDDxABV dC+NSjDvaNAb/Uv41hGCxmjJFoDZcpcmHjfQvt9S6178yMkUjkitqU3tUbtxFMTJvtlY aSsh13SA5BDUN9bNoTXw2BnxXD1Qn58To309RzcofzYMFAR2/PGN08rG4l4SP+C8PaqI PYa3oQU9DNFYIv8L3crXF6Ou6BDXOGzjyOmcYJNIT0iNxpMGa5Mfa/1fjlmlHsZ8XIdp 5w024Bo50icHe5snYX91EsqLG1y+EDIMTcrgaUxryH5nYOh2ZYbS2WZl78z2jziIBoL8 WFvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DPFdw8jXbWWH1nmsWLbVP+ZnRK+lEouhKA7zKIL/nx0=; b=ASaajloYnh9+v++AvzEKxuKZxNyLb/wDkMWmeL6ISN6PCVsFg+Wt+OeULzMK/rYf07 Q6Sf+QTgi/4Zsk/MDH7WT9YLisxrZQHG2qf45NYzPsvN8llJC38dECsVvc0OH5P9a01d kkbzsGiUubBDN5+PlDg4fR7KrasKnd3gR0t1AQoJ5Al5WLWekjo5mvdVtVdK4RzwgNEH 2mEfMP0D+y4EdIXWYavB2h9hgm0q+xTyBKcxWWbWnT15FtINDgs7idphrhHqF2/dp6Rt NaVmgO6YPjTHCHLhR0LSWIfV2JSFi4TT8X8NRGPNBRSmRKTOVfLXCxs/uB+PcP9Lf3n0 D6fQ== X-Gm-Message-State: AO0yUKVCgo1bCfpEbkz60ZamFs2ScRXfFvu9JwE4rEr/Nu2IbGi8ElLc nlbTl3w4n//OMwh8j5Gjq09hm3P9FmSWDIH1f9Q= X-Google-Smtp-Source: AK7set+q/96Yk4CMj1syxEZqap7mE1ANt9DZWG6/jDziHcTNxc9SuSSioOomBW8xbnmDHEErTy2tcw== X-Received: by 2002:a05:6a20:a10e:b0:ca:4fde:4aec with SMTP id q14-20020a056a20a10e00b000ca4fde4aecmr14566444pzk.49.1677174089733; Thu, 23 Feb 2023 09:41:29 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j28-20020a637a5c000000b004fb5f4bf585sm6977286pgn.78.2023.02.23.09.41.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 09:41:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , viacheslavo@nvidia.com, Matan Azrad , Gregory Etelson Subject: [PATCH] common/mlx5: replace use of PMD logtype Date: Thu, 23 Feb 2023 09:41:27 -0800 Message-Id: <20230223174127.189231-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 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 fb670950ef64..710649f86533 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.1