#include <rte_ethdev.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**< @internal Declaration of the hairpin peer queue information structure. */
struct rte_hairpin_peer_info;
/**< Get representor info. */
};
-/**
- * RX/TX queue states
- */
-#define RTE_ETH_QUEUE_STATE_STOPPED 0
-#define RTE_ETH_QUEUE_STATE_STARTED 1
-#define RTE_ETH_QUEUE_STATE_HAIRPIN 2
-
/**
* @internal
* Check if the selected Rx queue is hairpin queue.
uint16_t queue_id; /**< Queue assigned to if match. */
};
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _RTE_ETHDEV_DRIVER_H_ */