summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMina Almasry <almasrymina@google.com>2024-02-15 01:34:03 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-02-20 11:22:58 +0300
commit21d2e6737c9789aa9b23c8a4131cbca8260139fd (patch)
tree1b4f042cb1272aa4fb9fbefa7c9db26a33708804 /tools/perf/scripts/python/export-to-postgresql.py
parent18ddbf5cf0e7553fd05c3e1a02d740514ee3f0a6 (diff)
downloadlinux-21d2e6737c9789aa9b23c8a4131cbca8260139fd.tar.xz
net: add netmem to skb_frag_t
Use struct netmem* instead of page in skb_frag_t. Currently struct netmem* is always a struct page underneath, but the abstraction allows efforts to add support for skb frags not backed by pages. There is unfortunately 1 instance where the skb_frag_t is assumed to be a exactly a bio_vec in kcm. For this case, WARN_ON_ONCE and return error before doing a cast. Add skb[_frag]_fill_netmem_*() and skb_add_rx_frag_netmem() helpers so that the API can be used to create netmem skbs. Signed-off-by: Mina Almasry <almasrymina@google.com> Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions