Commit be847673 authored by Justin Iurman's avatar Justin Iurman Committed by Jakub Kicinski

uapi: ioam: Insertion frequency

Add the insertion frequency uapi for IOAM lwtunnels.
Signed-off-by: default avatarJustin Iurman <justin.iurman@uliege.be>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c78b8b20
......@@ -41,6 +41,15 @@ enum {
/* IOAM Trace Header */
IOAM6_IPTUNNEL_TRACE, /* struct ioam6_trace_hdr */
/* Insertion frequency:
* "k over n" packets (0 < k <= n)
* [0.0001% ... 100%]
*/
#define IOAM6_IPTUNNEL_FREQ_MIN 1
#define IOAM6_IPTUNNEL_FREQ_MAX 1000000
IOAM6_IPTUNNEL_FREQ_K, /* u32 */
IOAM6_IPTUNNEL_FREQ_N, /* u32 */
__IOAM6_IPTUNNEL_MAX,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment