netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/2] tc: support the netem seed parameter for loss and corruption events
@ 2023-08-22 14:04 francois.michel
  2023-08-22 14:04 ` [PATCH iproute2-next 1/2] " francois.michel
  2023-08-22 14:04 ` [PATCH iproute2-next 2/2] man: tc-netem: add section for specifying the netem seed francois.michel
  0 siblings, 2 replies; 5+ messages in thread
From: francois.michel @ 2023-08-22 14:04 UTC (permalink / raw)
  Cc: netdev, stephen, Francois Michel

From: François Michel <francois.michel@uclouvain.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.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-23  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 14:04 [PATCH iproute2-next 0/2] tc: support the netem seed parameter for loss and corruption events francois.michel
2023-08-22 14:04 ` [PATCH iproute2-next 1/2] " francois.michel
2023-08-22 15:43   ` Stephen Hemminger
2023-08-23  9:58     ` François Michel
2023-08-22 14:04 ` [PATCH iproute2-next 2/2] man: tc-netem: add section for specifying the netem seed francois.michel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).