]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Eswitch, enable forwarding back to uplink port
authorEli Cohen <eli@mellanox.com>
Mon, 24 Feb 2020 14:59:54 +0000 (16:59 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 18 Mar 2020 02:41:39 +0000 (19:41 -0700)
commitd9a38698944fb9cb6c74dbd106b3c9f00bcfbe5a
tree147f711641480f351fa561f82860c321e08df9c2
parentb814d9a846ec1e6e06fb256c12692a3e05188069
net/mlx5: Eswitch, enable forwarding back to uplink port

Add dependencny on cap termination_table_raw_traffic to allow non
encapsulated packets received from uplink to be forwarded back to the
received uplink port.

Refactor the conditions into a separate function.

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/en_tc.c
include/linux/mlx5/mlx5_ifc.h