]> 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)
commit208356179c6e7fa8f670d2953ef8c0ae78f38b87
tree0b37d5dc6b52a0856f9bcb66cb29916a0c4e198f
parent4aa364218c1a547810dfaaba512e1a8b8169282d
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