To use SR-IOV on anX4 series adapter, you must reconfigure the adapter by loading a configuration file onto it. You must set the following configuration parameters in the file:
- firmware_variant
- Set this to
full_featured. - num_vfs
- Set this to the number of VFs you want to enable per PF, in the range 0-240.
You might also want to change the following configuration parameters in the file:
- msix_limit
- The number of MSIX vectors per PF. The default is the maximum possible based on the number of
PFs and VFs.
Change this if you want to restrict MSIX usage.
- vf_msix_limit
- The number of MSIX vectors per VF. The default is 1.
Change this if you want to use multiple MSIX vectors per VF. The value you set must be a power of two, with a maximum value of 128.
- vi_count
- The number of VIs available on the whole system (the total across both instances of the
Enterprise datapath). The default is the maximum possible (8192).
Change this if you want to restrict the number of VIs so you can allocate larger descriptor caches per VI.
For details of how to use configuration files, and of interdependencies and constraints between these parameters, see Reconfiguring the Adapter.