[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111205.184619.2049555377796266031.davem@davemloft.net>
Date: Mon, 05 Dec 2011 18:46:19 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sjur.brandeland@...ricsson.com
Cc: netdev@...r.kernel.org, alexey.orishko@...ricsson.com,
eric.dumazet@...il.com
Subject: Re: [PATCHv3 net-next 3/4] caif: Add support for flow-control on
device's tx-queue
From: Sjur Brændeland <sjur.brandeland@...ricsson.com>
Date: Sun, 4 Dec 2011 22:22:54 +0100
> 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 <sjur.brandeland@...ricsson.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists