net: Add queue state xoff flag for stack
authorTom Herbert <therbert@google.com>
Mon, 28 Nov 2011 16:32:44 +0000 (16:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 17:46:19 +0000 (12:46 -0500)
commit7346649826382b769cfadf4a2fe8a84d060c55e9
tree0241cce453992881f61d3fbc4f9baf7eb0578135
parent75957ba36c05b979701e9ec64b37819adc12f830
net: Add queue state xoff flag for stack

Create separate queue state flags so that either the stack or drivers
can turn on XOFF.  Added a set of functions used in the stack to determine
if a queue is really stopped (either by stack or driver)

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/netpoll.c
net/core/pktgen.c
net/sched/sch_generic.c
net/sched/sch_multiq.c
net/sched/sch_teql.c