IB/srp: Allow sg_tablesize to be adjusted
authorVu Pham <vu@mellanox.com>
Sun, 18 Jun 2006 03:37:32 +0000 (20:37 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:32 +0000 (20:37 -0700)
commit74b0a15b5e18e44206c98419745a472c3d28e561
tree9aa9846193df826cc81d2072a0ca56a569ea9668
parent52fb2b50c4baa1430064c1e6c1c7df473d469df1
IB/srp: Allow sg_tablesize to be adjusted

Make the sg_tablesize used by SRP adjustable at module load time via a
module parameter.  Calculate the corresponding IU length required to
support this.

Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h