Lines Matching refs:xdp_frame
54 static struct xdp_frame *
58 return tx_swbd->xdp_frame; in enetc_tx_swbd_get_xdp_frame()
83 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_free_tx_frame() local
89 if (xdp_frame) { in enetc_free_tx_frame()
90 xdp_return_frame(tx_swbd->xdp_frame); in enetc_free_tx_frame()
91 tx_swbd->xdp_frame = NULL; in enetc_free_tx_frame()
825 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_clean_tx_ring() local
849 if (xdp_frame) { in enetc_clean_tx_ring()
850 xdp_return_frame(xdp_frame); in enetc_clean_tx_ring()
1296 struct xdp_frame *xdp_frame) in enetc_xdp_frame_to_xdp_tx_swbd() argument
1300 void *data = xdp_frame->data; in enetc_xdp_frame_to_xdp_tx_swbd()
1301 int len = xdp_frame->len; in enetc_xdp_frame_to_xdp_tx_swbd()
1318 xdp_tx_swbd->xdp_frame = NULL; in enetc_xdp_frame_to_xdp_tx_swbd()
1322 if (!xdp_frame_has_frags(xdp_frame)) in enetc_xdp_frame_to_xdp_tx_swbd()
1327 shinfo = xdp_get_shared_info_from_frame(xdp_frame); in enetc_xdp_frame_to_xdp_tx_swbd()
1349 xdp_tx_swbd->xdp_frame = NULL; in enetc_xdp_frame_to_xdp_tx_swbd()
1356 xdp_tx_arr[n - 1].xdp_frame = xdp_frame; in enetc_xdp_frame_to_xdp_tx_swbd()
1362 struct xdp_frame **frames, u32 flags) in enetc_xdp_xmit()