diff options
| author | Jon Paul Maloy <[email protected]> | 2015-03-13 20:08:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-14 18:38:32 +0000 |
| commit | 05dcc5aa4dcced4f59f925625cea669e82b75519 (patch) | |
| tree | 0a516e1012ee7e9b7eee037d8e31278a425e7d68 /net/switchdev/switchdev.c | |
| parent | tipc: eliminate unnecessary call to broadcast ack function (diff) | |
| download | kernel-05dcc5aa4dcced4f59f925625cea669e82b75519.tar.gz kernel-05dcc5aa4dcced4f59f925625cea669e82b75519.zip | |
tipc: split link outqueue
struct tipc_link contains one single queue for outgoing packets,
where both transmitted and waiting packets are queued.
This infrastructure is hard to maintain, because we need
to keep a number of fields to keep track of which packets are
sent or unsent, and the number of packets in each category.
A lot of code becomes simpler if we split this queue into a transmission
queue, where sent/unacknowledged packets are kept, and a backlog queue,
where we keep the not yet sent packets.
In this commit we do this separation.
Reviewed-by: Erik Hugne <[email protected]>
Reviewed-by: Ying Xue <[email protected]>
Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
