Skip to main content

Cornelis Technical Documentation

5.3.4. Configure and Verify SR-IOV

  1. Before enabling VFs, confirm that the CN6000 PF reports the expected VF count (7):

    cat /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_totalvfs

    Note

    To locate your PCIe device address, run lspci | grep -i cornelis or lspci | grep -i hfi.

  2. To enable VFs on a PF:

    echo 7 > /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_numvfs

    Note

    sriov_numvfs must be set to 0 (disabled) or 7 (all VFs enabled). Partial VF counts are not supported.

  3. To disable VFs on a PF:

    echo 0 > /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_numvfs