]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/core/dev.c
[NET]: Remove obsolete netif_rx congestion sensing mechanism.
authorStephen Hemminger <shemminger@osdl.org>
Fri, 24 Jun 2005 03:10:00 +0000 (20:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2005 03:10:00 +0000 (20:10 -0700)
commit34008d8c631d067caffa136313260525f3ae48a2
tree171436c170fb7df649f8bf7cb95391f6d844bd03
parentc1ebcdb8c422cd73f54bcd2b9953e443a47667e5
[NET]: Remove obsolete netif_rx congestion sensing mechanism.

Remove the congestion sensing mechanism from netif_rx, and always
return either full or empty.  Almost no driver checks the return value
from netif_rx, and those that do only use it for debug messages.

The original design of netif_rx was to do flow control based on the
receive queue, but NAPI has supplanted this and no driver uses the
feedback.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/sysctl_net_core.c