mlx4: avoid requesting Tx completion events to improve performance
authorAlex Rosenbaum <alexr@mellanox.com>
Tue, 30 Jun 2015 09:28:00 +0000 (11:28 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 1 Jul 2015 09:28:42 +0000 (11:28 +0200)
commit034378216e19ed23df7b0ebc02f4774f04141e4e
tree488743fef7b68205e00aa2ffc420a26d0e329ee6
parentacac55f164128fc76da8d93cae1e8c1e560e99f6
mlx4: avoid requesting Tx completion events to improve performance

Instead of requesting a completion event for each TX burst, request it on a
fixed schedule once every MLX4_PMD_TX_PER_COMP_REQ (currently 64) packets to
improve performance.

Signed-off-by: Alex Rosenbaum <alexr@mellanox.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h