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.
15 #include <rte_ethdev.h>
23 /** Max count of the representor Rx queues */
24 #define SFC_REPR_RXQ_MAX 1
26 /** Max count of the representor Tx queues */
27 #define SFC_REPR_TXQ_MAX 1
29 struct sfc_repr_entity_info {
30 enum rte_eth_representor_type type;
31 efx_pcie_interface_t intf;
36 int sfc_repr_create(struct rte_eth_dev *parent,
37 struct sfc_repr_entity_info *entity,
38 uint16_t switch_domain_id,
39 const efx_mport_sel_t *mport_sel);
44 #endif /* _SFC_REPR_H */