net/cnxk: support marking and VLAN tagging
[dpdk.git] / drivers / net / cnxk / cn10k_ethdev.h
index 08e11bb..8b6e0f2 100644 (file)
@@ -6,6 +6,19 @@
 
 #include <cnxk_ethdev.h>
 
+struct cn10k_eth_txq {
+       uint64_t send_hdr_w0;
+       uint64_t sg_w0;
+       int64_t fc_cache_pkts;
+       uint64_t *fc_mem;
+       uintptr_t lmt_base;
+       rte_iova_t io_addr;
+       uint16_t sqes_per_sqb_log2;
+       int16_t nb_sqb_bufs_adj;
+       uint64_t cmd[4];
+       uint64_t lso_tun_fmt;
+} __plt_cache_aligned;
+
 struct cn10k_eth_rxq {
        uint64_t mbuf_initializer;
        uintptr_t desc;
@@ -18,6 +31,11 @@ struct cn10k_eth_rxq {
        uint32_t available;
        uint16_t data_off;
        uint16_t rq;
+       struct cnxk_timesync_info *tstamp;
 } __plt_cache_aligned;
 
+/* Rx and Tx routines */
+void cn10k_eth_set_rx_function(struct rte_eth_dev *eth_dev);
+void cn10k_eth_set_tx_function(struct rte_eth_dev *eth_dev);
+
 #endif /* __CN10K_ETHDEV_H__ */