summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw
diff options
context:
space:
mode:
authorBharat Potnuri <bharat@chelsio.com>2016-08-23 20:27:33 +0530
committerDoug Ledford <dledford@redhat.com>2016-08-23 12:52:52 -0400
commitcff069b78c21559f427c3fefe9ef3294e3dec094 (patch)
tree293a179997afae57cfae0c2d809194e7b4c85413 /drivers/infiniband/hw/i40iw
parentfaa739fb5df56aadab96bcd2f6eb3486cc3a3aec (diff)
downloadop-kernel-dev-cff069b78c21559f427c3fefe9ef3294e3dec094.zip
op-kernel-dev-cff069b78c21559f427c3fefe9ef3294e3dec094.tar.gz
iw_cxgb4: Fix cxgb4 arm CQ logic w/IB_CQ_REPORT_MISSED_EVENTS
Current cxgb4 arm CQ logic ignores IB_CQ_REPORT_MISSED_EVENTS for request completion notification on a CQ. Due to this ib_poll_handler() assumes all events polled and avoids further iopoll scheduling. This patch adds logic to cxgb4 ib_req_notify_cq() handler to check if CQ is not empty and return accordingly. Based on the return value of ib_req_notify_cq() handler, ib_poll_handler() will schedule a run of iopoll handler. Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud