2022-06-25 06:58:07 |
Fred Kimmy |
description |
[Bug Description]
dmesg show “Add port vlan failed.” and “PF failed(-22) to config VF’s VLAN” . Actually, the VLAN is successfully created. This led to an error in judgment.
[Steps to Reproduce]
1)echo 1 > /sys/class/net/<ethx>/device/sriov_numvfs
2)ip link set dev <pf_name> vf 0 vlan 1
3)
[Actual Results]
[Expected Results]
Not error print, VLAN creat success.
[Reproducibility]
must appear
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required2022053108513):
kernel version Linux ubuntu 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:28:43 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
[Resolution]
net: hns3: remove unnecessary updating port based VLAN
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=132023de7149e7dde4b457328cb233dc58561b54) |
[Bug Description]
dmesg show “Add port vlan failed.” and “PF failed(-22) to config VF’s VLAN” . Actually, the VLAN is successfully created. This led to an error in judgment.
[Steps to Reproduce]
1)echo 1 > /sys/class/net/<ethx>/device/sriov_numvfs
2)ip link set dev <pf_name> vf 0 vlan 1
3)
[Actual Results]
hns30000:7d:00.0:Add port vlan failed, vport 1 is already in vlan 1
hns30000:7d:00.0:PF failed(-22)to config VF‘s VLAN
[Expected Results]
Not error print, VLAN creat success.
[Reproducibility]
must appear
[Additional information]
(Firmware version, kernel version, affected hardware, etc. if required2022053108513):
kernel version Linux ubuntu 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:28:43 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
[Resolution]
net: hns3: remove unnecessary updating port based VLAN
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=132023de7149e7dde4b457328cb233dc58561b54) |
|