Planning for Open Fabrics enterprise Distribution (OFED)

A configuration file must exist in the /etc/libibverbs.d/ directory for every Remote Direct Memory Access (RDMA) adapter that is installed on the system.

The configuration file enables the libibverbs library to use the driver for the RDMA devices. For example, to use a Mellanox ConnectX-2 RoCE adapter, the mx2.driver file must exist in the /etc/libibverbs.d/ directory. The mx2.driver file must contain the following code:
# cat /etc/libibverbs.d/mx2.driver
driver mx2
To use any other directory, except the /etc/libibverbs.d/ directory, use the IBV_CONFIG_DIR environment variable. To establish communication between the two nodes, the adapters must have IPv4 or IPv6 addresses configured.