Commit 35ed884a authored by Yonglong Liu's avatar Yonglong Liu
Browse files

net: hns: fix fake link up on xge port

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8K7Q8


CVE: NA

----------------------------

If a xge port just connect with an optical module and no fiber,
it may have a fake link up because there may be interference on
the hardware. This patch adds an anti-shake to avoid the problem.
And the time of anti-shake is base on tests.

Fixes: b917078c ("net: hns: Add ACPI support to check SFP present")
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
parent cc8c90c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment