IB/srp: Cache global rkey
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:27:28 +0000 (10:27 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:49:54 +0000 (10:49 -0400)
commitcee687b68dbc718b5e10f2181102dc0bc3e4f006
treec87f7e7a81308661952fd9e8b0f4fd38dcf8cc7a
parent9566b054926b718994c65eab55985408046668c3
IB/srp: Cache global rkey

This is a micro-optimization for the hot path.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h