OSDN Git Service

net/mlx5e: Support pedit on mpls over UDP decap
authorEli Cohen <eli@mellanox.com>
Wed, 8 Apr 2020 06:01:33 +0000 (09:01 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 May 2020 23:46:23 +0000 (16:46 -0700)
commit582234b465edfa12835b20477c0aa2bc91a02e18
tree6fa77a51570c74caf1d2c945ff1e73b2c76223b1
parent14e6b038afa014ac2288a2f3d692697f708ba344
net/mlx5e: Support pedit on mpls over UDP decap

Allow to modify ethernet headers while decapsulating mpls over UDP
packets. This is implemented using the same reformat object used for
decapsulation.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c