Commit 736c28a6 authored by Yonglong Liu's avatar Yonglong Liu Committed by Jiantao Xiao
Browse files

net: hns: fix fake link up on xge port

maillist inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8K7Q8
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=f708aba40f9c1eeb9c7e93ed4863b5f85b09b288



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

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 2014c79b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment