diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2017-02-19 19:08:03 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-22 21:34:00 +0100 |
commit | 8f4e8dace3d182132c8ffbcf243dda85def6c209 (patch) | |
tree | 12a483b6b3bcd3cf9b9d0ebbda5b54be02a44d27 /block/blk-ioc.c | |
parent | nvmet-rdma: Fix error handling (diff) | |
download | linux-8f4e8dace3d182132c8ffbcf243dda85def6c209.tar.xz linux-8f4e8dace3d182132c8ffbcf243dda85def6c209.zip |
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 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions