android_kernel_xiaomi_sm8350/drivers/infiniband/hw
Jack Morgenstein 57f01b5339 IB/mlx4: Fix zeroing of rnr_retry value in ib_modify_qp()
The code in __mlx4_ib_modify_qp() overwrites context->params1 after
the RNR retry parameter is ORed in, which results in the RNR retry
parameter always being set to 0.  Fix this by moving where we OR in
the value to later in the function, after the initial assignment of
context->params1.

Found by the Mellanox firmware group.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-06-07 23:24:38 -07:00
..
amso1100 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
cxgb3 IB/uverbs: Export ib_umem_get()/ib_umem_release() to modules 2007-05-08 18:00:37 -07:00
ehca IB/ehca: Fix number of send WRs reported for new QP 2007-05-24 14:02:39 -07:00
ipath IB/ipath: Fix potential deadlock with multicast spinlocks 2007-05-19 08:51:53 -07:00
mlx4 IB/mlx4: Fix zeroing of rnr_retry value in ib_modify_qp() 2007-06-07 23:24:38 -07:00
mthca IB/mthca, mlx4_core: Fix typo in comment 2007-06-07 11:51:59 -07:00