net/mlx4_en: Add branch prediction hints in RX data-path
authorTariq Toukan <tariqt@mellanox.com>
Tue, 20 Sep 2016 11:39:39 +0000 (14:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Sep 2016 01:52:43 +0000 (21:52 -0400)
commitde3d6fa81e684af5817dc379ffc394235a9666cc
tree48316d0bf62839efc5eb851fbb814203e94e0f85
parentc3d9b9f3de651a402b0439c073e64c5662172c9b
net/mlx4_en: Add branch prediction hints in RX data-path

Add likely/unlikely hints to improve branch predictions
in the RX data-path.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c