netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] sch_netem: some improvements
@ 2014-01-23  9:31 Yang Yingliang
  2014-01-23  9:31 ` [PATCH net-next 1/3] sch_netem: return errcode before setting params Yang Yingliang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yang Yingliang @ 2014-01-23  9:31 UTC (permalink / raw)
  To: netdev; +Cc: stephen, davem

This patchset do three improvements to sch_netem.

 patch 1/3: To avoid breaking old settings when we change failed,
	    do return errcode before doing setup.
 pacth 2/3: Replace some functions' parameters, these functions
	    only need struct netem_sched_data *q.
 patch 3/3: Replace magic numbers with enumerate for better readability.

Yang Yingliang (3):
  sch_netem: return errcode before setting params
  sch_netem: change some func's param from "struct Qdisc *" to "struct
    netem_sched_data *"
  sch_netem: replace magic numbers with enumerate in GE model

 net/sched/sch_netem.c | 74 ++++++++++++++++++++++++++++++++-------------------
 1 file changed, 46 insertions(+), 28 deletions(-)

-- 
1.8.0

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

end of thread, other threads:[~2014-01-23 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23  9:31 [PATCH net-next 0/3] sch_netem: some improvements Yang Yingliang
2014-01-23  9:31 ` [PATCH net-next 1/3] sch_netem: return errcode before setting params Yang Yingliang
2014-01-23 17:25   ` Stephen Hemminger
2014-01-23  9:31 ` [PATCH net-next 2/3] sch_netem: change some func's param from "struct Qdisc *" to "struct netem_sched_data *" Yang Yingliang
2014-01-23  9:31 ` [PATCH net-next 3/3] sch_netem: replace magic numbers with enumerate in GE model Yang Yingliang

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).