Re: [PATCH iproute2-next] tc-netem: fix limit description in man page

2018-05-16 Thread Stephen Hemminger
On Wed, 16 May 2018 15:17:50 -0600 David Ahern wrote: > On 5/15/18 6:49 PM, Marcelo Ricardo Leitner wrote: > > As the kernel code says, limit is actually the amount of packets it can > > hold queued at a time, as per: > > > > static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch, > >

Re: [PATCH iproute2-next] tc-netem: fix limit description in man page

2018-05-16 Thread David Ahern
On 5/15/18 6:49 PM, Marcelo Ricardo Leitner wrote: > As the kernel code says, limit is actually the amount of packets it can > hold queued at a time, as per: > > static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch, > struct sk_buff **to_free) > { > ... >

[PATCH iproute2-next] tc-netem: fix limit description in man page

2018-05-15 Thread Marcelo Ricardo Leitner
As the kernel code says, limit is actually the amount of packets it can hold queued at a time, as per: static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch, struct sk_buff **to_free) { ... if (unlikely(sch->q.qlen >= sch->limit))