[PATCH rdma-core] kernel-boot: modules: Load ib_umad for RoCE hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ib_umad is required to get ibstat working.
Auto-load it for RoCE hardware so it works out of the box

$ ibstat
ibwarn: [4638] umad_init: can't read ABI version from /sys/class/infiniband_mad/abi_version (No such file or directory): is ib_umad module loaded?
ibpanic: [4638] main: can't init UMAD library: No such file or directory
$ modprobe ib_umad
$ ibstat
CA 'bnxt_re0'
	CA type: Broadcom NetXtreme-C/E RoCE Driver HCA
	Number of ports: 1
	Firmware version: 20.8.29.0
	Hardware version: 0x14e4
	Node GUID: 0x9edc71fffeb69930
	System image GUID: 0x9edc71fffeb69930
	Port 1:
		State: Down
		Physical state: Disabled
		Rate: 100
		Base lid: 0
		LMC: 0
		SM lid: 0
		Capability mask: 0x041d0000
		Port GUID: 0x9edc71fffeb69930
		Link layer: Ethernet

Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@xxxxxxxx>
---
 kernel-boot/modules/roce.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel-boot/modules/roce.conf b/kernel-boot/modules/roce.conf
index 8e4927ce26f0..982b929f429a 100644
--- a/kernel-boot/modules/roce.conf
+++ b/kernel-boot/modules/roce.conf
@@ -1,2 +1,5 @@
 # These modules are loaded by the system if any RDMA over Converged Ethernet
 # device is installed
+
+# Access to fabric management SMPs and GMPs from userspace.
+ib_umad
-- 
2.17.0.rc1.39.g310a4d90b69a

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux