xref: /linux/drivers/net/ethernet/pensando/ionic/ionic_txrx.h (revision 56fb34d86e875dbb0d3e6a81c5d3d035db373031)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
3 
4 #ifndef _IONIC_TXRX_H_
5 #define _IONIC_TXRX_H_
6 
7 void ionic_rx_flush(struct ionic_cq *cq);
8 void ionic_tx_flush(struct ionic_cq *cq);
9 
10 void ionic_rx_fill(struct ionic_queue *q);
11 void ionic_rx_empty(struct ionic_queue *q);
12 int ionic_rx_napi(struct napi_struct *napi, int budget);
13 netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev);
14 
15 #endif /* _IONIC_TXRX_H_ */
16