diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-03-06 17:51:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-08 06:37:37 +0300 |
commit | 6cbf18a05c06090d867ef417a2a30b214d42d171 (patch) | |
tree | 6058611352fdb986bd44655bf4269435b046d0de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bfb522f347df2d1fefc43f7b42e361321bc010d9 (diff) | |
download | linux-6cbf18a05c06090d867ef417a2a30b214d42d171.tar.xz |
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