diff options
author | Camelia Groza <[email protected]> | 2021-02-04 18:49:27 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-02-05 19:58:34 -0800 |
commit | c2b0e8455eb76135f505dda81a8869e60f37a861 (patch) | |
tree | b579796af62adad052a17f55e475ed88c26dc281 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 275a9c72b420e5051b0e92e49b26bef06c196f29 (diff) |
dpaa_eth: reduce data alignment requirements for the A050385 erratum
The 256 byte data alignment is required for preventing DMA transaction
splits when crossing 4K page boundaries. Since XDP deals only with page
sized buffers or less, this restriction isn't needed. Instead, the data
only needs to be aligned to 64 bytes to prevent DMA transaction splits.
These lessened restrictions can increase performance by widening the pool
of permitted data alignments and preventing unnecessary realignments.
Fixes: ae680bcbd06a ("dpaa_eth: implement the A050385 erratum workaround for XDP")
Signed-off-by: Camelia Groza <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]>
Acked-by: Madalin Bucur <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions