aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorTariq Toukan <[email protected]>2017-06-19 18:11:30 +0300
committerSaeed Mahameed <[email protected]>2017-09-03 06:34:08 +0300
commit4b7dfc9925143eb4a55bbb97c033d6da03b29bff (patch)
tree346bcc87dfaefad75684dd4581c958319d47094a /lib/mpi/mpi-cmp.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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions