1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2015-2020
6 * @file rte_pmd_txgbe.h
7 * txgbe PMD specific functions.
14 #include <rte_compat.h>
15 #include <rte_ethdev.h>
16 #include <rte_ether.h>
19 * Response sent back to txgbe driver from user app after callback
21 enum rte_pmd_txgbe_mb_event_rsp {
22 RTE_PMD_TXGBE_MB_EVENT_NOOP_ACK, /**< skip mbox request and ACK */
23 RTE_PMD_TXGBE_MB_EVENT_NOOP_NACK, /**< skip mbox request and NACK */
24 RTE_PMD_TXGBE_MB_EVENT_PROCEED, /**< proceed with mbox request */
25 RTE_PMD_TXGBE_MB_EVENT_MAX /**< max value of this enum */
29 * Data sent to the user application when the callback is executed.
31 struct rte_pmd_txgbe_mb_event_param {
32 uint16_t vfid; /**< Virtual Function number */
33 uint16_t msg_type; /**< VF to PF message type, defined in txgbe_mbx.h */
34 uint16_t retval; /**< return value */
35 void *msg; /**< pointer to message */
37 #endif /* _PMD_TXGBE_H_ */