zoukankan      html  css  js  c++  java
  • pve 启用sr-iov 待验证

    pve安装intel网卡(支持sr-iov):

    参考:
    PVE开启SR-IOV记录 https://koolshare.cn/thread-158441-1-1.html
    Proxmox VE(PVE)开启IOMMO并开启网卡(82576)SRIOV功能 https://blog.csdn.net/shuye216/article/details/108942595
    首先pve需要安装intel igb网卡驱动,然后将物理网卡(母网卡)虚拟为VF(virtual function),最后直通给虚拟机,然后在虚拟机中安装网卡驱动,疑问母卡还是否可用????? 所有VF加起来的带宽不能超过母卡的pcie-x1或pcie-x4或pcie-x16的物理带宽(也就是说不要模拟过多的vf)

    echo "options igb max_vfs=6,6,6,6,6,6" > /etc/modprobe.d/igb.conf
    我这里有6个intel 82576网卡,每个网卡虚拟出6个,总共是36个虚拟网卡
    dmesg | grep 82576
    [ 2.527369] igbvf 0000:07:10.1: Intel(R) 82576 Virtual Function
    [ 2.532109] igbvf 0000:07:10.3: Intel(R) 82576 Virtual Function
    [ 2.535583] igbvf 0000:07:10.5: Intel(R) 82576 Virtual Function
    [ 2.539074] igbvf 0000:07:10.7: Intel(R) 82576 Virtual Function
    [ 2.542565] igbvf 0000:07:11.1: Intel(R) 82576 Virtual Function
    [ 2.546055] igbvf 0000:07:11.3: Intel(R) 82576 Virtual Function
    [ 2.768637] igbvf 0000:07:10.0: Intel(R) 82576 Virtual Function
    [ 2.771872] igbvf 0000:07:10.2: Intel(R) 82576 Virtual Function
    [ 2.775080] igbvf 0000:07:10.4: Intel(R) 82576 Virtual Function
    [ 2.778273] igbvf 0000:07:10.6: Intel(R) 82576 Virtual Function
    [ 2.781481] igbvf 0000:07:11.0: Intel(R) 82576 Virtual Function
    [ 2.784682] igbvf 0000:07:11.2: Intel(R) 82576 Virtual Function
    [ 2.920650] igbvf 0000:05:10.0: Intel(R) 82576 Virtual Function
    [ 3.128489] igbvf 0000:05:10.2: Intel(R) 82576 Virtual Function
    [ 3.412422] igbvf 0000:05:10.4: Intel(R) 82576 Virtual Function
    [ 3.540328] igbvf 0000:05:10.6: Intel(R) 82576 Virtual Function
    [ 3.580426] igbvf 0000:05:11.0: Intel(R) 82576 Virtual Function
    [ 3.608433] igbvf 0000:05:11.2: Intel(R) 82576 Virtual Function
    [ 3.940652] igbvf 0000:05:10.1: Intel(R) 82576 Virtual Function
    [ 3.960418] igbvf 0000:05:10.3: Intel(R) 82576 Virtual Function
    [ 3.976422] igbvf 0000:05:10.5: Intel(R) 82576 Virtual Function
    [ 3.992427] igbvf 0000:05:10.7: Intel(R) 82576 Virtual Function
    [ 4.008435] igbvf 0000:05:11.1: Intel(R) 82576 Virtual Function
    [ 4.024426] igbvf 0000:05:11.3: Intel(R) 82576 Virtual Function
    [ 4.359456] igbvf 0000:04:10.0: Intel(R) 82576 Virtual Function
    [ 4.380383] igbvf 0000:04:10.2: Intel(R) 82576 Virtual Function
    [ 4.400395] igbvf 0000:04:10.4: Intel(R) 82576 Virtual Function
    [ 4.424404] igbvf 0000:04:10.6: Intel(R) 82576 Virtual Function
    [ 4.440398] igbvf 0000:04:11.0: Intel(R) 82576 Virtual Function
    [ 4.464396] igbvf 0000:04:11.2: Intel(R) 82576 Virtual Function
    [ 4.795365] igbvf 0000:04:10.1: Intel(R) 82576 Virtual Function
    [ 4.820409] igbvf 0000:04:10.3: Intel(R) 82576 Virtual Function
    [ 4.836453] igbvf 0000:04:10.5: Intel(R) 82576 Virtual Function
    [ 4.856446] igbvf 0000:04:10.7: Intel(R) 82576 Virtual Function
    [ 4.872448] igbvf 0000:04:11.1: Intel(R) 82576 Virtual Function
    [ 4.888444] igbvf 0000:04:11.3: Intel(R) 82576 Virtual Function

    pve安装博通网卡:
    待补充

  • 相关阅读:
    SMTP协议简介
    Debian
    TCP/IP协议基础
    CentOS(Community ENTerprise Operating System)
    IO
    【备忘】Windows网络命令行操作
    repeater中绑定dropdownlist事件
    MultipleActiveResultSets
    .NET UEditor使用方法
    Asp.net中时间格式化的几种方法
  • 原文地址:https://www.cnblogs.com/weihua2020/p/13933921.html
Copyright © 2011-2022 走看看