[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220126184628.26013-1-justin.iurman@uliege.be>
Date: Wed, 26 Jan 2022 19:46:26 +0100
From: Justin Iurman <justin.iurman@...ege.be>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, yoshfuji@...ux-ipv6.org,
dsahern@...nel.org, justin.iurman@...ege.be
Subject: [PATCH net-next 0/2] Support for the IOAM insertion frequency
The insertion frequency is represented as "k/n", meaning IOAM will be
added to {k} packets over {n} packets, with 0 < k <= n and 1 <= {k,n} <=
1000000. Therefore, it provides the following percentages of insertion
frequency: [0.0001% (min) ... 100% (max)].
Not only this solution allows an operator to apply dynamic frequencies
based on the current traffic load, but it also provides some
flexibility, i.e., by distinguishing similar cases (e.g., "1/2" and
"2/4").
"1/2" = Y N Y N Y N Y N ...
"2/4" = Y Y N N Y Y N N ...
Justin Iurman (2):
uapi: ioam: Insertion frequency
ipv6: ioam: Insertion frequency in lwtunnel output
include/uapi/linux/ioam6_iptunnel.h | 9 +++++
net/ipv6/ioam6_iptunnel.c | 57 ++++++++++++++++++++++++++++-
2 files changed, 64 insertions(+), 2 deletions(-)
--
2.25.1
Powered by blists - more mailing lists