Illustrated title card for the guide: Minisforum MS-01 Intel X710 10GbE SFP+ Guide: SR-IOV
Networking

Minisforum MS-01 Intel X710 10GbE SFP+ Guide: SR-IOV

Check SFP+ media compatibility on the Minisforum MS-01, verify the Intel X710 link with i40e, and assign an SR-IOV virtual function to a Proxmox VM.

The Minisforum MS-01 has two 10GbE SFP+ ports driven by an Intel X710. Confirm SFP+ media compatibility with Minisforum, then verify the link on the Proxmox host with ethtool. For SR-IOV, keep the physical function (PF) on i40e, create a virtual function (VF) through sysfs, and pass that VF to the VM. Minisforum MS-01 specs · ethtool manual · Linux i40e guide · Proxmox passthrough guide

Choose a DAC or optical transceivers

ConnectionWhat to check
Direct-attach copper (DAC)Ask Minisforum to confirm the cable part number for the MS-01. Check the same part number against the switch vendor’s compatibility list. Linux i40e media guidance
FiberConfirm the exact transceiver with Minisforum and check the other end against the switch vendor’s compatibility list. Linux i40e media guidance

Intel recommends Intel Ethernet Optics for its 700-series controllers and says media support depends on the system board. Use the MS-01 board model when asking Minisforum to confirm a part number. Linux i40e media guidance

Keep a local console or a separate management connection available before changing passthrough settings. The MS-01 also has two 2.5GbE RJ45 ports. Minisforum MS-01 specs · Proxmox passthrough guide

On the host, list the interfaces and check the driver for the intended port. Replace eth0 throughout with the interface you want to use. Record the bus-info PCI address from the interface reporting i40e. If the adapter supports identification, run the identify command to locate the physical port. The adapter typically blinks one or more port LEDs. ip-link manual · ethtool manual · ethtool output fields · Linux i40e guide

ip link show
ethtool -i eth0
ethtool -p eth0 5

With the cable or optics connected, bring the interface up from the host’s root shell if needed. Check for Link detected: yes and a reported speed of 10 Gb/s. If the port has an optical module, ethtool -m reads its EEPROM when supported. ip-link manual · ethtool manual · ethtool output fields

ip link set dev eth0 up
ethtool eth0
ethtool -m eth0

If the link is down, recheck the media on both ends before proceeding to passthrough. Linux i40e media guidance

Prepare Proxmox for passthrough

In the host firmware, enable IOMMU support, usually called VT-d on Intel systems. Enable SR-IOV in the firmware if the platform requires it. On Intel hosts running Proxmox with a kernel of 6.8 or newer, Proxmox documents IOMMU as enabled by default in the kernel. Proxmox host prerequisites

If VFIO is unconfigured, put these module names in /etc/modules-load.d/vfio.conf. Proxmox VFIO configuration

vfio
vfio_iommu_type1
vfio_pci

After changing the module configuration, refresh the initramfs as root and reboot. Then check the modules and boot messages. Look for a message indicating that IOMMU, Directed I/O, or interrupt remapping is enabled. Proxmox VFIO and IOMMU checks

update-initramfs -u -k all
lsmod | grep vfio
dmesg | grep -e DMAR -e IOMMU -e AMD-Vi

Create one virtual function

The example uses 0000:01:00.0 for the physical function. Substitute the full address from bus-info. In a root shell on the host, read sriov_totalvfs for the selected PF’s VF limit and sriov_numvfs for that PF’s enabled VF count. If the files are absent, check the selected PCI address, driver and firmware SR-IOV setting. ethtool output fields · Linux PCI sysfs ABI · cat manual · Proxmox SR-IOV prerequisites

cat /sys/bus/pci/devices/0000:01:00.0/sriov_totalvfs
cat /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs

Run the write below only if the current count is zero and the limit is at least one. If VFs already exist, use an unassigned VF and leave the count alone. Writing zero removes all VFs on that PF, so release them from their guests before resetting the count. Linux PCI sysfs ABI · Linux SR-IOV how-to

echo 1 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs

Read virtfn0 on the PF. The last component of the symlink target is the first VF’s PCI address. For an existing VF pool, use the index of the unassigned VF in virtfn<N>. Linux PCI sysfs ABI · readlink manual

readlink /sys/bus/pci/devices/0000:01:00.0/virtfn0

Assign the VF to a Linux VM

Replace NODE with your Proxmox node name. Find the VF’s address and IOMMU group. Proxmox requires the device to be in a separate group, with exceptions for its own functions or its root port or bridge. Proxmox IOMMU group checks

pvesh get /nodes/NODE/hardware/pci --pci-class-blacklist ""

With the VM stopped, add the VF to an unused hostpci slot. This example uses VM 100, slot hostpci0, and VF 01:02.0 in PCI domain 0000. Use the VF address returned by readlink and leave the parent X710 function with the host. Proxmox PCI assignment and SR-IOV · Proxmox qm command guide

qm set 100 -hostpci0 01:02.0
qm start 100

Inside the Linux guest, list the interfaces, then query the new one. Replace the example guest interface eth1 with its name. Look for iavf as the driver for the X710 VF. ip-link manual · ethtool manual · Linux iavf guide

ip link show
ethtool -i eth1

Recreate the VF at boot

With Debian’s sysfsutils package installed on the Proxmox host, put this line in /etc/sysfs.d/x710-sriov.conf, using your PF address. The attribute path is relative to /sys. If you reused an existing pool, keep its configured VF count. After rebooting, repeat the VF count and readlink checks before starting the VM. Confirm that its configured PCI address still matches the intended VF. Proxmox SR-IOV persistence · Debian sysfs.conf manual · Linux PCI sysfs ABI

bus/pci/devices/0000:01:00.0/sriov_numvfs = 1

Evidence and limits. The steps are based on Minisforum and Intel hardware guidance, the Proxmox VE passthrough guide and Linux 7.0 documentation. Proxmox VE 9.3 lists Linux 7.0 as its default kernel series. The commands were not run on an MS-01 for this guide. Proxmox VE 9.3 release

Sources

  1. Minisforum MS-01 specifications in the Mini PC guide
  2. Linux 7.0 i40e driver documentation
  3. Linux 7.0 iavf driver documentation
  4. Linux 7.0 PCI sysfs ABI
  5. Linux 7.0 PCI SR-IOV how-to
  6. Proxmox VE PCI passthrough documentation
  7. Proxmox VE qm documentation
  8. Proxmox VE 9.3 release announcement
  9. Debian trixie ip-link manual
  10. Debian trixie ethtool manual
  11. Debian ethtool source code
  12. Debian trixie cat manual
  13. Debian trixie readlink manual
  14. Debian trixie sysfs.conf manual

Related