]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: RX, Avoid indirect call in representor CQE handling
authorTariq Toukan <tariqt@mellanox.com>
Thu, 30 Apr 2020 12:52:53 +0000 (15:52 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 16 Jul 2020 23:36:56 +0000 (16:36 -0700)
commitc179a8415a690cc00ba291f98eb378b30f16ba48
treed46cd7db37d29d7143a8ae4af57e69770e8fcba7
parent1855e2fcaff4bc9f793bd5555bfb2f761f59c1e5
net/mlx5e: RX, Avoid indirect call in representor CQE handling

Use INDIRECT_CALL_2() helper to avoid the cost of the indirect call
when/if CONFIG_RETPOLINE=y.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c