diff options
| author | [email protected] <[email protected]> | 2011-12-04 11:22:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-12-05 23:27:56 +0000 |
| commit | 0e4c7d85d5e522d5839bdc5745235428faf38d44 (patch) | |
| tree | 99506bac6e5cbefffc2358a5c85c76950b265efe /net/ipv4/tcp_output.c | |
| parent | caif: Add support for CAIF over CDC NCM USB interface (diff) | |
| download | kernel-0e4c7d85d5e522d5839bdc5745235428faf38d44.tar.gz kernel-0e4c7d85d5e522d5839bdc5745235428faf38d44.zip | |
caif: Add support for flow-control on device's tx-queue
Flow control is implemented by inspecting the qdisc queue length
in order to detect potential overflow on the TX queue. When a threshold
is reached flow-off is sent upwards in the CAIF stack. At the same time
the skb->destructor is hi-jacked by orphaning the SKB and the original
destructor is replaced with a "flow-on" callback. When the "hi-jacked"
SKB is consumed the queue should be empty, and the "flow-on" callback
is called and xon is sent upwards in the CAIF stack.
Signed-off-by: Sjur Brændeland <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
