IB/mlx4: Put priority bits in WQE of IBoE MLX QP
authorOren Duer <oren@mellanox.co.il>
Sun, 29 Apr 2012 14:04:24 +0000 (17:04 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 May 2012 18:48:09 +0000 (11:48 -0700)
commitc0c1d3d761c32ece93b1c99d200591415e3cbf7c
treebd1099c23f115a3720f002e9fe27b832d34cf9e4
parentd48b97b403d23f6df0b990cee652bdf9a52337a3
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>
drivers/infiniband/hw/mlx4/qp.c
include/linux/mlx4/qp.h