#ifndef _EFX_DEVLINK_H
#define _EFX_DEVLINK_H
#include "net_driver.h"
#include <net/devlink.h>
#define EFX_DEVLINK_INFO_VERSION_FW_MGMT_SUC …
#define EFX_DEVLINK_INFO_VERSION_FW_MGMT_CMC …
#define EFX_DEVLINK_INFO_VERSION_FPGA_REV …
#define EFX_DEVLINK_INFO_VERSION_DATAPATH_HW …
#define EFX_DEVLINK_INFO_VERSION_DATAPATH_FW …
#define EFX_DEVLINK_INFO_VERSION_SOC_BOOT …
#define EFX_DEVLINK_INFO_VERSION_SOC_UBOOT …
#define EFX_DEVLINK_INFO_VERSION_SOC_MAIN …
#define EFX_DEVLINK_INFO_VERSION_SOC_RECOVERY …
#define EFX_DEVLINK_INFO_VERSION_FW_EXPROM …
#define EFX_DEVLINK_INFO_VERSION_FW_UEFI …
#define EFX_MAX_VERSION_INFO_LEN …
int efx_probe_devlink_and_lock(struct efx_nic *efx);
void efx_probe_devlink_unlock(struct efx_nic *efx);
void efx_fini_devlink_lock(struct efx_nic *efx);
void efx_fini_devlink_and_unlock(struct efx_nic *efx);
#ifdef CONFIG_SFC_SRIOV
struct efx_rep;
void ef100_pf_set_devlink_port(struct efx_nic *efx);
void ef100_rep_set_devlink_port(struct efx_rep *efv);
void ef100_pf_unset_devlink_port(struct efx_nic *efx);
void ef100_rep_unset_devlink_port(struct efx_rep *efv);
#endif
#endif