diff options
author | Eric Dumazet <edumazet@google.com> | 2014-09-25 16:17:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-28 23:27:36 +0200 |
commit | 5804283d7cb1da46485950d545dd7869137dcda5 (patch) | |
tree | ba4656cb940b502838058edbf81d15cf147d0171 /net/sched/cls_fw.c | |
parent | Merge branch 'r8152' (diff) | |
download | linux-5804283d7cb1da46485950d545dd7869137dcda5.tar.xz linux-5804283d7cb1da46485950d545dd7869137dcda5.zip |
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_fw.c')
0 files changed, 0 insertions, 0 deletions