Skip to content

Commit

Permalink
issue: 1498330 Update driver restart recommendations
Browse files Browse the repository at this point in the history
Signed-off-by: Liran Oz <[email protected]>
  • Loading branch information
liranoz12 authored Aug 20, 2018
1 parent 757ecc9 commit 1b98638
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Update: 10 Jul 2018
Update: 12 Aug 2018

Introduction
============
Expand All @@ -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:
Expand Down Expand Up @@ -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].
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/vma/dev/net_device_val.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down
4 changes: 2 additions & 2 deletions src/vma/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 1b98638

Please sign in to comment.