From: Bart Van Assche Date: Fri, 13 Dec 2019 14:32:30 +0000 (-0500) Subject: common/multipath-over-rdma: Rename two functions X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a4131aa6379517f4bb531cdf1f4b4089f3e6857c;p=users%2Fsagi%2Fblktests.git common/multipath-over-rdma: Rename two functions Since the meaning of this functions will change, make sure that the function name will match the new meaning. Signed-off-by: Bart Van Assche --- diff --git a/common/multipath-over-rdma b/common/multipath-over-rdma index 15f296e..9f645f7 100644 --- a/common/multipath-over-rdma +++ b/common/multipath-over-rdma @@ -409,7 +409,7 @@ has_rdma_rxe() { } # Load the rdma_rxe kernel module and associate it with all network interfaces. -start_rdma_rxe() { +start_soft_rdma() { { modprobe rdma_rxe || return $? ( @@ -425,7 +425,7 @@ start_rdma_rxe() { # Dissociate the rdma_rxe kernel module from all network interfaces and unload # the rdma_rxe kernel module. -stop_rdma_rxe() { +stop_soft_rdma() { ( cd /sys/class/net && for i in *; do @@ -608,7 +608,7 @@ unload_null_blk() { } setup_rdma() { - start_rdma_rxe + start_soft_rdma ( echo "RDMA interfaces:" cd /sys/class/infiniband && @@ -627,7 +627,7 @@ teardown_uncond() { killall -9 multipathd >&/dev/null rm -f /etc/multipath.conf stop_target - stop_rdma_rxe + stop_soft_rdma unload_null_blk }