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

Suanming Mou suanmingm at nvidia.com
Mon Nov 13 08:51:29 CET 2023


Hi,

> -----Original Message-----
> From: Bing Zhao <bingz at nvidia.com>
> Sent: Monday, November 13, 2023 3:21 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Suanming
> Mou <suanmingm at nvidia.com>; Ori Kam <orika at nvidia.com>
> Cc: dev at dpdk.org; Erez Shitrit <erezsh at nvidia.com>; stable at 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 at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Bing Zhao <bingz at nvidia.com>

Acked-by: Suanming Mou <suanmingm 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