net/mlx5: Don't use termination tables in slow path
authorEli Cohen <eli@mellanox.com>
Thu, 27 Feb 2020 10:22:46 +0000 (12:22 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Mar 2020 02:41:35 +0000 (19:41 -0700)
commitd8a2034f152a99a476c8d444456fbe652da8cfd5
treee4c3bac660c0f7c8d1b5565471c89c4a4e4b47cb
parentb5f814cc7381e58877ebc9178283e28725c1b4f0
net/mlx5: Don't use termination tables in slow path

Don't use termination tables for packets that are steered to the slow path,
as a pre-step for supporting packet encap (packet reformat) action on
termination tables. Packet encap (reformat action) actions steer the packet
to the slow path until outer arp entries are resolved.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c