Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
773 B
C
23 lines
773 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright(c) 2017 - 2019 Pensando Systems, Inc */
|
|
|
|
#ifndef _IONIC_TXRX_H_
|
|
#define _IONIC_TXRX_H_
|
|
|
|
struct bpf_prog;
|
|
|
|
void ionic_tx_flush(struct ionic_cq *cq);
|
|
|
|
void ionic_rx_fill(struct ionic_queue *q, struct bpf_prog *xdp_prog);
|
|
void ionic_rx_empty(struct ionic_queue *q);
|
|
void ionic_tx_empty(struct ionic_queue *q);
|
|
int ionic_rx_napi(struct napi_struct *napi, int budget);
|
|
int ionic_tx_napi(struct napi_struct *napi, int budget);
|
|
int ionic_txrx_napi(struct napi_struct *napi, int budget);
|
|
netdev_tx_t ionic_start_xmit(struct sk_buff *skb, struct net_device *netdev);
|
|
|
|
bool ionic_rx_service(struct ionic_cq *cq);
|
|
|
|
int ionic_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **xdp, u32 flags);
|
|
#endif /* _IONIC_TXRX_H_ */
|