xref: /linux/drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h (revision de73b5a97bba1538f065e1e90d8eeac399db7510)
1 /* SPDX-License-Identifier: GPL-2.0
2  * Marvell OcteonTx2 RVU Ethernet driver
3  *
4  * Copyright (C) 2020 Marvell.
5  */
6 
7 #ifndef CN10K_H
8 #define CN10K_H
9 
10 #include "otx2_common.h"
11 
12 void cn10k_refill_pool_ptrs(void *dev, struct otx2_cq_queue *cq);
13 void cn10k_sqe_flush(void *dev, struct otx2_snd_queue *sq, int size, int qidx);
14 int cn10k_sq_aq_init(void *dev, u16 qidx, u16 sqb_aura);
15 int cn10k_pf_lmtst_init(struct otx2_nic *pf);
16 int cn10k_vf_lmtst_init(struct otx2_nic *vf);
17 #endif /* CN10K_H */
18