IB/srp: Use P_Key cache for P_Key lookups
authorBart Van Assche <bvanassche@acm.org>
Wed, 9 Jul 2014 13:58:22 +0000 (15:58 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 15 Apr 2015 20:06:54 +0000 (16:06 -0400)
commit56b5390caf73694b2f50a042542f0b43c29d5ca8
tree34d308671d34d14a5f6c21babe3d6495bbe60954
parentc841e12add6926d64aa608687893465330b5a03e
IB/srp: Use P_Key cache for P_Key lookups

This change slightly reduces the time needed to log in.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: David Dillow <dave@thedillows.org>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c