summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-04-21 15:28:21 -0700
committerPavel Begunkov <asml.silence@gmail.com>2026-01-14 02:13:37 +0000
commitc55bf90a2112d7a831d8427034b71ff9fbb78285 (patch)
treee98474cf1eeee92f8305d8db52cf1f34a420b498 /include
parentf57efb32aae1da5c0a25acf473ef4ab559894adf (diff)
eth: bnxt: adjust the fill level of agg queues with larger buffers
The driver tries to provision more agg buffers than header buffers since multiple agg segments can reuse the same header. The calculation / heuristic tries to provide enough pages for 65k of data for each header (or 4 frags per header if the result is too big). This calculation is currently global to the adapter. If we increase the buffer sizes 8x we don't want 8x the amount of memory sitting on the rings. Luckily we don't have to fill the rings completely, adjust the fill level dynamically in case particular queue has buffers larger than the global size. Signed-off-by: Jakub Kicinski <kuba@kernel.org> [pavel: rebase on top of agg_size_fac] Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions