]> git.openfabrics.org - ~ardavis/dapl.git/commit
mcm,mpxyd: fix dreq processing to defer QP flush when proxy WRs still pending
authorArlin Davis <arlin.r.davis@intel.com>
Tue, 14 Jul 2015 21:58:32 +0000 (14:58 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Tue, 14 Jul 2015 21:58:32 +0000 (14:58 -0700)
commit0b39116c18d43faf367bac08263fa62341d8ecf8
tree9b66dba162fefec33b4d38a00077dfc35a257270
parent40d7d9fc01b376fc18ac9ac7f21ab790f720241b
mcm,mpxyd: fix dreq processing to defer QP flush when proxy WRs still pending

The proxy will now defer DREQ flushing of proxy QPs if PI and PO
data engines have outstanding requests. Add mcm_qp_busy routine
for checking PI and PO data engines. When MIC calls disconnect
always send DREQ up to proxy in order to handle deferred flush
of proxy side posted rcv messages.

Change QP free to modify both local and proxy QPs and check for
outstanding rcv message before qp_destroy to avoid infinite wait
in dapls_ep_flush_cqs.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/qp.c
dapl/openib_mcm/cm.c
dapl/svc/mcm.c
dapl/svc/mix.c