diff options
author | 2022-01-03 16:08:07 +0100 | |
---|---|---|
committer | 2022-01-05 19:46:32 -0800 | |
commit | 35b2e549894b7ef0b6e7f3a70c2ab75b767cfce9 (patch) | |
tree | 32a1813d431fd1875d576c44eb0f624d05802b5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xdp: Allow registering memory model without rxq reference (diff) | |
download | wireguard-linux-35b2e549894b7ef0b6e7f3a70c2ab75b767cfce9.tar.xz wireguard-linux-35b2e549894b7ef0b6e7f3a70c2ab75b767cfce9.zip |
page_pool: Add callback to init pages when they are allocated
Add a new callback function to page_pool that, if set, will be called every
time a new page is allocated. This will be used from bpf_test_run() to
initialise the page data with the data provided by userspace when running
XDP programs with redirect turned on.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/20220103150812.87914-3-toke@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions