Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-15

Re: [PATCH v2] net: sched: sch_netem: Refactor code in 4-state loss generator

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-11-12 22:05:33
Also in: lkml

On Fri, 12 Nov 2021 13:36:47 -0800
Harshit Mogalapalli [off-list ref] wrote:
Fixed comments to match description with variable names and
refactored code to match the convention as per [1].

To match the convention mapping is done as follows:
State 3 - LOST_IN_BURST_PERIOD
State 4 - LOST_IN_GAP_PERIOD

[1] S. Salsano, F. Ludovici, A. Ordine, "Definition of a general
and intuitive loss model for packet networks and its implementation
in the Netem module in the Linux kernel"

Fixes: a6e2fe17eba4 ("sch_netem: replace magic numbers with enumerate")
Signed-off-by: Harshit Mogalapalli <redacted>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help