diff options
| author | Shinas Rasheed <[email protected]> | 2023-09-13 01:41:56 -0700 | 
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-09-15 13:50:52 +0100 | 
| commit | 350db8a59eb392bf42e62b6b2a37d56b5833012b (patch) | |
| tree | f9a0ec6685ed5a1459685d494da76392368a1390 /tools/testing/selftests/bpf/prog_tests/nested_trust.c | |
| parent | e0b65f9b81fef180cf5f103adecbe5505c961153 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/nested_trust.c')
0 files changed, 0 insertions, 0 deletions