NVIDIA FreeBSD for ConnectX-4 and above Adapter Cards

Installation

This chapter describes how to install and test FreeBSD package on a single host machine with NVIDIA adapter hardware installed.

Software Dependencies

  • To install the driver software, kernel sources must be installed on the machine.

  • To load mlx5, linuxkpi must be loaded as well. Compile and install linuxkpi module under /sys/modules/linuxkpi.

Installing FreeBSD

Installing MLNX_EN Driver for FreeBSD

FreeBSD driver is no longer provided as a tarball. The EN driver can be obtained as part of the Kernel used. In order to load it, please run the following command: 

#kldload mlx5en

The dependent mlx5 and linuxkpi modules will be loaded automatically.

Installing InfiniBand/RDMA Driver for FreeBSD

To load the IB/RDMA driver:

Get into the FreeBSD SRC tree (/usr/src). 

# make buildworld WITH_OFED=YES
# make kernel WITH_OFED=YES
# make installworld WITH_OFED=YES
  • Driver-related code located in: 

    sys/compat/linuxkpi/
    sys/dev/mlx5/
    
  • Userspace related code located in 

    contrib/ofed/
    usr.sbin/mlx5tool/
    

Last updated: