diff mbox series

[azure] UBUNTU: azure: force rdma_ucm to be loaded when hv_network_direct_* is loaded

Message ID 1504101326-27031-1-git-send-email-marcelo.cerri@canonical.com
State New
Headers show
Series [azure] UBUNTU: azure: force rdma_ucm to be loaded when hv_network_direct_* is loaded | expand

Commit Message

Marcelo Henrique Cerri Aug. 30, 2017, 1:55 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1712915

Create a soft dependency to automatically load rdma_ucm when a Hyper-V
RDMA driver is loaded. Since the RDMA drivers are usually loaded by
WALinuxAgent, the agent must be installed on the system for rdma_ucm to
be loaded during the boot.

The wildcard used in the softdep directive covers all RDMA driver
versions and it's also triggered when the driver is loaded via an alias,
i.e. "hv_network_direct".

Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
---
 debian.azure/modprobe.d/common.conf | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marcelo Henrique Cerri Sept. 7, 2017, 6:44 p.m. UTC | #1
Acked-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com>
diff mbox series

Patch

diff --git a/debian.azure/modprobe.d/common.conf b/debian.azure/modprobe.d/common.conf
index 57acdd4be025..734054dc30e3 100644
--- a/debian.azure/modprobe.d/common.conf
+++ b/debian.azure/modprobe.d/common.conf
@@ -3,3 +3,5 @@  blacklist snd-mixer-oss
 blacklist snd-pcm-oss
 # LP:1708699 -- prevent RDMA drivers from being hot plugged
 install vmbus:3daf2e8ca732094bab99bd1f1c86b501 true
+# LP:1712915 -- [Hyper-V] linux-azure: rdma_ucm should autoload on HPC images
+softdep hv_network_direct_* post: rdma_ucm