ionic_txrx.h (745B)
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 7void ionic_tx_flush(struct ionic_cq *cq); 8 9void ionic_rx_fill(struct ionic_queue *q); 10void ionic_rx_empty(struct ionic_queue *q); 11void ionic_tx_empty(struct ionic_queue *q); 12int ionic_rx_napi(struct napi_struct *napi, int budget); 13int ionic_tx_napi(struct napi_struct *napi, int budget); 14int ionic_txrx_napi(struct napi_struct *napi, int budget); 15netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev); 16 17bool ionic_rx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info); 18bool ionic_tx_service(struct ionic_cq *cq, struct ionic_cq_info *cq_info); 19 20#endif /* _IONIC_TXRX_H_ */