]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, use new cap as condition for mpls over udp
authorEli Cohen <elic@nvidia.com>
Tue, 12 Jan 2021 07:05:26 +0000 (23:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 23:45:54 +0000 (15:45 -0800)
commitc9095dd128213efc032806ca91c992c041d6f54f
treeec3bb75362e5ff99b1835244dab2d9b62af4cd70
parent5928b0549d131308da592adda74d9bb0f78e3a60
net/mlx5: E-Switch, use new cap as condition for mpls over udp

Use tunnel_stateless_mpls_over_udp instead of
MLX5_FLEX_PROTO_CW_MPLS_UDP since new devices have native support for
mpls over udp and do not rely on flex parser.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_mplsoudp.c