[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 2 Feb 2022 15:25:52 +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 v2 0/2] Support for the IOAM insertion frequency
v2:
- signed -> unsigned (for "k" and "n")
- keep binary compatibility by moving "k" and "n" at the end of uapi
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 | 59 ++++++++++++++++++++++++++++-
2 files changed, 66 insertions(+), 2 deletions(-)
--
2.25.1
Powered by blists - more mailing lists