From: Justin Iurman <justin.iurman@uliege.be>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, kuba@kernel.org, yoshfuji@linux-ipv6.org,
dsahern@kernel.org, justin.iurman@uliege.be
Subject: [PATCH net-next 0/2] Support for the IOAM insertion frequency
Date: Wed, 26 Jan 2022 19:46:26 +0100 [thread overview]
Message-ID: <20220126184628.26013-1-justin.iurman@uliege.be> (raw)
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
next reply other threads:[~2022-01-26 18:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 18:46 Justin Iurman [this message]
2022-01-26 18:46 ` [PATCH net-next 1/2] uapi: ioam: Insertion frequency Justin Iurman
2022-01-29 1:31 ` Jakub Kicinski
2022-01-29 11:24 ` Justin Iurman
2022-01-30 10:20 ` Justin Iurman
2022-01-31 18:54 ` Jakub Kicinski
2022-02-01 12:30 ` Justin Iurman
2022-01-26 18:46 ` [PATCH net-next 2/2] ipv6: ioam: Insertion frequency in lwtunnel output Justin Iurman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220126184628.26013-1-justin.iurman@uliege.be \
--to=justin.iurman@uliege.be \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).