]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/sched/sch_netem.c
netem: add ECN capability
authorEric Dumazet <edumazet@google.com>
Mon, 30 Apr 2012 23:11:05 +0000 (23:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2012 13:39:48 +0000 (09:39 -0400)
commite4ae004b84b315dd4b762e474f97403eac70f76a
treec1f514987070e02c4792a84d0d5417dfa288a8cb
parent18d0700024d68a075c507b845d85eda2abb5aee7
netem: add ECN capability

Add ECN (Explicit Congestion Notification) marking capability to netem

tc qdisc add dev eth0 root netem drop 0.5 ecn

Instead of dropping packets, try to ECN mark them.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Hagen Paul Pfeifer <hagen@jauu.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pkt_sched.h
net/sched/sch_netem.c