Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2021 15:19:34 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 692ba7de91a9 - stable/13 - mlx5: fix typo, KENREL_MIN_LEVEL->KERNEL_MIN_LEVEL
Message-ID:  <202107261519.16QFJY9f025552@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=692ba7de91a934a4a91ec0a4f3c50c71ed2ed368

commit 692ba7de91a934a4a91ec0a4f3c50c71ed2ed368
Author:     Konstantin Belousov <konstantinb@nvidia.com>
AuthorDate: 2021-04-07 14:08:43 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-07-26 13:51:11 +0000

    mlx5: fix typo, KENREL_MIN_LEVEL->KERNEL_MIN_LEVEL
    
    (cherry picked from commit 859e41e90165b00b99addf4c498b8ec031ba9df9)
---
 sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
index 55c7896e3d52..320831b6e153 100644
--- a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
@@ -68,8 +68,8 @@
 #define BYPASS_PRIO_MAX_FT 1
 #define KERNEL_MAX_FT 5
 #define LEFTOVER_MAX_FT 1
-#define KENREL_MIN_LEVEL 3
-#define LEFTOVER_MIN_LEVEL KENREL_MIN_LEVEL + 1
+#define KERNEL_MIN_LEVEL 3
+#define LEFTOVER_MIN_LEVEL KERNEL_MIN_LEVEL + 1
 #define BYPASS_MIN_LEVEL MLX5_NUM_BYPASS_FTS + LEFTOVER_MIN_LEVEL
 struct node_caps {
 	size_t	arr_sz;
@@ -113,7 +113,7 @@ struct init_tree_node {
 					    BYPASS_PRIO_MAX_FT),
 				ADD_FT_PRIO("prio-mcast", 0,
 					    BYPASS_PRIO_MAX_FT))),
-		ADD_PRIO("kernel_prio", 0, KENREL_MIN_LEVEL, 0, {},
+		ADD_PRIO("kernel_prio", 0, KERNEL_MIN_LEVEL, 0, {},
 			 ADD_NS("kernel_ns",
 				ADD_FT_PRIO("prio_kernel-0", 0,
 					    KERNEL_MAX_FT))),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107261519.16QFJY9f025552>