summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJustin Iurman <justin.iurman@uliege.be>2021-10-03 21:45:36 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-04 14:53:35 +0300
commit52d03786459a7cf4d63a68146409f7a2088aefb2 (patch)
tree56b454364afa8c04e153d0b49073d6cc64575697 /tools/perf/scripts/python/export-to-sqlite.py
parent9ac936276f8628ef5765bcc2ca7138a803de8aff (diff)
downloadlinux-52d03786459a7cf4d63a68146409f7a2088aefb2.tar.xz
ipv6: ioam: Distinguish input and output for hop-limit
This patch anticipates the support for the IOAM insertion inside in-transit packets, by making a difference between input and output in order to determine the right value for its hop-limit (inherited from the IPv6 hop-limit). Input case: happens before ip6_forward, the IPv6 hop-limit is not decremented yet -> decrement the IOAM hop-limit to reflect the new hop inside the trace. Output case: happens after ip6_forward, the IPv6 hop-limit has already been decremented -> keep the same value for the IOAM hop-limit. Signed-off-by: Justin Iurman <justin.iurman@uliege.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions