net/mlx5/hws: fix typo in the log

Message ID 20231113072051.6748-1-bingz@nvidia.com (mailing list archive)
State Accepted, archived
Delegated to: Raslan Darawsheh
Headers
Series net/mlx5/hws: fix typo in the log |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS

Commit Message

Bing Zhao Nov. 13, 2023, 7:20 a.m. UTC
  Change "cureent" to "current".

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

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

Comments

Suanming Mou Nov. 13, 2023, 7:51 a.m. UTC | #1
Hi,

> -----Original Message-----
> From: Bing Zhao <bingz@nvidia.com>
> Sent: Monday, November 13, 2023 3:21 PM
> To: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>; Suanming
> Mou <suanmingm@nvidia.com>; Ori Kam <orika@nvidia.com>
> Cc: dev@dpdk.org; Erez Shitrit <erezsh@nvidia.com>; stable@dpdk.org
> Subject: [PATCH] net/mlx5/hws: fix typo in the log
> 
> Change "cureent" to "current".
> 
> Fixes: fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")
> Cc: erezsh@nvidia.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Bing Zhao <bingz@nvidia.com>

Acked-by: Suanming Mou <suanmingm@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
  
Raslan Darawsheh Nov. 14, 2023, 8:12 a.m. UTC | #2
Hi,


> -----Original Message-----
> From: Bing Zhao <bingz@nvidia.com>
> Sent: Monday, November 13, 2023 9:21 AM
> To: Matan Azrad <matan@nvidia.com>; Slava Ovsiienko
> <viacheslavo@nvidia.com>; Raslan Darawsheh <rasland@nvidia.com>;
> Suanming Mou <suanmingm@nvidia.com>; Ori Kam <orika@nvidia.com>
> Cc: dev@dpdk.org; Erez Shitrit <erezsh@nvidia.com>; stable@dpdk.org
> Subject: [PATCH] net/mlx5/hws: fix typo in the log
> 
> Change "cureent" to "current".
> 
> Fixes: fa16fead9a68 ("net/mlx5/hws: support rule update after its creation")
> Cc: erezsh@nvidia.com
> Cc: stable@dpdk.org
> 
> Signed-off-by: Bing Zhao <bingz@nvidia.com>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh
  

Patch

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;
 	}