File Index
Files and directories
Sign in
FILE

ionic_txrx.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/pensando/ionic/ionic_txrx.h C
 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
 7struct bpf_prog;
 8
 9void ionic_tx_flush(struct ionic_cq *cq);
10
11void ionic_rx_fill(struct ionic_queue *q, struct bpf_prog *xdp_prog);
12void ionic_rx_empty(struct ionic_queue *q);
13void ionic_tx_empty(struct ionic_queue *q);
14int ionic_rx_napi(struct napi_struct *napi, int budget);
15int ionic_tx_napi(struct napi_struct *napi, int budget);
16int ionic_txrx_napi(struct napi_struct *napi, int budget);
17netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev);
18
19bool ionic_rx_service(struct ionic_cq *cq);
20
21int ionic_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **xdp, u32 flags);
22#endif /* _IONIC_TXRX_H_ */
~/ Read-only file preview.