OSDN Git Service

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)
commitffc89ee5e5e88aa5924034c28d5e5aae75229e0f
tree4d17d21822be57faaf916a231f4939e5c8f253e8
parentd75b9e804858c8eee5549b821fd48e780d3bb871
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