summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJustin Iurman <justin.iurman@uliege.be>2024-12-03 15:49:42 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-12-05 13:15:56 +0300
commit0600cf40e9b36fe17f9c9f04d4f9cef249eaa5e7 (patch)
tree86554f013db7d48c72b1435a521497021ba996b7 /tools/perf/scripts/python/export-to-sqlite.py
parent152d00a913969514967ad3f962b3b1c8983eb2d7 (diff)
downloadlinux-0600cf40e9b36fe17f9c9f04d4f9cef249eaa5e7.tar.xz
include: net: add static inline dst_dev_overhead() to dst.h
Add static inline dst_dev_overhead() function to include/net/dst.h. This helper function is used by ioam6_iptunnel, rpl_iptunnel and seg6_iptunnel to get the dev's overhead based on a cache entry (dst_entry). If the cache is empty, the default and generic value skb->mac_len is returned. Otherwise, LL_RESERVED_SPACE() over dst's dev is returned. Signed-off-by: Justin Iurman <justin.iurman@uliege.be> Cc: Alexander Lobakin <aleksander.lobakin@intel.com> Cc: Vadim Fedorenko <vadim.fedorenko@linux.dev> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions