diff options
author | Eric Dumazet <edumazet@google.com> | 2020-04-15 19:46:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-19 01:30:22 +0300 |
commit | 310660a14b74c380b0ef5c12b66933d6a3d1b59f (patch) | |
tree | 0ad43e9320cb9b869c2a2b9af50f8416c6d2fec1 /net | |
parent | 62e697767fac598518bc687d3e0dafdd7c2f09f5 (diff) | |
download | linux-310660a14b74c380b0ef5c12b66933d6a3d1b59f.tar.xz |
net/mlx4_en: avoid indirect call in TX completion
Commit 9ecc2d86171a ("net/mlx4_en: add xdp forwarding and data write support")
brought another indirect call in fast path.
Use INDIRECT_CALL_2() helper to avoid the cost of the indirect call
when/if CONFIG_RETPOLINE=y
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Willem de Bruijn <willemb@google.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions