diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2026-04-03 12:09:24 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-04-07 13:34:04 +0200 |
| commit | 833e72645aac10e9ca9459c4740c417e5b04faf6 (patch) | |
| tree | 996c7438ec00610a3b9c96d41c62c4102aea4e65 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 1047e14b44edecbbab02a86514a083b8db9fde4d (diff) | |
net/mlx5e: XDP, Improve dma address calculation of linear part for XDP_TX
When calculating the dma address of the linear part of an XDP frame, the
formula assumes that there is a single XDP buffer per page. Extend the
formula to allow multiple XDP buffers per page by calculating the data
offset in the page.
This is a preparation for the upcoming removal of a single XDP buffer
per page limitation when the formula will no longer be correct.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260403090927.139042-3-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
