Page MenuHomeFreeBSD

D32156.1796007722.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D32156.1796007722.diff

diff --git a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
--- a/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
+++ b/sys/dev/mlx5/mlx5_core/mlx5_fs_tree.c
@@ -70,7 +70,7 @@
#define LEFTOVER_MAX_FT 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
+#define BYPASS_MIN_LEVEL MLX5_BY_PASS_NUM_PRIOS + LEFTOVER_MIN_LEVEL
struct node_caps {
size_t arr_sz;
long *caps;
@@ -111,6 +111,22 @@
BYPASS_PRIO_MAX_FT),
ADD_FT_PRIO("prio7", 0,
BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio0_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio1_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio2_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio3_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio4_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio5_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio6_dt", 0,
+ BYPASS_PRIO_MAX_FT),
+ ADD_FT_PRIO("prio7_dt", 0,
+ BYPASS_PRIO_MAX_FT),
ADD_FT_PRIO("prio-mcast", 0,
BYPASS_PRIO_MAX_FT))),
ADD_PRIO("kernel_prio", 0, KERNEL_MIN_LEVEL, 0, {},
diff --git a/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c b/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
--- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
+++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
@@ -1447,7 +1447,7 @@
goto err;
}
- MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_RX_HASH_FUNC_TOEPLITZ);
+ MLX5_SET(tirc, tirc, rx_hash_fn, MLX5_TIRC_RX_HASH_FN_HASH_TOEPLITZ);
MLX5_SET(tirc, tirc, rx_hash_symmetric, 1);
memcpy(rss_key, ucmd.rx_hash_key, len);
break;

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 30, 3:02 AM (22 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42099720
Default Alt Text
D32156.1796007722.diff (1 KB)

Event Timeline