summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_cmd.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2006-06-13 17:19:42 +0300
committerRoland Dreier <rolandd@cisco.com>2006-06-17 20:37:20 -0700
commit4e56ea794ec8636991e21942fc2e0d071ea8ee1d (patch)
treeeb03f5a3246c69fdaf6dd485395b13d33aef158d /drivers/infiniband/hw/mthca/mthca_cmd.c
parent13aa6ecb47990cfc78e20e347fdd3f1df6189426 (diff)
downloadtalos-obmc-linux-4e56ea794ec8636991e21942fc2e0d071ea8ee1d.tar.gz
talos-obmc-linux-4e56ea794ec8636991e21942fc2e0d071ea8ee1d.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud