]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Support VLAN modify action
authorEli Britstein <elibr@mellanox.com>
Thu, 21 Mar 2019 22:51:41 +0000 (15:51 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Mar 2019 19:09:32 +0000 (12:09 -0700)
commit8b525417291f5c32cbac256f6e134ea14e14f064
treece5ff212d52fe344d987712e5809caba9df9ac7f
parentd30c64ae68ca2d9594d7495ed669f7f9bda89f67
net/mlx5e: Support VLAN modify action

Support VLAN modify action by emulating a rewrite action for the VLAN
fields. Currently, the only supported field is the vid. The prio in the
action must be set to 0 to indicate no change.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c