Re: [PATCH v4 7/7] nvme: support rdma transport type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/14/20 2:18 PM, Sagi Grimberg wrote:
Signed-off-by: Sagi Grimberg <sagi@xxxxxxxxxxx>
---
  tests/nvme/rc | 15 +++++++++++++++
  1 file changed, 15 insertions(+)

diff --git a/tests/nvme/rc b/tests/nvme/rc
index 3e97801bbb30..675acbfa7012 100644
--- a/tests/nvme/rc
+++ b/tests/nvme/rc
@@ -5,6 +5,7 @@
  # Test specific to NVMe devices
  . common/rc
+. common/multipath-over-rdma
  def_traddr="127.0.0.1"
  def_adrfam="ipv4"
@@ -25,6 +26,12 @@ _nvme_requires() {
          _have_modules nvmet nvme-core nvme-tcp nvmet-tcp
          _have_configfs
          ;;
+    rdma)
+        _have_modules nvmet nvme-core nvme-rdma nvmet-rdma
+        _have_configfs
+        _have_program rdma
+        _have_modules rdma_rxe siw

start_soft_rdma can use siw or rdma_rxe(default one) module, but some old distros may not support siw, but suppor rdma_rxe.
how about:
_have_modules rdma_rxe || _have_modules siw

OK



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux