]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitd2ff4fa575000058def5f5c602784e233211d4e7
tree0b37d5dc6b52a0856f9bcb66cb29916a0c4e198f
parent02d92f7903647119e125b24f5470f96cee0d4b4b
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