aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_vlan_mode.c
diff options
context:
space:
mode:
authorJustin Iurman <justin.iurman@uliege.be>2022-02-02 15:25:54 +0100
committerJakub Kicinski <kuba@kernel.org>2022-02-04 20:24:45 -0800
commit08731d30e78e3a5d01c092ddfa1fb94697b9b222 (patch)
treea166b55bda9d4f78e6d9ad400c5c042dba086d87 /drivers/net/ethernet/intel/ice/ice_vlan_mode.c
parentuapi: ioam: Insertion frequency (diff)
downloadlinux-dev-08731d30e78e3a5d01c092ddfa1fb94697b9b222.tar.xz
linux-dev-08731d30e78e3a5d01c092ddfa1fb94697b9b222.zip
ipv6: ioam: Insertion frequency in lwtunnel output
Add support for the IOAM insertion frequency inside its lwtunnel output function. This patch introduces a new (atomic) counter for packets, based on which the algorithm will decide if IOAM should be added or not. Default frequency is "1/1" (i.e., applied to all packets) for backward compatibility. The iproute2 patch is ready and will be submitted as soon as this one is accepted. Previous iproute2 command: ip -6 ro ad fc00::1/128 encap ioam6 [ mode ... ] ... New iproute2 command: ip -6 ro ad fc00::1/128 encap ioam6 [ freq k/n ] [ mode ... ] ... Signed-off-by: Justin Iurman <justin.iurman@uliege.be> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_vlan_mode.c')
0 files changed, 0 insertions, 0 deletions