diff options
author | 2025-03-06 06:51:50 -0800 | |
---|---|---|
committer | 2025-03-07 19:37:37 -0800 | |
commit | 6cbf18a05c06090d867ef417a2a30b214d42d171 (patch) | |
tree | 6058611352fdb986bd44655bf4269435b046d0de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eth: fbnic: fix typo in compile assert (diff) | |
download | linux-rng-6cbf18a05c06090d867ef417a2a30b214d42d171.tar.xz linux-rng-6cbf18a05c06090d867ef417a2a30b214d42d171.zip |
eth: fbnic: support ring size configuration
Support ethtool -g / -G. Leverage the code added for -l / -L
to alloc / stop / start / free.
Check parameters against HW min/max but also our own min/max.
Min HW queue is 16 entries, we can't deal with TWQs that small
because of the queue waking logic. Add similar contraint on RCQ
for symmetry.
We need 3 sizes on Rx, as the NIC does header-data split two separate
buffer pools:
(1) head page ring - how many empty pages we post for headers
(2) payload page ring - how many empty pages we post for payloads
(3) completion ring - where NIC produces the Rx descriptors
Acked-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250306145150.1757263-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions