Thread (12 messages) 12 messages, 3 authors, 2016-05-17

Re: [PATCH net-next] fq_codel: add memory limitation per queue

flat view

From: Eric Dumazet <hidden>
Date: 2016-05-09 14:26:53

On Sun, 2016-05-08 at 22:07 -0700, Cong Wang wrote:
On Sun, May 8, 2016 at 9:31 PM, Eric Dumazet [off-list ref] wrote:
quoted
On Sun, 2016-05-08 at 21:14 -0700, Cong Wang wrote:
quoted
So when the packet is dropped due to memory over limit, should
we return failure for this case? Or I miss anything?
Same behavior than before.

If we dropped some packets of this flow, we return NET_XMIT_CN
I think for the limited memory case, the upper layer is supposed
to stop sending more packets when hitting the limit.
They doe. NET_XMIT_CN for example aborts IP fragmentation.

TCP flows will also instantly react.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help