]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Enable multiple connections to the same target
authorIshai Rabinovitz <ishai@mellanox.co.il>
Wed, 4 Oct 2006 13:28:56 +0000 (15:28 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Oct 2006 19:49:05 +0000 (12:49 -0700)
commite47393bcb3c3e7c5e86505050760eae1c8f8a3f6
tree58eeaa0d602c3f858fced07e53ca4c44041c5a45
parentd456b8b11ec1d2a01bc59f7fe98b3eb5b320956f
IB/srp: Enable multiple connections to the same target

Enable multiple concurrent connections to the same SRP target:

1) Use port GUID instead of node GUID in the initiator port
   identifier.  This allows connections to be made from multiple HCA
   ports at the same time.
2) Let the user specify the identifier extention when adding the
   device.  This allows userspace to make multiple connections even
   from the same port, if it wants too.

Without this, only one connection can be made from any given HCA, even
if it has multiple ports, because we don't use multi-channel mode, so
targets will only allow one connection from a given initiator port ID.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h