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 #define SFC_EFX_KVARG_DEV_CLASS "class"
24 enum sfc_efx_dev_class {
25 SFC_EFX_DEV_CLASS_INVALID = 0,
26 SFC_EFX_DEV_CLASS_NET,
27 SFC_EFX_DEV_CLASS_VDPA,
33 enum sfc_efx_dev_class sfc_efx_dev_class_get(struct rte_devargs *devargs);
36 int sfc_efx_family(struct rte_pci_device *pci_dev,
37 efx_bar_region_t *mem_ebrp,
38 efx_family_t *family);
44 #endif /* _SFC_EFX_H_ */