]> git.karo-electronics.de Git - linux-beck.git/commit
RDMA/cxgb4: Initialize the device status page
authorSteve Wise <swise@opengridcomputing.com>
Tue, 8 Jul 2014 15:20:35 +0000 (10:20 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 Jul 2014 23:56:55 +0000 (16:56 -0700)
commit6b54d54dea82ae214e4a45a503c4ef755a8ecee8
tree825467589e899c43020f4295730742d8cbc9bbad
parent5dab6d3ab1abed99be6166b844af58237d52a135
RDMA/cxgb4: Initialize the device status page

The status page is mapped to user processes and allows sharing the
device state between the kernel and user processes.  This state isn't
getting initialized and thus intermittently causes problems.  Namely,
the user process can mistakenly think the user doorbell writes are
disabled which causes SQ work requests to never get fetched by HW.

Fixes: 05eb23893c2c ("cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes").
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Cc: <stable@vger.kernel.org> # v3.15
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/device.c