summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2014-05-20 15:08:34 +0200
committerRoland Dreier <roland@purestorage.com>2014-05-20 09:20:52 -0700
commit5cfb17828d877a5541171087b9d746befdf2a126 (patch)
treeb24c9f79049f8f6b034e466a000d5b29ffbadd0a /scripts
parent52ede08f00ebfc21d50a1f3e5908a78655900519 (diff)
downloadop-kernel-dev-5cfb17828d877a5541171087b9d746befdf2a126.zip
op-kernel-dev-5cfb17828d877a5541171087b9d746befdf2a126.tar.gz
IB/srp: Add fast registration support
Certain HCA types (e.g. Connect-IB) and certain configurations (e.g. ConnectX VF) support fast registration but not FMR. Hence add fast registration support. In function srp_rport_reconnect(), move the the srp_finish_req() loop from after to before the srp_create_target_ib() call. This is needed to avoid that srp_finish_req() tries to queue any invalidation requests for rkeys associated with the old queue pair on the newly allocated queue pair. Invoking srp_finish_req() before the queue pair has been reallocated is safe since srp_claim_req() handles completions correctly that arrive after srp_finish_req() has been invoked. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud