File Index
Files and directories
Sign in
FILE

stmmac_xdp.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/stmicro/stmmac/stmmac_xdp.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/* Copyright (c) 2021, Intel Corporation. */
 3
 4#ifndef _STMMAC_XDP_H_
 5#define _STMMAC_XDP_H_
 6
 7#define STMMAC_RX_DMA_ATTR	(DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_WEAK_ORDERING)
 8
 9int stmmac_xdp_setup_pool(struct stmmac_priv *priv, struct xsk_buff_pool *pool,
10			  u16 queue);
11int stmmac_xdp_set_prog(struct stmmac_priv *priv, struct bpf_prog *prog,
12			struct netlink_ext_ack *extack);
13
14#endif /* _STMMAC_XDP_H_ */
~/ Read-only file preview.