mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add link update flow to wangxun 10/25/40G 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-9-mengyuanlou@net-swift.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
22 lines
784 B
C
22 lines
784 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _WX_VF_COMMON_H_
|
|
#define _WX_VF_COMMON_H_
|
|
|
|
int wxvf_suspend(struct device *dev_d);
|
|
void wxvf_shutdown(struct pci_dev *pdev);
|
|
int wxvf_resume(struct device *dev_d);
|
|
void wxvf_remove(struct pci_dev *pdev);
|
|
int wx_request_msix_irqs_vf(struct wx *wx);
|
|
void wx_negotiate_api_vf(struct wx *wx);
|
|
void wx_reset_vf(struct wx *wx);
|
|
void wx_set_rx_mode_vf(struct net_device *netdev);
|
|
void wx_configure_vf(struct wx *wx);
|
|
int wx_set_mac_vf(struct net_device *netdev, void *p);
|
|
void wxvf_watchdog_update_link(struct wx *wx);
|
|
int wxvf_open(struct net_device *netdev);
|
|
int wxvf_close(struct net_device *netdev);
|
|
void wxvf_init_service(struct wx *wx);
|
|
|
|
#endif /* _WX_VF_COMMON_H_ */
|