diff options
| author | Kevin Hao <[email protected]> | 2021-02-04 18:56:37 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-02-06 11:57:29 -0800 |
| commit | 1b041601c798a1a6bb3a651ce17aefd41979a1e2 (patch) | |
| tree | 3d937586e535d897a871c8ea14bf065dd8d9bae4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 3f6e687dff395da43b056c18150a423bc7bf5d14 (diff) | |
net: octeontx2: Use napi_alloc_frag_align() to avoid the memory waste
The napi_alloc_frag_align() will guarantee that a correctly align
buffer address is returned. So use this function to simplify the buffer
alloc and avoid the unnecessary memory waste.
Signed-off-by: Kevin Hao <[email protected]>
Tested-by: Subbaraya Sundeep <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions