diff options
| author | Christoph Paasch <cpaasch@openai.com> | 2026-06-01 09:15:21 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-03 00:12:31 +0300 |
| commit | 34d8c91a3d39e65c1709f741028c4f39a4c103ed (patch) | |
| tree | ba2c9e663574df5b6e7f86c2e58c18920dd37cc4 /include/linux/memory | |
| parent | cbadf6015e6b7920065b9cc53e8d0088a66b3a34 (diff) | |
| download | linux-34d8c91a3d39e65c1709f741028c4f39a4c103ed.tar.xz | |
net/mlx5e: DMA-sync earlier in mlx5e_skb_from_cqe_mpwrq_nonlinear
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.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Christoph Paasch <cpaasch@openai.com>
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260601061522.398044-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/memory')
0 files changed, 0 insertions, 0 deletions
