diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2017-02-19 20:08:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-22 13:34:00 -0700 |
commit | 8f4e8dace3d182132c8ffbcf243dda85def6c209 (patch) | |
tree | 12a483b6b3bcd3cf9b9d0ebbda5b54be02a44d27 /crypto/cipher.c | |
parent | 6ccaeb56004a14329b033968a687324c96d295bf (diff) |
nvme-rdma: add support for host_traddr
This will enable the user to control the specific interface for
connection establishment in case the host has more than 1 interface
under the same subnet.
E.g:
Host interfaces configured as:
- ib0 1.1.1.1/16
- ib1 1.1.1.2/16
Target interfaces configured as:
- ib0 1.1.1.3/16 (listener interface)
- ib1 1.1.1.4/16
the following connect command will go through host iface ib0 (default):
nvme connect -t rdma -n testsubsystem -a 1.1.1.3 -s 1023
but the following command will go through host iface ib1:
nvme connect -t rdma -n testsubsystem -a 1.1.1.3 -s 1023 -w 1.1.1.2
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions