|
@@ -3526,8 +3526,8 @@ static int adjust_qp_sched_queue(struct mlx4_dev *dev, int slave,
|
|
|
pri_sched_queue = (qpc->pri_path.sched_queue & ~(1 << 6)) |
|
|
|
((port & 1) << 6);
|
|
|
|
|
|
- if (optpar & MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH ||
|
|
|
- mlx4_is_eth(dev, port + 1)) {
|
|
|
+ if (optpar & (MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH | MLX4_QP_OPTPAR_SCHED_QUEUE) ||
|
|
|
+ qpc->pri_path.sched_queue || mlx4_is_eth(dev, port + 1)) {
|
|
|
qpc->pri_path.sched_queue = pri_sched_queue;
|
|
|
}
|
|
|
|