1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2021 Marvell.
4 #ifndef __CN10K_ETHDEV_H__
5 #define __CN10K_ETHDEV_H__
7 #include <cnxk_ethdev.h>
12 int64_t fc_cache_pkts;
16 uint16_t sqes_per_sqb_log2;
17 int16_t nb_sqb_bufs_adj;
20 } __plt_cache_aligned;
22 struct cn10k_eth_rxq {
23 uint64_t mbuf_initializer;
34 struct cnxk_timesync_info *tstamp;
35 } __plt_cache_aligned;
37 /* Rx and Tx routines */
38 void cn10k_eth_set_rx_function(struct rte_eth_dev *eth_dev);
39 void cn10k_eth_set_tx_function(struct rte_eth_dev *eth_dev);
41 #endif /* __CN10K_ETHDEV_H__ */