net/mlx5e: RX, Prefetch the xdp_frame data area
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / en_rx.c
index e33ca03b21009c00d2f07f37abdfb9d4cbf8702d..15d8ae28c040c17e50d37928adac65ead8311893 100644 (file)
@@ -1099,6 +1099,7 @@ mlx5e_skb_from_cqe_mpwrq_linear(struct mlx5e_rq *rq, struct mlx5e_mpw_info *wi,
 
        dma_sync_single_range_for_cpu(rq->pdev, di->addr, head_offset,
                                      frag_size, DMA_FROM_DEVICE);
+       prefetchw(va); /* xdp_frame data area */
        prefetch(data);
 
        rcu_read_lock();