]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Bridge, extract VLAN push/pop actions creation
authorVlad Buslov <vladbu@nvidia.com>
Fri, 3 Jun 2022 19:32:23 +0000 (22:32 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 13 Jul 2022 22:56:47 +0000 (15:56 -0700)
commit12d37c14f7f8c58186da3208aa7581edc41b878b
tree30534bee568d61bf24082b9d2c3e3d5036d0e224
parenteb0c0d56afb4802669b589ffb813deb1a71af0c1
net/mlx5: Bridge, extract VLAN push/pop actions creation

Following patches in series need to re-create VLAN actions when user
changes VLAN protocol. Extract the code that creates VLAN push/pop actions
into dedicated function in order to be reused in next patch.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c