summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2017-06-19 18:11:30 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-09-03 06:34:08 +0300
commit4b7dfc9925143eb4a55bbb97c033d6da03b29bff (patch)
tree346bcc87dfaefad75684dd4581c958319d47094a /block/blk-core.c
parent4cbb7558013a4f600eb1ca9ad34959d8912240e6 (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>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions