diff options
author | Oren Duer <oren@mellanox.co.il> | 2012-04-29 10:04:24 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-05-08 14:48:09 -0400 |
commit | c0c1d3d761c32ece93b1c99d200591415e3cbf7c (patch) | |
tree | bd1099c23f115a3720f002e9fe27b832d34cf9e4 /include/linux/mlx4 | |
parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) |
IB/mlx4: Put priority bits in WQE of IBoE MLX QP
Otherwise CM packets going over MLX QP1 get fixed scheduling priority 0.
We want CM packets to get the same scheduling priority, and therefore
map to the same SQ (Schedule Queue) and eventually TC (Traffic Class),
as the application requested for the actual QP used for the connection.
Signed-off-by: Oren Duer <oren@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/qp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h index 091f9e7dc8b9..bb57d5c58df2 100644 --- a/include/linux/mlx4/qp.h +++ b/include/linux/mlx4/qp.h | |||
@@ -233,7 +233,8 @@ struct mlx4_wqe_mlx_seg { | |||
233 | u8 owner; | 233 | u8 owner; |
234 | u8 reserved1[2]; | 234 | u8 reserved1[2]; |
235 | u8 opcode; | 235 | u8 opcode; |
236 | u8 reserved2[3]; | 236 | __be16 sched_prio; |
237 | u8 reserved2; | ||
237 | u8 size; | 238 | u8 size; |
238 | /* | 239 | /* |
239 | * [17] VL15 | 240 | * [17] VL15 |