summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorShailend Chand <shailend@google.com>2024-01-22 21:26:30 +0300
committerJakub Kicinski <kuba@kernel.org>2024-01-24 04:41:31 +0300
commit92a6d7a4010c3e84894f4fb7f481e648f0b12e53 (patch)
treedb9ebfaaddd3e09db4ca4154610fb56564ba3046 /tools/perf/scripts/python/exported-sql-viewer.py
parentf13697cc7a19225307d85b0a77ef1c15abe95a7d (diff)
downloadlinux-92a6d7a4010c3e84894f4fb7f481e648f0b12e53.tar.xz
gve: Refactor gve_open and gve_close
gve_open is rewritten to be composed of two funcs: gve_queues_mem_alloc and gve_queues_start. The former only allocates queue resources without doing anything to install the queues, which is taken up by the latter. Similarly gve_close is split into gve_queues_stop and gve_queues_mem_free. Separating the acts of queue resource allocation and making the queue become live help with subsequent changes that aim to not take down the datapath when applying new configurations. Signed-off-by: Shailend Chand <shailend@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Reviewed-by: Jeroen de Borst <jeroendb@google.com> Link: https://lore.kernel.org/r/20240122182632.1102721-5-shailend@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions