Lines Matching refs:xdpf

1717 		xdp_return_frame(swbp->xdpf);
2198 struct xdp_frame *new_xdpf, *xdpf = *init_xdpf;
2205 * enough to store the xdpf backpointer. Use an aligned headroom
2212 if (PTR_IS_ALIGNED(xdpf->data, DPAA_FD_DATA_ALIGNMENT) &&
2213 xdpf->headroom >= priv->tx_headroom) {
2214 xdpf->headroom = priv->tx_headroom;
2219 * store the xdpf backpointer. If the available headroom isn't large
2222 aligned_data = PTR_ALIGN_DOWN(xdpf->data, DPAA_FD_DATA_ALIGNMENT);
2223 data_shift = xdpf->data - aligned_data;
2226 * shifting the data as well as storing the xdpf backpointer.
2228 if (xdpf->headroom >= data_shift + priv->tx_headroom) {
2229 memmove(aligned_data, xdpf->data, xdpf->len);
2230 xdpf->data = aligned_data;
2231 xdpf->headroom = priv->tx_headroom;
2246 if (headroom + xdpf->len > DPAA_BP_RAW_SIZE -
2256 memcpy(new_buff + headroom, xdpf->data, xdpf->len);
2263 new_xdpf->len = xdpf->len;
2269 xdp_return_frame_rx_napi(xdpf);
2495 struct xdp_frame *xdpf)
2512 if (dpaa_a050385_wa_xdpf(priv, &xdpf)) {
2519 if (xdpf->headroom < DPAA_TX_PRIV_DATA_SIZE) {
2524 buff_start = xdpf->data - xdpf->headroom;
2531 swbp->xdpf = xdpf;
2536 qm_fd_set_contig(&fd, xdpf->headroom, xdpf->len);
2539 xdpf->headroom + xdpf->len,
2572 struct xdp_frame *xdpf;
2588 * xdpf backpointer on TX, we will need to copy the data.
2620 xdpf = xdp_convert_buff_to_frame(&xdp);
2621 if (unlikely(!xdpf)) {
2626 if (dpaa_xdp_xmit_frame(priv->net_dev, xdpf))
2627 xdp_return_frame_rx_napi(xdpf);
3048 struct xdp_frame *xdpf;
3058 xdpf = frames[i];
3059 if (dpaa_xdp_xmit_frame(net_dev, xdpf))