Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/hns3: fix processing link status message on PF
[ upstream commit 4a2f6ab ] The opcode of the link status notification message reported by the firmware is zero, it will be filtered out because driver treats it as already processed message. As a result, the PF can't update the link status in a timely manner. Because only VF can set opcode to zero when processing mailbox message, we add a judgment to make sure the PF messages will not be filtered out. Fixes: dbbbad2 ("net/hns3: fix VF handling LSC event in secondary process") Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
- Loading branch information