summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorJoe Damato <joe@dama.to>2026-04-09 02:05:53 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-12 20:54:32 +0300
commit3cb430e62c83823b76fc7dc1aec8dc7bbf81a729 (patch)
tree3e2e6811628da2487d42dd2a55c021f64b633f0a /include/linux/errqueue.h
parent637237d3d93cab7f183075f4fadbfbf62663c6f4 (diff)
downloadlinux-3cb430e62c83823b76fc7dc1aec8dc7bbf81a729.tar.xz
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 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions