diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2017-06-29 12:28:18 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-20 11:20:50 -0400 |
commit | 499e456981d376ef614e257d5dcb280581db9ac6 (patch) | |
tree | cc23bc5c9e008a67b134f591f7930836a069c4b9 /drivers/infiniband/hw/bnxt_re/bnxt_re.h | |
parent | 10d1dedf9b428ed776f244eb8b43f28974da3fb0 (diff) |
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