summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <hramamurthy@google.com>2026-08-14 02:13:52 +0000
committerJakub Kicinski <kuba@kernel.org>2026-08-17 18:40:08 -0700
commit94afe5cebcd2bc32d774bfe603a8259680e9e870 (patch)
treefd9f9e5dca46e2625830f7c48a2a3a28ef76fb6a /tools/perf/scripts/python
parent063aeece6053c48832c4d12cff39fb0645383d28 (diff)
gve: refactor initialization with helper functions
In the interest of commonizing code, refactor gve_probe() and gve_init_priv() with a few helper functions that can be expanded and utilized in upcoming patches that add the mailbox ABI to the driver. The helper functions are: - gve_set_num_ntfy_blks() - gve_set_num_queues() Reorder code to combine lines that accomplish a similar objective like setting defaults. Move setting HW-GRO and UDP GSO support out of an Adminq method into gve_init_priv(). These changes are just code movement, no functional change. Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jordan Rhee <jordanrhee@google.com> Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/20260814021406.3044324-3-hramamurthy@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions