net/dpaa: support FMCless mode
[dpdk.git] / drivers / net / ark / ark_ethdev_tx.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2015-2018 Atomic Rules LLC
3  */
4
5 #ifndef _ARK_ETHDEV_TX_H_
6 #define _ARK_ETHDEV_TX_H_
7
8 #include <stdint.h>
9
10 #include <rte_ethdev_driver.h>
11
12
13 uint16_t eth_ark_xmit_pkts_noop(void *vtxq,
14                                 struct rte_mbuf **tx_pkts,
15                                 uint16_t nb_pkts);
16 uint16_t eth_ark_xmit_pkts(void *vtxq,
17                            struct rte_mbuf **tx_pkts,
18                            uint16_t nb_pkts);
19 int eth_ark_tx_queue_setup(struct rte_eth_dev *dev,
20                            uint16_t queue_idx,
21                            uint16_t nb_desc,
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);
29
30 #endif