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 <bvanassche@acm.org>
}
# Load the rdma_rxe kernel module and associate it with all network interfaces.
-start_rdma_rxe() {
+start_soft_rdma() {
{
modprobe rdma_rxe || return $?
(
# 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
}
setup_rdma() {
- start_rdma_rxe
+ start_soft_rdma
(
echo "RDMA interfaces:"
cd /sys/class/infiniband &&
killall -9 multipathd >&/dev/null
rm -f /etc/multipath.conf
stop_target
- stop_rdma_rxe
+ stop_soft_rdma
unload_null_blk
}