android_kernel_xiaomi_sdm845/drivers/infiniband/hw
Michael S. Tsirkin 4e56ea794e IB/mthca: memfree completion with error FW bug workaround
Memfree firmware is in rare cases reporting WQE index == base - 1 in
receive completion with error, instead of (rq size - 1); base is 0 in
mthca.  Here is a patch to avoid kernel crash and report a correct WR
id in this case.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-06-17 20:37:20 -07:00
..
ipath IB/ipath: deref correct pointer when using kernel SMA 2006-05-23 13:29:35 -07:00
mthca IB/mthca: memfree completion with error FW bug workaround 2006-06-17 20:37:20 -07:00