[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230823100128.54451-1-francois.michel@uclouvain.be>
Date: Wed, 23 Aug 2023 12:01:08 +0200
From: francois.michel@...ouvain.be
To:
Cc: netdev@...r.kernel.org,
stephen@...workplumber.org,
Francois Michel <francois.michel@...ouvain.be>
Subject: [PATCH v2 iproute2-next 0/2] tc: support the netem seed parameter for loss and corruption events
From: François Michel <francois.michel@...ouvain.be>
Linux now features a seed parameter to guide and reproduce
the loss and corruption events. This patch integrates these
results in the tc CLI.
For instance, setting the seed 42424242 on the loopback
with a loss rate of 10% will systematically drop the 5th,
12th and 24th packet when sending 25 packets.
v1 -> v2: Address comments and output the seed value
*after* slot information in netem_print_opt().
François Michel (2):
tc: support the netem seed parameter for loss and corruption events
man: tc-netem: add section for specifying the netem seed
include/uapi/linux/pkt_sched.h | 1 +
man/man8/tc-netem.8 | 11 ++++++++++-
tc/q_netem.c | 26 ++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 1 deletion(-)
base-commit: ce67bbcccb237f837c0ec2b5d4c85a4fd11ef1b5
--
2.41.0
Powered by blists - more mailing lists