git: 4a87beeccb04 - main - mlx5en(4): Fix a few typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Mar 2022 17:36:38 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=4a87beeccb04430a154da19721e1c4715e9ddd31
commit 4a87beeccb04430a154da19721e1c4715e9ddd31
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-03-27 15:59:43 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-03-28 17:36:32 +0000
mlx5en(4): Fix a few typos in source code comments
- s/persistant/persistent/
MFC after: 3 days
---
sys/dev/mlx5/mlx5_en/en.h | 4 ++--
sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
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);