diff --git a/sys/dev/mlx5/mlx5_en/en.h b/sys/dev/mlx5/mlx5_en/en.h index 36a55ff5c4d0..9eeb8c1a396d 100644 --- a/sys/dev/mlx5/mlx5_en/en.h +++ b/sys/dev/mlx5/mlx5_en/en.h @@ -758,7 +758,7 @@ struct mlx5e_rq_mbuf { }; struct mlx5e_rq { - /* persistant fields */ + /* persistent fields */ struct mtx mtx; struct mlx5e_rq_stats stats; struct callout watchdog; @@ -845,7 +845,7 @@ enum { }; struct mlx5e_sq { - /* persistant fields */ + /* persistent fields */ struct mtx lock; struct mtx comp_lock; struct mlx5e_sq_stats stats; diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index ccd87f1cb9d8..aedf9ba9e79e 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -2259,7 +2259,7 @@ mlx5e_open_channel(struct mlx5e_priv *priv, struct epoch_tracker et; int i, err; - /* zero non-persistant data */ + /* zero non-persistent data */ MLX5E_ZERO(&c->rq, mlx5e_rq_zero_start); for (i = 0; i != priv->num_tc; i++) MLX5E_ZERO(&c->sq[i], mlx5e_sq_zero_start);