summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2017-02-19 20:08:03 +0200
committerJens Axboe <axboe@fb.com>2017-02-22 13:34:00 -0700
commit8f4e8dace3d182132c8ffbcf243dda85def6c209 (patch)
tree12a483b6b3bcd3cf9b9d0ebbda5b54be02a44d27 /block
parent6ccaeb56004a14329b033968a687324c96d295bf (diff)
downloadlinux-stable-8f4e8dace3d182132c8ffbcf243dda85def6c209.tar.gz
linux-stable-8f4e8dace3d182132c8ffbcf243dda85def6c209.tar.bz2
linux-stable-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')
0 files changed, 0 insertions, 0 deletions