IB/srp: Register the indirect data buffer descriptor
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:09:05 +0000 (17:09 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:38 +0000 (18:12 -0400)
commit330179f2fa93c1c6c41a90c7deabc98e363018e5
tree6b738e3ffbcc08bcaae7f72843269680d01366e3
parent002f15674c84fb4c38ed5237c1e7235e09c033f0
IB/srp: Register the indirect data buffer descriptor

Instead of always using the global rkey for the indirect data
buffer descriptor, register that descriptor with the HCA if
the kernel module parameter register_always has been set to Y.

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