<div dir="ltr">Hi there,<div><br></div><div>I have an Intel X520 network card, and I find the max supported VFs are different.</div><div>Please check below outputs:<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br># lspci -vvv -s 04:00.0<br>04:00.0 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01)<br>...</div><div> Capabilities: [160 v1] Single Root I/O Virtualization (SR-IOV)<br>          IOVCap: Migration-, Interrupt Message Number: 000<br>             IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy+<br>              IOVSta: Migration-<br>** Initial VFs: 64, Total VFs: 64**, Number of VFs: 0, Function Dependency Link: 00<br>               VF offset: 128, stride: 2, Device ID: 10ed<br>            Supported Page Size: 00000553, System Page Size: 00000001<br>             Region 0: Memory at 0000000094400000 (64-bit, prefetchable)<br>           Region 3: Memory at 0000000094500000 (64-bit, prefetchable)<br>           VF Migration: offset: 00000000, BIR: 0<br>        Kernel driver in use: ixgbe<br>   Kernel modules: ixgbe</div><div><br></div><div># cat /sys/class/net/enp4s0f0/device/sriov_totalvfs<br>63<br></div><div><br></div><div># echo 64 > /sys/class/net/enp4s0f0/device/sriov_numvfs<br>-bash: echo: write error: Numerical result out of range<br># echo 63 > /sys/class/net/enp4s0f0/device/sriov_numvfs<br># cat /sys/class/net/enp4s0f0/device/sriov_numvfs<br>63</div><div><br></div><div>The lspci command says the Total VFs supported is 64, while in the file "sriov_totalvfs"  says it's 63.<br>And the sriov_numvfs file will take precedence.</div><div>Why are the numbers different?  Just a little curious.</div><div>Thank you!</div><div><br></div><div>-------<br>Best Regards,<br>Yalan Zhang<br>IRC: yalzhang<br></div></div></div></div></div></div>