mlx5: fix typo, KENREL_MIN_LEVEL->KERNEL_MIN_LEVEL

Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies/NVidia Networking
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2021-04-07 17:08:43 +03:00 committed by Konstantin Belousov
parent bf202a8d7a
commit 859e41e901

View File

@ -68,8 +68,8 @@
#define BYPASS_PRIO_MAX_FT 1 #define BYPASS_PRIO_MAX_FT 1
#define KERNEL_MAX_FT 5 #define KERNEL_MAX_FT 5
#define LEFTOVER_MAX_FT 1 #define LEFTOVER_MAX_FT 1
#define KENREL_MIN_LEVEL 3 #define KERNEL_MIN_LEVEL 3
#define LEFTOVER_MIN_LEVEL KENREL_MIN_LEVEL + 1 #define LEFTOVER_MIN_LEVEL KERNEL_MIN_LEVEL + 1
#define BYPASS_MIN_LEVEL MLX5_NUM_BYPASS_FTS + LEFTOVER_MIN_LEVEL #define BYPASS_MIN_LEVEL MLX5_NUM_BYPASS_FTS + LEFTOVER_MIN_LEVEL
struct node_caps { struct node_caps {
size_t arr_sz; size_t arr_sz;
@ -113,7 +113,7 @@ struct init_tree_node {
BYPASS_PRIO_MAX_FT), BYPASS_PRIO_MAX_FT),
ADD_FT_PRIO("prio-mcast", 0, ADD_FT_PRIO("prio-mcast", 0,
BYPASS_PRIO_MAX_FT))), 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_NS("kernel_ns",
ADD_FT_PRIO("prio_kernel-0", 0, ADD_FT_PRIO("prio_kernel-0", 0,
KERNEL_MAX_FT))), KERNEL_MAX_FT))),