Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.12 24 lines 834 B view raw
1/* Broadcom NetXtreme-C/E network driver. 2 * 3 * Copyright (c) 2016-2017 Broadcom Limited 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation. 8 */ 9 10#ifndef BNXT_XDP_H 11#define BNXT_XDP_H 12 13struct bnxt_sw_tx_bd *bnxt_xmit_bd(struct bnxt *bp, 14 struct bnxt_tx_ring_info *txr, 15 dma_addr_t mapping, u32 len); 16void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts); 17bool bnxt_rx_xdp(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, 18 struct page *page, u8 **data_ptr, unsigned int *len, 19 u8 *event); 20int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp); 21int bnxt_xdp_xmit(struct net_device *dev, int num_frames, 22 struct xdp_frame **frames, u32 flags); 23 24#endif