]> 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)
commit987fbbecdc3d48a9843298fa8479bf8064bb0f32
treee4c3bac660c0f7c8d1b5565471c89c4a4e4b47cb
parent793af23d6ea72b7f6388b0abf7b29c686e85a7d4
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