diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-09-01 11:29:18 +1000 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-31 22:42:45 -0400 |
commit | e0808494ff44d5cedcaf286bb8a93d08e8d9af49 (patch) | |
tree | e2d90bb9d07454266ebc9fe36901aa97305c15e0 /arch | |
parent | 24562ffa8bdf3a111278a8b93ab92837b9ec9113 (diff) |
[PATCH] iseries_veth: Simplify full-queue handling
The iseries_veth driver often has multiple netdevices sending packets over
a single connection to another LPAR. If the bandwidth to the other LPAR is
exceeded, all the netdevices must have their queues stopped.
The current code achieves this by queueing one incoming skb on the
per-netdevice port structure. When the connection is able to send more packets
we iterate through the port structs and flush any packet that is queued,
as well as restarting the associated netdevice's queue.
This arrangement makes less sense now that we have per-connection TX timers,
rather than the per-netdevice generic TX timer.
The new code simply detects when one of the connections is full, and stops
the queue of all associated netdevices. Then when a packet is acked on that
connection (ie. there is space again) all the queues are woken up.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions