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.
13 #include <rte_bus_pci.h>
22 enum sfc_efx_dev_class {
23 SFC_EFX_DEV_CLASS_INVALID = 0,
24 SFC_EFX_DEV_CLASS_NET,
25 SFC_EFX_DEV_CLASS_VDPA,
31 enum sfc_efx_dev_class sfc_efx_dev_class_get(struct rte_devargs *devargs);
34 int sfc_efx_family(struct rte_pci_device *pci_dev,
35 efx_bar_region_t *mem_ebrp,
36 efx_family_t *family);
42 #endif /* _SFC_EFX_H_ */