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)
commit2901a5c618dd18b3610747c18547b33e0c1eca08
treed46cd7db37d29d7143a8ae4af57e69770e8fcba7
parent93761ca17edf83f4222ab5abda8bde837ea5a309
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