patch 'net/mlx5: fix warning for Tx scheduling option' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Mon Feb 27 08:00:32 CET 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/01/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=35eadc22bc9c1657c520c8fe333b0d0ff848fe89

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 35eadc22bc9c1657c520c8fe333b0d0ff848fe89 Mon Sep 17 00:00:00 2001
From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Date: Tue, 3 Jan 2023 13:11:13 +0200
Subject: [PATCH] net/mlx5: fix warning for Tx scheduling option
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 95cbaaa1065f86db389db37036d1f56ce09d8cb2 ]

Since ConnectX-7 hardware supports the send scheduling
on explicitly specified timestamp, if this feature support
is detected by PMD the tx_skew devarg becomes applicable
and appropriate warning should not be emitted.

Fixes: 49e8797619e40 ("net/mlx5: support wait on time in Tx")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
---
 drivers/net/mlx5/mlx5.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c
index e55be8720e..3ae35587b6 100644
--- a/drivers/net/mlx5/mlx5.c
+++ b/drivers/net/mlx5/mlx5.c
@@ -1401,7 +1401,8 @@ mlx5_shared_dev_ctx_args_config(struct mlx5_dev_ctx_shared *sh,
 		rte_errno = ENODEV;
 		return -rte_errno;
 	}
-	if (!config->tx_pp && config->tx_skew) {
+	if (!config->tx_pp && config->tx_skew &&
+	    !sh->cdev->config.hca_attr.wait_on_time) {
 		DRV_LOG(WARNING,
 			"\"tx_skew\" doesn't affect without \"tx_pp\".");
 	}
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-27 14:08:44.888502800 +0800
+++ 0125-net-mlx5-fix-warning-for-Tx-scheduling-option.patch	2023-02-27 14:08:40.899237000 +0800
@@ -1 +1 @@
-From 95cbaaa1065f86db389db37036d1f56ce09d8cb2 Mon Sep 17 00:00:00 2001
+From 35eadc22bc9c1657c520c8fe333b0d0ff848fe89 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 95cbaaa1065f86db389db37036d1f56ce09d8cb2 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list