summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorShinas Rasheed <srasheed@marvell.com>2023-09-13 10:41:56 +0200
committerDavid S. Miller <davem@davemloft.net>2023-09-15 14:50:52 +0200
commit350db8a59eb392bf42e62b6b2a37d56b5833012b (patch)
treef9a0ec6685ed5a1459685d494da76392368a1390 /tools
parentnet: thunderbolt: Fix TCPv6 GSO checksum calculation (diff)
downloadlinux-350db8a59eb392bf42e62b6b2a37d56b5833012b.tar.xz
linux-350db8a59eb392bf42e62b6b2a37d56b5833012b.zip
octeon_ep: fix tx dma unmap len values in SG
Lengths of SG pointers are kept in the following order in the SG entries in hardware. 63 48|47 32|31 16|15 0 ----------------------------------------- | Len 0 | Len 1 | Len 2 | Len 3 | ----------------------------------------- | Ptr 0 | ----------------------------------------- | Ptr 1 | ----------------------------------------- | Ptr 2 | ----------------------------------------- | Ptr 3 | ----------------------------------------- Dma pointers have to be unmapped based on their respective lengths given in this format. Fixes: 37d79d059606 ("octeon_ep: add Tx/Rx processing and interrupt support") Signed-off-by: Shinas Rasheed <srasheed@marvell.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions