net: ipv6: ioam6: new feature tunsrc
authorJustin Iurman <justin.iurman@uliege.be>
Sat, 17 Aug 2024 13:18:18 +0000 (15:18 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 22 Aug 2024 08:45:12 +0000 (10:45 +0200)
commit273f8c142003dfd874d45b1a60965809e95ccd50
treed4c9555f08c360d00f38eaf3904ac4ce50847368
parent924b8bea870b4968cec4784676e6b27597e25d01
net: ipv6: ioam6: new feature tunsrc

This patch provides a new feature (i.e., "tunsrc") for the tunnel (i.e.,
"encap") mode of ioam6. Just like seg6 already does, except it is
attached to a route. The "tunsrc" is optional: when not provided (by
default), the automatic resolution is applied. Using "tunsrc" when
possible has a benefit: performance. See the comparison:
 - before (= "encap" mode): https://ibb.co/bNCzvf7
 - after (= "encap" mode with "tunsrc"): https://ibb.co/PT8L6yq

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/uapi/linux/ioam6_iptunnel.h
net/ipv6/ioam6_iptunnel.c