aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/bnxt_re.h
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2017-06-29 12:28:18 -0700
committerDoug Ledford <dledford@redhat.com>2017-07-20 11:20:50 -0400
commit499e456981d376ef614e257d5dcb280581db9ac6 (patch)
treecc23bc5c9e008a67b134f591f7930836a069c4b9 /drivers/infiniband/hw/bnxt_re/bnxt_re.h
parentRDMA/bnxt_re: Fix return value of poll routine (diff)
downloadlinux-dev-499e456981d376ef614e257d5dcb280581db9ac6.tar.xz
linux-dev-499e456981d376ef614e257d5dcb280581db9ac6.zip
RDMA/bnxt_re: Report MISSED_EVENTS in req_notify_cq
While invoking the req_notify_cq hook, ULPs can request whether the CQs have any CQEs pending. If CQEs are pending, drivers can indicate it by returning 1 for req_notify_cq. The stack will poll CQ again till CQ is empty. This patch peeks the CQ for any valid entries and return accordingly. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/bnxt_re.h')
0 files changed, 0 insertions, 0 deletions