aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKevin Hao <[email protected]>2021-01-21 15:09:06 +0800
committerJakub Kicinski <[email protected]>2021-01-22 18:03:42 -0800
commitdb2805150a0f27c00ad286a29109397a7723adad (patch)
treeb24439b0670ed1e5ce7ba53eec29fc9d727b71f4 /tools/perf/scripts/python/exported-sql-viewer.py
parent7e0e63d09516e96994c879f07c5a3c3269d7015e (diff)
net: octeontx2: Make sure the buffer is 128 byte aligned
The octeontx2 hardware needs the buffer to be 128 byte aligned. But in the current implementation of napi_alloc_frag(), it can't guarantee the return address is 128 byte aligned even the request size is a multiple of 128 bytes, so we have to request an extra 128 bytes and use the PTR_ALIGN() to make sure that the buffer is aligned correctly. Fixes: 7a36e4918e30 ("octeontx2-pf: Use the napi_alloc_frag() to alloc the pool buffers") Reported-by: Subbaraya Sundeep <[email protected]> Signed-off-by: Kevin Hao <[email protected]> Tested-by: Subbaraya Sundeep <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions