]> 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)
commit1c0893260001d8fca2957378a5949cef85530af9
tree48316d0bf62839efc5eb851fbb814203e94e0f85
parent51dc225bb69f1893e5057ac401f1cdf11edf0a53
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