numam-dpdk/lib/node/ethdev_tx_priv.h
Stephen Hemminger 4a6672c2d3 fix spelling in comments and doxygen
Fix spelling errors in comments including doxygen found using codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
2021-11-16 17:57:09 +01:00

55 lines
1.1 KiB
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Marvell International Ltd.
*/
#ifndef __INCLUDE_ETHDEV_TX_PRIV_H__
#define __INCLUDE_ETHDEV_TX_PRIV_H__
struct ethdev_tx_node_ctx;
typedef struct ethdev_tx_node_ctx ethdev_tx_node_ctx_t;
enum ethdev_tx_next_nodes {
ETHDEV_TX_NEXT_PKT_DROP,
ETHDEV_TX_NEXT_MAX,
};
/**
* @internal
*
* Ethernet Tx node context structure.
*/
struct ethdev_tx_node_ctx {
uint16_t port; /**< Port identifier of the Ethernet Tx node. */
uint16_t queue; /**< Queue identifier of the Ethernet Tx node. */
};
/**
* @internal
*
* Ethernet Tx node main structure.
*/
struct ethdev_tx_node_main {
uint32_t nodes[RTE_MAX_ETHPORTS]; /**< Tx nodes for each ethdev port. */
};
/**
* @internal
*
* Get the Ethernet Tx node data.
*
* @return
* Pointer to Ethernet Tx node data.
*/
struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
/**
* @internal
*
* Get the Ethernet Tx node.
*
* @return
* Pointer to the Ethernet Tx node.
*/
struct rte_node_register *ethdev_tx_node_get(void);
#endif /* __INCLUDE_ETHDEV_TX_PRIV_H__ */