net/mlx5e: Do not request completion on every single UMR WQE
authorTariq Toukan <tariqt@mellanox.com>
Wed, 1 May 2019 12:23:06 +0000 (15:23 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 16 Jul 2020 23:36:58 +0000 (16:36 -0700)
commit0bdc89b39d622b8929a687eee194e4e166fe84df
treeedc8a89deeea1df506d21fcc3dc8740aca10d1e1
parent2901a5c618dd18b3610747c18547b33e0c1eca08
net/mlx5e: Do not request completion on every single UMR WQE

UMR WQEs are posted in bulks, and HW is notified once per a bulk.
Reduce the number of completions by requesting such only for
the last WQE of the bulk.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c