2017-8-29 16:33:40

内核开启VF小结:

1. eth2上创建4个VF
echo 4 > /sys/class/net/eth2/device/sriov_numvfs
2. 关闭eth2 VF
~ # echo 0 > /sys/class/net/eth2/device/sriov_numvfs
注:如果遇到"/sys/class/net/<DEVICE NAME>/device/sriov_numvfs"文件不存,
内核开启配置如下试试:
[*] PCI support
    [*]   Support mmconfig PCI config space access
    [*]   PCI Express Port Bus support        
    [*]   Enable PCI resource re-allocation detection
    [*] PCI IOV support   
    [*] PCI PRI support
[*] IOMMU Hardware Support  --->
[*] Support for Intel IOMMU using DMA Remapping Devices
[*] Support for Shared Virtual Memory with Intel IOMMU



相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
  • 2021-12-13
  • 2021-12-19
  • 2021-11-16
  • 2021-09-04
相关资源
相似解决方案