]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Bridge, match FDB entry vlan tag
authorVlad Buslov <vladbu@nvidia.com>
Fri, 12 Mar 2021 11:37:46 +0000 (13:37 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 01:36:11 +0000 (18:36 -0700)
commit26d05b02a8d926e97e62ac3a5bb5379366f619c5
tree4d17d21822be57faaf916a231f4939e5c8f253e8
parent26ce875ecd7f47b71bc49fab31c2b8236e0550b5
net/mlx5: Bridge, match FDB entry vlan tag

Add support for FDB vlan-tagged entries. Extend ingress and egress flow
tables with flow groups to match packet vlan tag. Modify the flow creation
code to include vlan tag, if vlan is configured on port and vlan
configuration is supported for offload.

Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Documentation/networking/device_drivers/ethernet/mellanox/mlx5.rst
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.h