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)
commit660a38bf6f622f0ad4255eb58c111d40c330da3b
treea166b55bda9d4f78e6d9ad400c5c042dba086d87
parentc78b8b20e34920231eda02fb40c7aca7d88be837
parent08731d30e78e3a5d01c092ddfa1fb94697b9b222
Merge branch 'support-for-the-ioam-insertion-frequency'

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>