zoukankan      html  css  js  c++  java
  • driver doesn't support SRIOV configuration via sysfs

     华为 IN200 网卡 用户指南 10

    https://support.huawei.com/enterprise/zh/doc/EDOC1100063070/9113fdd0

    配置SR-IOV

    https://support.huawei.com/enterprise/zh/doc/EDOC1100063070/328ee0c2

    [root@localhost ~]# cat /proc/cmdline 
    BOOT_IMAGE=/vmlinuz-4.14.0-115.el7a.0.1.aarch64 root=UUID=a7b34ae0-7d43-4c06-9083-cd70919acbdf ro crashkernel=auto LANG=en_US.UTF-8 iommu=pt intel_iommu=on iommu.passthrough=1
    [root@localhost ~]# 
    [root@localhost device]# ls 
    broken_parity_status      net
    class                     numa_node
    config                    pools
    consistent_dma_mask_bits  power
    current_link_speed        remove
    current_link_width        rescan
    d3cold_allowed            reset
    device                    resource
    devspec                   resource0
    dma_mask_bits             resource2
    driver                    resource4
    driver_override           revision
    enable                    rom
    iommu                     sriov_drivers_autoprobe
    iommu_group               sriov_numvfs
    irq                       sriov_totalvfs
    local_cpulist             subsystem
    local_cpus                subsystem_device
    max_link_speed            subsystem_vendor
    max_link_width            uevent
    modalias                  vendor
    msi_bus                   vpd
    msi_irqs
    [root@localhost device]# pwd
    /sys/class/net/enp5s0/device
    [root@localhost device]# echo 5 > sriov_numvfs
    -bash: echo: write error: No such file or directory
    [root@localhost device]#
    [root@localhost dpdk-19.11]# dmesg | tail
    [ 6798.331462] hinic 0000:05:00.0 enp5s0: set rx mode work
    [ 6798.411203] hinic 0000:05:00.0 enp5s0: set rx mode work
    [ 6798.491197] hinic 0000:05:00.0 enp5s0: set rx mode work
    [ 6902.185881] hinic 0000:05:00.0: Driver doesn't support SRIOV configuration via sysfs
    [ 6938.838365] hinic 0000:06:00.0: Driver doesn't support SRIOV configuration via sysfs
    [ 6962.713275] hinic 0000:06:00.0: Driver doesn't support SRIOV configuration via sysfs
    [ 7040.689571] hinic 0000:06:00.0: Driver doesn't support SRIOV configuration via sysfs
    [ 7322.560064] hinic 0000:06:00.0: Driver doesn't support SRIOV configuration via sysfs
    [62041.770143] hinic 0000:05:00.0: Driver doesn't support SRIOV configuration via sysfs
    [62065.490211] hinic 0000:05:00.0: Driver doesn't support SRIOV configuration via sysfs
    [root@localhost dpdk-19.11]# find /sys/devices/ -name '*05:00.0'
    /sys/devices/pci0000:00/0000:00:0c.0/0000:03:00.0/0000:04:00.0/0000:05:00.0
    /sys/devices/platform/arm-smmu-v3.0.auto/iommu/smmu3.0x0000000148000000/devices/0000:05:00.0
    [root@localhost dpdk-19.11]# 
    modalias                  vpd
    [root@localhost dpdk-19.11]# echo 5 >   /sys/bus/pci/drivers/igb_uio/0000:05:00.0/sriov_numvfs 
    -bash: echo: write error: No such file or directory
    [root@localhost dpdk-19.11]# 
    [root@localhost drivers]# grep sriov_numvfs  -rn *
    bus/pci/linux/pci.c:286:                         "%s/sriov_numvfs", dirname);
    net/mlx5/mlx5.c:3098:                            * if sriov_numvfs < sriov_totalvfs.
    [root@localhost drivers]# 

  • 相关阅读:
    jsp mysql 配置线程池
    服务端 模拟 检测 攻击。。乱写
    硕思闪客精灵 7.2 破解版
    unity UnityAwe 插件
    smartfoxserver 2x 解决 Math NAN
    unity 断点下载
    java 监听文件目录修改
    wind7 64 setup appjs
    sfs2x 修改jvm 内存
    unity ngui 解决图层问题
  • 原文地址:https://www.cnblogs.com/dream397/p/13656062.html
Copyright © 2011-2022 走看看