]> git.baikalelectronics.ru Git - kernel.git/commit
netem: define NETEM_DIST_MAX
authorstephen hemminger <shemminger@vyatta.com>
Wed, 23 Feb 2011 13:04:19 +0000 (13:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Feb 2011 06:11:54 +0000 (22:11 -0800)
commitae2cb4c586cf6b98380111a842fa69e9afbb840e
treebd74a3a10b0503c578eb1ba5dcd6a4bad59c47d1
parent42a481f3a8fe265e607cb8690949d89c2f4bd0c4
netem: define NETEM_DIST_MAX

Rather than magic constant in code, expose the maximum size of
packet distribution table in API. In iproute2, q_netem defines
MAX_DIST as 16K already.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pkt_sched.h
net/sched/sch_netem.c