394 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

1822网卡在openEuler系统上无法生成VF

已完成
缺陷
创建于  
2021-04-25 14:44

复现环境:
TS200 model 2280 + openEuler LTS 20.03
BIOS:1.63
网卡驱动使用华为support发布官方驱动
网卡规格 4端口 1822(SP580)

◆【故障现象概述】:对网口执行echo 8 > /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs虚拟化操作,没有新增虚拟网口,lspci没有新增设备。
◇【异常点概述】:无虚拟网口,有告警反馈,dmesg有新增error

复现步骤:
1.BIOS中打开SMMU、SRIOV,hinicadm sriov -i hinic0 -p 0 查看网口虚拟化状态

2.对网口执行echo 8 > /sys/bus/pci/devices/0000:86:00.0/sriov_numvfs

3.lspci、ifconfig查看新增虚拟网口

报错:
输入图片说明

主要信息:
hinic 报错误 not enough MMIO resources for SR-IOV; [NIC]failed to enable SR-IOV error -12

解决方案:grub项中添加pci=realloc

评论 (1)

Merlin_Lee 创建了缺陷
Merlin_Lee 关联仓库设置为openEuler/kernel
展开全部操作日志

Hey merlinlee, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

Merlin_Lee 修改了描述
sanglipeng 任务状态待办的 修改为修复中
sanglipeng 添加了
 
issue_feature
标签
sanglipeng 关联分支设置为openEuler-20.03-LTS-SP3
sanglipeng 移除了
 
issue_feature
标签
sanglipeng 移除了
 
issue_feature
标签
sanglipeng 添加了
 
kind/bug
标签
sanglipeng 任务状态修复中 修改为已完成
sanglipeng 任务状态已完成 修改为修复中
sanglipeng 移除了
 
kind/bug
标签
sanglipeng 任务状态修复中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助