The unsigned vf->num_mac will be decreased to below zero and cause the VF port not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Undecided
|
Unassigned | ||
| Bionic |
Undecided
|
Unassigned | ||
| Cosmic |
Undecided
|
Unassigned |
Bug Description
The unsigned vf->num_mac in Ubuntu18.04.1 LTS i40e driver 2.1.14-k will be decreased to below zero when VF is trying to delete the MAC address which is added by PF and then add a new MAC address. And after this issue happens, VF won't be able to send/receive packets, and excepting for broadcast address, mac_filter_hash is empty in dumped VSI info.
Ubuntu18.04.1 LTS kernel: 4.15.0-38-generic
i40e driver: 2.1.14-k
i40evf driver: 3.0.1-k
Actual results:
The unsigned vf->num_mac should decrease to below zero. The VF port doesn't work.
Expected results:
The unsigned vf->num_mac range is from 0 to 65535;
or the vf is not allowed to delete the MAC addr which is added by PF
Corresponding Patch is required for resolving this i40e driver issue
i40e: Prevent deleting MAC address from VF when set by PF
https:/
affects: | ubuntu → linux (Ubuntu) |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1806845
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Alex Wang (alexwang-bkc) wrote : | #3 |
Here're the reproduce steps of this issue, also attached the errors in dmesg log which were triggered by this issue.
root@unassigned
driver: i40e
version: 2.1.14-k
firmware-version: 6.02 0x80003620 1.1747.0
expansion-
bus-info: 0000:18:00.0
supports-
supports-test: yes
supports-
supports-
supports-
root@unassigned
root@unassigned
root@unassigned
root@unassigned
information type: | Public → Private |
Kai-Heng Feng (kaihengfeng) wrote : | #4 |
I think we need to apply the entire series as one. So I guess we need all these commits?
5907cf6c5bbe78b
babbcc60040abfb
5cba17b14182696
3bd77e2ae1477d6
e78d9a39fd06109
Launchpad Janitor (janitor) wrote : | #5 |
[Expired for linux (Ubuntu) because there has been no activity for 60 days.]
Changed in linux (Ubuntu): | |
status: | Incomplete → Expired |
Brad Figg (brad-figg) wrote : | #6 |
@qanxian,
Why did you mark this bug private?
This can be made public bug.
quanxian (quanxian-wang) wrote : | #8 |
I have changed it to public. I don't find why I change it to private. Sorry.
information type: | Private → Public |
Changed in linux (Ubuntu): | |
status: | Expired → Confirmed |
tags: | added: cscc |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1806845/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]