commit | 499e456981d376ef614e257d5dcb280581db9ac6 | [log] [tgz] |
---|---|---|
author | Selvin Xavier <selvin.xavier@broadcom.com> | Thu Jun 29 12:28:18 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Thu Jul 20 11:20:50 2017 -0400 |
tree | cc23bc5c9e008a67b134f591f7930836a069c4b9 | |
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>