IB/srpt: Cache global L_Key
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:27:24 +0000 (10:27 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:49:54 +0000 (10:49 -0400)
commit74333f122388437cf1e2296ee9a3ae19d8858bc4
treee5f26cb4b8c41eb4123956e87c17ea0a83970315
parent7a01d05cd5bed9594fbc4dff5e944652ff23876c
IB/srpt: Cache global L_Key

This patch 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/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h