All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v4 0/2] net: sched: fix some issues
@ 2013-12-03  3:26 Yang Yingliang
  2013-12-03  3:26 ` [PATCH net v4 1/2] net: sched: tbf: fix calculation of max_size Yang Yingliang
  2013-12-03  3:26 ` [PATCH net v4 2/2] net: sched: htb: fix calculation of quantum Yang Yingliang
  0 siblings, 2 replies; 12+ messages in thread
From: Yang Yingliang @ 2013-12-03  3:26 UTC (permalink / raw)
  To: davem, netdev; +Cc: eric.dumazet, brouer, jpirko, jbrouer

fix calculation of max_size in tbf
fix quantum calculation introduced by 64bit rates.

v2
  patch 1/2: redescribe the regression.
  patch 2/2: add Eric's ack.

v3
  patch 1/2: use psched_l2t_ns to calculate max_size
  and cleanup exit/done section suggested by Jesper.

v4
  patch 1/2:
  1.Update commit message suggested by Jesper.
  2.Use a macro to replace 65535 constant.
  3.Add condition that when peakrate is lower than rate, return -EINVAL.
  4.Don't use cell_log anymore.

Yang Yingliang (2):
  net: sched: tbf: fix calculation of max_size
  net: sched: htb: fix calculation of quantum

 net/sched/sch_htb.c | 18 ++++++-----
 net/sched/sch_tbf.c | 91 ++++++++++++++++++++++++++++++-----------------------
 2 files changed, 61 insertions(+), 48 deletions(-)

-- 
1.8.0

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

end of thread, other threads:[~2013-12-04  1:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03  3:26 [PATCH net v4 0/2] net: sched: fix some issues Yang Yingliang
2013-12-03  3:26 ` [PATCH net v4 1/2] net: sched: tbf: fix calculation of max_size Yang Yingliang
2013-12-03  4:51   ` Eric Dumazet
2013-12-03  6:09     ` Yang Yingliang
2013-12-03  4:59   ` Eric Dumazet
2013-12-03  7:44     ` Yang Yingliang
2013-12-03  8:12       ` Eric Dumazet
2013-12-03  9:47         ` Yang Yingliang
2013-12-03 11:32           ` Yang Yingliang
2013-12-03 14:51             ` Eric Dumazet
2013-12-04  1:53               ` Yang Yingliang
2013-12-03  3:26 ` [PATCH net v4 2/2] net: sched: htb: fix calculation of quantum Yang Yingliang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.