| .. | .. |
|---|
| 10 | 10 | #ifndef BNXT_XDP_H |
|---|
| 11 | 11 | #define BNXT_XDP_H |
|---|
| 12 | 12 | |
|---|
| 13 | | -void bnxt_xmit_xdp(struct bnxt *bp, struct bnxt_tx_ring_info *txr, |
|---|
| 14 | | - dma_addr_t mapping, u32 len, u16 rx_prod); |
|---|
| 13 | +struct bnxt_sw_tx_bd *bnxt_xmit_bd(struct bnxt *bp, |
|---|
| 14 | + struct bnxt_tx_ring_info *txr, |
|---|
| 15 | + dma_addr_t mapping, u32 len); |
|---|
| 15 | 16 | void bnxt_tx_int_xdp(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts); |
|---|
| 16 | 17 | bool bnxt_rx_xdp(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 cons, |
|---|
| 17 | 18 | struct page *page, u8 **data_ptr, unsigned int *len, |
|---|
| 18 | 19 | u8 *event); |
|---|
| 19 | 20 | int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp); |
|---|
| 21 | +int bnxt_xdp_xmit(struct net_device *dev, int num_frames, |
|---|
| 22 | + struct xdp_frame **frames, u32 flags); |
|---|
| 20 | 23 | |
|---|
| 21 | 24 | #endif |
|---|