net: ngbevf: add link update flow
authorMengyuan Lou <mengyuanlou@net-swift.com>
Fri, 4 Jul 2025 09:49:23 +0000 (17:49 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 01:39:14 +0000 (18:39 -0700)
commitcfeedf6a420d673078062995218457c6e3c4e6c3
treeb5ccffb708955878600c21c8b4d3b0648a593616
parent0f71e3a6e59daa000bcebdbeab6bafda3747f3f9
net: ngbevf: add link update flow

Add link update flow to wangxun 1G virtual functions.
Get link status from pf in mbox, and if it is failed then
check the vx_status, because vx_status switching is too slow.

Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Link: https://patch.msgid.link/20250704094923.652-13-mengyuanlou@net-swift.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/ngbevf/ngbevf_main.c