Merge branch 'support-for-the-ioam-insertion-frequency'
authorJakub Kicinski <kuba@kernel.org>
Sat, 5 Feb 2022 04:24:47 +0000 (20:24 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Feb 2022 04:24:47 +0000 (20:24 -0800)
Justin Iurman says:

====================
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 ...
====================

Link: https://lore.kernel.org/r/20220202142554.9691-1-justin.iurman@uliege.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge