aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorRatheesh Kannoth <[email protected]>2023-08-24 08:33:01 +0530
committerDavid S. Miller <[email protected]>2023-08-25 10:09:40 +0100
commit49fa4b0d06705a24a81bb8be6eb175059b77f0a7 (patch)
tree456f1d75a20e4c32786d57db5397f8ede023181b /tools/perf/scripts/python/Perf-Trace-Util/lib
parent0aacec49c29e7c5b1487e859b0c0a42388c34092 (diff)
octeontx2-pf: fix page_pool creation fail for rings > 32k
octeontx2 driver calls page_pool_create() during driver probe() and fails if queue size > 32k. Page pool infra uses these buffers as shock absorbers for burst traffic. These pages are pinned down over time as working sets varies, due to the recycling nature of page pool, given page pool (currently) don't have a shrinker mechanism, the pages remain pinned down in ptr_ring. Instead of clamping page_pool size to 32k at most, limit it even more to 2k to avoid wasting memory. This have been tested on octeontx2 CN10KA hardware. TCP and UDP tests using iperf shows no performance regressions. Fixes: b2e3406a38f0 ("octeontx2-pf: Add support for page pool") Suggested-by: Alexander Lobakin <[email protected]> Reviewed-by: Sunil Goutham <[email protected]> Signed-off-by: Ratheesh Kannoth <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions