1 /* SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2019-2021 Xilinx, Inc.
4 * Copyright(c) 2019 Solarflare Communications Inc.
6 * This software was jointly developed between OKTET Labs (under contract
7 * for Solarflare) and Solarflare Communications, Inc.
20 /** Number of enabled virtual functions */
22 /** PF and VFs vPorts configuration */
23 efx_vport_config_t *vport_config;
25 efx_vswitch_t *vswitch;
30 int sfc_sriov_attach(struct sfc_adapter *sa);
31 void sfc_sriov_detach(struct sfc_adapter *sa);
33 int sfc_sriov_vswitch_create(struct sfc_adapter *sa);
34 void sfc_sriov_vswitch_destroy(struct sfc_adapter *sa);
39 #endif /* _SFC_SRIOV_H */