patch 'common/mlx5: replace use of PMD log type' has been queued to stable release 22.11.4
Xueming Li
xuemingl at nvidia.com
Sun Oct 22 16:22:09 CEST 2023
Hi,
FYI, your patch has been queued to stable release 22.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/15/23. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=62a937220c125aa1b0cb40cfbb6a6e058ed0975e
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 62a937220c125aa1b0cb40cfbb6a6e058ed0975e Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Mon, 21 Aug 2023 09:16:25 -0700
Subject: [PATCH] common/mlx5: replace use of PMD log type
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 8c3a4688cca2b3179c6fea6f724e21848cacc80b ]
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")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
---
drivers/common/mlx5/linux/mlx5_common_os.c | 2 +-
drivers/common/mlx5/mlx5_devx_cmds.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/mlx5/linux/mlx5_common_os.c b/drivers/common/mlx5/linux/mlx5_common_os.c
index 2ebb8ac8b6..7260c1a19f 100644
--- a/drivers/common/mlx5/linux/mlx5_common_os.c
+++ b/drivers/common/mlx5/linux/mlx5_common_os.c
@@ -266,7 +266,7 @@ mlx5_glue_path(char *buf, size_t size)
goto error;
return buf;
error:
- RTE_LOG(ERR, PMD, "unable to append \"-glue\" to last component of"
+ DRV_LOG(ERR, "unable to append \"-glue\" to last component of"
" RTE_EAL_PMD_PATH (\"" RTE_EAL_PMD_PATH "\"), please"
" re-configure DPDK");
return NULL;
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c b/drivers/common/mlx5/mlx5_devx_cmds.c
index 5742f9e831..5ae2627caa 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.25.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2023-10-22 22:17:38.031556300 +0800
+++ 0100-common-mlx5-replace-use-of-PMD-log-type.patch 2023-10-22 22:17:34.366723700 +0800
@@ -1 +1 @@
-From 8c3a4688cca2b3179c6fea6f724e21848cacc80b Mon Sep 17 00:00:00 2001
+From 62a937220c125aa1b0cb40cfbb6a6e058ed0975e Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 8c3a4688cca2b3179c6fea6f724e21848cacc80b ]
@@ -34 +37 @@
-index 66a77159a0..9db0b2ac89 100644
+index 5742f9e831..5ae2627caa 100644
More information about the stable
mailing list