aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-04-26 19:06:24 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-27 17:32:12 -0400
commita9cbd588fdb71ea415754c885e2f9f03e6bf1ba0 (patch)
tree68506bd4299f34b3ed31b76eb575e79c61e198fb /include/linux/netdevice.h
parentbb611874650cff942a7466b456a791e8bfa641e7 (diff)
net: reimplement softnet_data.output_queue as a FIFO queue
reimplement softnet_data.output_queue as a FIFO queue to keep the fairness among the qdiscs rescheduled. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> ---- include/linux/netdevice.h | 1 + net/core/dev.c | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 3c5ed5f5274e..c04ca246395d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1385,6 +1385,7 @@ static inline int unregister_gifconf(unsigned int family)
1385 */ 1385 */
1386struct softnet_data { 1386struct softnet_data {
1387 struct Qdisc *output_queue; 1387 struct Qdisc *output_queue;
1388 struct Qdisc **output_queue_tailp;
1388 struct list_head poll_list; 1389 struct list_head poll_list;
1389 struct sk_buff *completion_queue; 1390 struct sk_buff *completion_queue;
1390 1391