aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-06-23 23:10:00 -0400
committerDavid S. Miller <davem@davemloft.net>2005-06-23 23:10:00 -0400
commit34008d8c631d067caffa136313260525f3ae48a2 (patch)
tree171436c170fb7df649f8bf7cb95391f6d844bd03 /include/linux/netdevice.h
parentc1ebcdb8c422cd73f54bcd2b9953e443a47667e5 (diff)
[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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c2e15e381a58..718ad579c65c 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -558,8 +558,6 @@ static inline int unregister_gifconf(unsigned int family)
558struct softnet_data 558struct softnet_data
559{ 559{
560 int throttle; 560 int throttle;
561 int cng_level;
562 int avg_blog;
563 struct sk_buff_head input_pkt_queue; 561 struct sk_buff_head input_pkt_queue;
564 struct list_head poll_list; 562 struct list_head poll_list;
565 struct net_device *output_queue; 563 struct net_device *output_queue;