On 28 Aug 20:36, Christoph Paasch via B4 Relay wrote:
From: Christoph Paasch <cpaasch@xxxxxxxxxx> Doing the call to dma_sync_single_for_cpu() earlier will allow us to adjust headlen based on the actual size of the protocol headers. Doing this earlier means that we don't need to call mlx5e_copy_skb_header() anymore and rather can call skb_copy_to_linear_data() directly. Signed-off-by: Christoph Paasch <cpaasch@xxxxxxxxxx>
Reviewed-by: Saeed Mahameed <saeedm@xxxxxxxxxx>