commit | 4b7dfc9925143eb4a55bbb97c033d6da03b29bff | [log] [tgz] |
---|---|---|
author | Tariq Toukan <tariqt@mellanox.com> | Mon Jun 19 18:11:30 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sun Sep 03 06:34:08 2017 +0300 |
tree | 346bcc87dfaefad75684dd4581c958319d47094a | |
parent | 4cbb7558013a4f600eb1ca9ad34959d8912240e6 [diff] |
net/mlx5e: Early-return on empty completion queues NAPI context handles different kinds of completion queues (RX, TX, and others). Hence, upon a poll trial, some of them might be empty. Here we early-return upon empty completion queues, as well as full rx buffer, and save unnecessary logic and memory barriers. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>