1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2015-2018 Atomic Rules LLC
5 #ifndef _ARK_ETHDEV_TX_H_
6 #define _ARK_ETHDEV_TX_H_
10 #include <rte_ethdev_driver.h>
13 uint16_t eth_ark_xmit_pkts_noop(void *vtxq,
14 struct rte_mbuf **tx_pkts,
16 uint16_t eth_ark_xmit_pkts(void *vtxq,
17 struct rte_mbuf **tx_pkts,
19 int eth_ark_tx_queue_setup(struct rte_eth_dev *dev,
22 unsigned int socket_id,
23 const struct rte_eth_txconf *tx_conf);
24 void eth_ark_tx_queue_release(void *vtx_queue);
25 int eth_ark_tx_queue_stop(struct rte_eth_dev *dev, uint16_t queue_id);
26 int eth_ark_tx_queue_start(struct rte_eth_dev *dev, uint16_t queue_id);
27 void eth_tx_queue_stats_get(void *vqueue, struct rte_eth_stats *stats);
28 void eth_tx_queue_stats_reset(void *vqueue);