From: Eric Dumazet Date: Thu, 25 Sep 2014 14:17:49 +0000 (-0700) Subject: mlx4: exploit skb->xmit_more to conditionally send doorbell X-Git-Tag: fixes-against-v3.18-rc2~144^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5804283d7cb1da46485950d545dd7869137dcda5;p=pandora-kernel.git mlx4: exploit skb->xmit_more to conditionally send doorbell skb->xmit_more tells us if another skb is coming next. We need to send doorbell when : xmit_more is not set, or txqueue is stopped (preventing next skb to come immediately) Tested with a modified pktgen version, I got a 40% increase of throughput. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed