5.3.5. Persist the SR-IOV Configuration (Recommended)
SR-IOV settings do not persist across reboots. To persist the configuration:
Create a configuration file in
/etc/modprobe.d/to set themax_num_vfsmodule parameter.For example, create /etc/modprobe.d/hfi1_sriov.conf containing:
options hfi1 max_num_vfs=7
Configure a systemd unit or
udevrule to write the desired value tosriov_numvfsat boot.