]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d0e2b1d7a5529db350e27746b642cd529c9a1e3
treee4c3bac660c0f7c8d1b5565471c89c4a4e4b47cb
parentdf0b44f19832b9a88987b471a0ad7c85122a4927
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