/ 详情

4.19.90内核的系统上做了增加和删除ipvlan网卡的操作之后,物理网卡网络不通

Done
Bug
Opened this issue  
2021-03-12 17:28

4.19.90内核的系统,跑安装脚本安装应用软件,其中通过ip link add在enp125sf0物理网卡上创建了ipvlan虚拟网卡,在卸载了应用软件之后(通过ip link del删除ipvlan网卡)发现物理网卡enp125s0f0网络不通,enp125s0f0网卡驱动为hns3

  1. 添加ipvlan网卡时,出现类似下面的打印:
    输入图片说明

会对ipvlan网卡设置与物理网卡相同的mac地址;由于此地址已存在,驱动不再处理,直接返回。

  1. 删除ipvlan网卡时,之前添加的mac地址会去删除,实际相当于删除了物理网卡的mac地址,导致ping不通。
Attachments

Comments (3)

jpzhang187 created缺陷
jpzhang187 set related repository to openEuler/kernel
Expand operation logs

Hey jpzhang187, 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.

jpzhang187 changed description
jpzhang187 changed description
成坚 (CHENG Jian) changed description
成坚 (CHENG Jian) changed description
成坚 (CHENG Jian) changed description

已经确认是驱动问题

驱动老版本的问题,openeuler新版本已经解决

解决此问题的patch如下:

合入 tag commit
4.19.90-2003.1.0 7a3cace net: hns3: refine mac address configure for PF

该问题,系早期版本问题。
4.19.90-2003.1.0 就已经修复。

将 issue 关闭,后期如有问题,请联系 @成坚 (CHENG Jian)

成坚 (CHENG Jian) changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(3)
5329419 openeuler ci bot 1632792936