IB/srp: allow sg_tablesize to be set for each target
authorDavid Dillow <dillowda@ornl.gov>
Fri, 14 Jan 2011 23:23:24 +0000 (18:23 -0500)
committerDavid Dillow <dillowda@ornl.gov>
Tue, 15 Mar 2011 23:35:05 +0000 (19:35 -0400)
commit4924864404d0ce2c32a6d20b27b5b6fcb31e481d
tree2157ed7ed90b1fddf4013c560467082374d7c688
parent961e0be89a5120a1409ebc525cca6f603615a8a8
IB/srp: allow sg_tablesize to be set for each target

Different configurations of target software allow differing max sizes of
the command IU. Allowing this to be changed per-target allows all
targets on an initiator to get an optimal setting.

We deprecate srp_sg_tablesize and replace it with cmd_sg_entries in
preparation for allowing more indirect descriptors than can fit in the
IU.

Signed-off-by: David Dillow <dillowda@ornl.gov>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h