diff options
author | Yonglong Liu <liuyonglong@huawei.com> | 2023-12-04 22:32:32 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-06 12:19:08 +0100 |
commit | f708aba40f9c1eeb9c7e93ed4863b5f85b09b288 (patch) | |
tree | e4dff6a865dbd7bf609cdc963b151e36484c0c79 /lib/memory-notifier-error-inject.c | |
parent | 84757d0839451b20b11e993128f0a77393ca50c1 (diff) |
net: hns: fix fake link up on xge port
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: b917078c1c10 ("net: hns: Add ACPI support to check SFP present")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions