Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Open Source
>
Other
>
Operation System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
458
Star
1.7K
Fork
1.9K
GVP
openEuler
/
kernel
Closed
Code
Issues
1271
Pull Requests
991
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
【openEuler-1.0-LTS/OLK-5.10/OLK-6.6】hns3网卡驱动在动态vlan模式下,可能出现VF无法收到带vlan报文的问题。
Done
#I9D6UN
Bug
Yonglong Liu
Opened this issue
2024-04-01 12:00
**【标题描述】** hns3网卡在开启动态vlan模式下(云核场景),PF配置了vlan,对于未配置vlan的VF,收不到带vlan的报文。 **【环境信息】** 硬件信息 - E9000H 软件信息 - hns3当前版本均涉及 网络信息 - 如果有特殊组网,请提供网络拓扑信息  **【问题复现步骤】** 实际可以无需组bond。需在E9000H场景,通用服务器不涉及。 快速复现方法如下: 1、使能1个VF 2、选择一个PF移除驱动: echo 1 > /sys/bus/pci/devices/0000\:bd\:00.0/remove 3、重新加载驱动并立刻配置vlan: echo 1 > /sys/bus/pci/rescan ;ip link add link enp189s0f0 name vlan.300 type vlan id 300 4、预期结果,VF可以收到vlan 200(举例)的报文。 **【实际结果】** VF无法收到vlan 200的报文。 **【其他相关附件信息】** 可以通过网卡的debugfs确认问题发生: cat /sys/kernel/debug/hns3/0000\:bd\:00.0/vlan_config | grep I_PORT 异常值: I_PORT_VLAN_FILTER: on 正常值: I_PORT_VLAN_FILTER: off
**【标题描述】** hns3网卡在开启动态vlan模式下(云核场景),PF配置了vlan,对于未配置vlan的VF,收不到带vlan的报文。 **【环境信息】** 硬件信息 - E9000H 软件信息 - hns3当前版本均涉及 网络信息 - 如果有特殊组网,请提供网络拓扑信息  **【问题复现步骤】** 实际可以无需组bond。需在E9000H场景,通用服务器不涉及。 快速复现方法如下: 1、使能1个VF 2、选择一个PF移除驱动: echo 1 > /sys/bus/pci/devices/0000\:bd\:00.0/remove 3、重新加载驱动并立刻配置vlan: echo 1 > /sys/bus/pci/rescan ;ip link add link enp189s0f0 name vlan.300 type vlan id 300 4、预期结果,VF可以收到vlan 200(举例)的报文。 **【实际结果】** VF无法收到vlan 200的报文。 **【其他相关附件信息】** 可以通过网卡的debugfs确认问题发生: cat /sys/kernel/debug/hns3/0000\:bd\:00.0/vlan_config | grep I_PORT 异常值: I_PORT_VLAN_FILTER: on 正常值: I_PORT_VLAN_FILTER: off
Comments (
2
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
Labels
sig/Kernel
Not set
Projects
Unprojected
Unprojected
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(3)
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register