[PATCH] net/mlx5/hws: fix typo in the log

Bing Zhao bingz at nvidia.com
Mon Nov 13 08:20:51 CET 2023


Change "cureent" to "current".

Fixes: fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")
Cc: erezsh at nvidia.com
Cc: stable at dpdk.org

Signed-off-by: Bing Zhao <bingz at nvidia.com>
---
 drivers/net/mlx5/hws/mlx5dr_rule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c b/drivers/net/mlx5/hws/mlx5dr_rule.c
index 980a99b226..fa19303b91 100644
--- a/drivers/net/mlx5/hws/mlx5dr_rule.c
+++ b/drivers/net/mlx5/hws/mlx5dr_rule.c
@@ -741,7 +741,7 @@ int mlx5dr_rule_action_update(struct mlx5dr_rule *rule_handle,
 
 	if (unlikely(mlx5dr_table_is_root(matcher->tbl) ||
 	    unlikely(mlx5dr_matcher_req_fw_wqe(matcher)))) {
-		DR_LOG(ERR, "Rule update not supported on cureent matcher");
+		DR_LOG(ERR, "Rule update not supported on current matcher");
 		rte_errno = ENOTSUP;
 		return -rte_errno;
 	}
-- 
2.34.1



More information about the stable mailing list