aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2024-12-03 18:37:29 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-05 18:41:07 -0800
commite77d9aee951341119be16a991fcfc76d1154d22a (patch)
treeb3e371b4fa06e8e841f752f05795c6c43e4564a1 /tools/perf/scripts/python/exported-sql-viewer.py
parentxsk: allow attaching XSk pool via xdp_rxq_info_reg_mem_model() (diff)
downloadlinux-e77d9aee951341119be16a991fcfc76d1154d22a.tar.gz
linux-e77d9aee951341119be16a991fcfc76d1154d22a.zip
xdp: register system page pool as an XDP memory model
To make the system page pool usable as a source for allocating XDP frames, we need to register it with xdp_reg_mem_model(), so that page return works correctly. This is done in preparation for using the system page_pool to convert XDP_PASS XSk frames to skbs; for the same reason, make the per-cpu variable non-static so we can access it from other source files as well (but w/o exporting). Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://patch.msgid.link/20241203173733.3181246-7-aleksander.lobakin@intel.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