diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2018-01-07 07:15:02 -0500 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-03-30 19:16:17 -0400 |
commit | e4d86a4a58b436fca0ce084ea453cc0ec8c39bb4 (patch) | |
tree | 0fbcc70d3403bbfe0e3a3c5d753785bebe886b10 | |
parent | 18187fb2c3c138630f6b7c7b7ba7ab41ccd95129 (diff) |
net/mlx5e: Do not busy-wait for UMR completion in Striding RQ
Do not busy-wait a pending UMR completion. Under high HW load,
busy-waiting a delayed completion would fully utilize the CPU core
and mistakenly indicate a SW bottleneck.
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c index 8aa94d3cff59..8eb9e7e89b09 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | |||
@@ -527,7 +527,7 @@ bool mlx5e_post_rx_mpwqes(struct mlx5e_rq *rq) | |||
527 | if (!rq->mpwqe.umr_in_progress) | 527 | if (!rq->mpwqe.umr_in_progress) |
528 | mlx5e_alloc_rx_mpwqe(rq, wq->head); | 528 | mlx5e_alloc_rx_mpwqe(rq, wq->head); |
529 | 529 | ||
530 | return true; | 530 | return false; |
531 | } | 531 | } |
532 | 532 | ||
533 | static void mlx5e_lro_update_tcp_hdr(struct mlx5_cqe64 *cqe, struct tcphdr *tcp) | 533 | static void mlx5e_lro_update_tcp_hdr(struct mlx5_cqe64 *cqe, struct tcphdr *tcp) |