From 1b986382ee6e7b1895ab2a2087bc3b236b5e46af Mon Sep 17 00:00:00 2001 From: Liran Oz Date: Mon, 20 Aug 2018 13:29:15 +0300 Subject: [PATCH] issue: 1498330 Update driver restart recommendations Signed-off-by: Liran Oz --- README.txt | 8 ++++---- src/vma/dev/net_device_val.cpp | 2 +- src/vma/main.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.txt b/README.txt index 1536a40362..7b0fc69838 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -Update: 10 Jul 2018 +Update: 12 Aug 2018 Introduction ============ @@ -20,7 +20,7 @@ Build libvma from source Prerequisites: 1. MLNX_OFED as described in the "Pre Installation" step of next section. -2. Or, upstream kernel and userspace verbs libraries (libibverbs, libmlx4, librdmacm) +2. Or, upstream kernel and userspace verbs libraries (libibverbs, libmlx4, libmlx5, librdmacm) 3. Autoconf, Automake, libtool, unzip, patch, libnl-devel (netlink 1 or 3) Build: @@ -48,7 +48,7 @@ Pre Installation: options ib_uverbs disable_raw_qp_enforcement=1 options mlx4_core fast_drop=1 options mlx4_core log_num_mgm_entry_size=-1 - And restart the driver: /etc/init.d/openibd restart + And restart openibd or rdma service depending on your system configuration Installing: Install the package as any other rpm or debian package [rpm -i libvma.X.Y.Z-R.rpm]. @@ -1050,7 +1050,7 @@ This warning message means that VMA tried to create a HW QP resource over Eth interface while the kernel requires this operation to be done only by privileged users. root can enable this for regular users as well by: 1. "echo options ib_uverbs disable_raw_qp_enforcement=1 > /etc/modprobe.d/ib_uverbs.conf" - 2. "/etc/init.d/openibd restart" + 2. Restart openibd or rdma service depending on your system configuration * CAP_NET_RAW and root access diff --git a/src/vma/dev/net_device_val.cpp b/src/vma/dev/net_device_val.cpp index 7e2b2486a2..bde7826cf0 100644 --- a/src/vma/dev/net_device_val.cpp +++ b/src/vma/dev/net_device_val.cpp @@ -1554,7 +1554,7 @@ bool net_device_val::verify_eth_qp_creation(const char* ifname) vlog_printf(VLOG_WARNING,"* Working in this mode might causes VMA malfunction over Ethernet interfaces\n"); vlog_printf(VLOG_WARNING,"* WARNING: the following steps will restart your network interface!\n"); vlog_printf(VLOG_WARNING,"* 1. \"echo options ib_uverbs disable_raw_qp_enforcement=1 > /etc/modprobe.d/ib_uverbs.conf\"\n"); - vlog_printf(VLOG_WARNING,"* 2. \"/etc/init.d/openibd restart\"\n"); + vlog_printf(VLOG_WARNING,"* 2. Restart openibd or rdma service depending on your system configuration\n"); vlog_printf(VLOG_WARNING,"* Read the RAW_PACKET QP root access enforcement section in the VMA's User Manual for more information\n"); vlog_printf(VLOG_WARNING,"******************************************************************************************************\n"); } diff --git a/src/vma/main.cpp b/src/vma/main.cpp index a665d47a16..ee82c4a87b 100644 --- a/src/vma/main.cpp +++ b/src/vma/main.cpp @@ -318,8 +318,8 @@ void check_flow_steering_log_num_mgm_entry_size() vlog_printf(VLOG_WARNING, "* In order to enable flow steering please restart your VMA applications after running *\n"); vlog_printf(VLOG_WARNING, "* the following: *\n"); vlog_printf(VLOG_WARNING, "* For your information the following steps will restart your network interface *\n"); - vlog_printf(VLOG_WARNING, "* 1. \"echo options mlx4_core log_num_mgm_entry_size=-1 > /etc/modprobe.d/mlnx.conf\" *\n"); - vlog_printf(VLOG_WARNING, "* 2. \"/etc/init.d/openibd restart\" *\n"); + vlog_printf(VLOG_WARNING, "* 1. \"echo options mlx4_core log_num_mgm_entry_size=-1 > /etc/modprobe.d/mlnx.conf\" *\n"); + vlog_printf(VLOG_WARNING, "* 2. Restart openibd or rdma service depending on your system configuration *\n"); vlog_printf(VLOG_WARNING, "* Read more about the Flow Steering support in the VMA's User Manual *\n"); vlog_printf(VLOG_WARNING, "***************************************************************************************\n"); }