]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66903d53f3aafe20a5774bb2756cc1c0b0eb44d0
treea166b55bda9d4f78e6d9ad400c5c042dba086d87
parent5f90d14d198137f10b02a43c90d084c52a962d70
parent3a63ad38bacc308f1e3b0e3f86cb793ab6a594b3
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>