Re: [net-next 12/15] net/mlx5e: XDP, Avoid indirect call in TX flow

2020-07-16 Thread Jakub Kicinski
On Thu, 16 Jul 2020 14:33:18 -0700 Saeed Mahameed wrote: > From: Tariq Toukan > > Use INDIRECT_CALL_2() helper to avoid the cost of the indirect call > when/if CONFIG_RETPOLINE=y. > > Signed-off-by: Tariq Toukan > Reviewed-by: Maxim Mikityanskiy > Signed-off-by: Saeed Mahameed Are these expe

Re: [net-next 12/15] net/mlx5e: XDP, Avoid indirect call in TX flow

2020-07-16 Thread Saeed Mahameed
On Thu, 2020-07-16 at 15:26 -0700, Jakub Kicinski wrote: > On Thu, 16 Jul 2020 14:33:18 -0700 Saeed Mahameed wrote: > > From: Tariq Toukan > > > > Use INDIRECT_CALL_2() helper to avoid the cost of the indirect call > > when/if CONFIG_RETPOLINE=y. > > > > Signed-off-by: Tariq Toukan > > Reviewed

[net-next 12/15] net/mlx5e: XDP, Avoid indirect call in TX flow

2020-07-16 Thread Saeed Mahameed
From: Tariq Toukan Use INDIRECT_CALL_2() helper to avoid the cost of the indirect call when/if CONFIG_RETPOLINE=y. Signed-off-by: Tariq Toukan Reviewed-by: Maxim Mikityanskiy Signed-off-by: Saeed Mahameed --- .../net/ethernet/mellanox/mlx5/core/en/xdp.c | 36 --- .../etherne