diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-04-26 19:06:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-27 17:32:12 -0400 |
commit | a9cbd588fdb71ea415754c885e2f9f03e6bf1ba0 (patch) | |
tree | 68506bd4299f34b3ed31b76eb575e79c61e198fb /include/linux/netdevice.h | |
parent | bb611874650cff942a7466b456a791e8bfa641e7 (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.h | 1 |
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 | */ |
1386 | struct softnet_data { | 1386 | struct 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 | ||