diff options
author | Selvin Xavier <selvin.xavier@broadcom.com> | 2017-06-29 12:28:15 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 08:45:12 -0400 |
commit | f218d67ef00431728ab7317e829006d00ecd5ca4 (patch) | |
tree | 4868296098c26b34fa57c563675154ad82585f5b /mm/ksm.c | |
parent | 5fac5b1b297fe1702f4c65d3b16aefb7d52967ab (diff) | |
download | linux-f218d67ef00431728ab7317e829006d00ecd5ca4.tar.bz2 |
RDMA/bnxt_re: Allow posting when QPs are in error
This patch allows driver to post send and receive
requests on QPs which are in error state.
Instead of flushing the QP in the context of polling
error CQEs, the QPs will be added to a flush list
maintained per CQ. QP state is moved to error.
QP is added to flush list if the user moves it
to error state using modify_qp also. After polling the HW
CQ in poll_cq routine, this flush list is traversed
and driver completes work requests on each QP in the flush
list, till the budget expires. The QP is moved out of
flush list during QP destroy or during modify_QP to RESET.
When ULPs post Work Requests while QP is in error state,
driver will store the ULP data and then increment the
QP producer s/w index, without ringing doorbell. It then
schedules a worker to invoke the CQ handler since the
interrupts wont be generated from the HW for this request.
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mm/ksm.c')
0 files changed, 0 insertions, 0 deletions