Thread (6 messages) flat view 6 messages, 3 authors, 2012-02-23

Re: [PATCH net-next 2/3] mlx4_en: moderate frequency of TX completions

From: David Miller <davem@davemloft.net>
Date: 2012-02-23 21:46:52

From: Ben Hutchings <redacted>
Date: Thu, 23 Feb 2012 21:13:56 +0000
On Thu, 2012-02-23 at 14:44 -0500, David Miller wrote:
quoted
From: Yevgeny Petrilin <redacted>
Date: Thu, 23 Feb 2012 15:34:27 +0200
quoted
No need to ask for completion for every packet being sent.
So the method is to ask for a completion every 16 packets,
or when the queue is about to be full.

Signed-off-by: Yevgeny Petrilin <redacted>
You absolutely cannot do this, you must signal completion and free up
TX queue packets in a finite amount of time.
Really, sfc has been doing this forever.
You have to stop, because otherwise sockets can hang since those
packets can hold a reference to the socket so they must be
released in a finite amount of time regardless of network
traffic.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help