]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: change TX coalescing defaults
authorEric Dumazet <edumazet@google.com>
Mon, 5 Nov 2012 16:20:42 +0000 (16:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 20:30:19 +0000 (15:30 -0500)
commit268126b2018f24cc487d046b6d42d31e6b6b58d2
tree5637585d93c43b15a3c49022a0b0967c2d914653
parent933441541643f39dae709e9a03d32bc4b265f6ec
mlx4: change TX coalescing defaults

mlx4 currently uses a too high tx coalescing setting, deferring
TX completion interrupts by up to 128 us.

With the recent skb_orphan() removal in commit fec955364f7,
performance of a single TCP flow is capped to ~4 Gbps, unless
we increase tcp_limit_output_bytes.

I suggest using 16 us instead of 128 us, allowing a finer control.

Performance of a single TCP flow is restored to previous levels,
while keeping TCP small queues fully enabled with default sysctl.

This patch is also a BQL prereq.

Reported-by: Vimalkumar <j.vimal@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Yevgeny Petrilin <yevgenyp@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h