]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26a40d904c42c8aa5fd7d8ed8a3add4844d0ce9f
tree48316d0bf62839efc5eb851fbb814203e94e0f85
parent55507c3690ce037abf33c35281650b27d5006418
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