diff options
| author | Joe Damato <joe@dama.to> | 2026-04-08 16:05:53 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-12 10:54:32 -0700 |
| commit | 3cb430e62c83823b76fc7dc1aec8dc7bbf81a729 (patch) | |
| tree | 3e2e6811628da2487d42dd2a55c021f64b633f0a /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 637237d3d93cab7f183075f4fadbfbf62663c6f4 (diff) | |
net: bnxt: Use dma_unmap_len for TX completion unmapping
Store the DMA mapping length in each TX buffer descriptor via
dma_unmap_len_set at submit time, and use dma_unmap_len at completion
time.
This is a no-op for normal packets but prepares for software USO,
where header BDs set dma_unmap_len to 0 because the header buffer
is unmapped collectively rather than per-segment.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260408230607.2019402-5-joe@dama.to
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
