]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add missing likely/unlikely hints to cq events
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 8 Feb 2018 04:48:43 +0000 (20:48 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 15 Feb 2018 08:30:00 +0000 (00:30 -0800)
commit3cebae60efd4cbd30dd04cd56680d6d1e8e8b2b1
tree0b37d5dc6b52a0856f9bcb66cb29916a0c4e198f
parent9040b826c84404d449afd4dbad8a423d02eaf0d3
net/mlx5: Add missing likely/unlikely hints to cq events

If a hardware event is targeting a CQ, that CQ should exist.
Add unlikely to error handling flows.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Gal Pressman <galp@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cq.c