-
- Downloads
mlxsw: spectrum_fid: Add API to lookup 802.1Q FIDs without creating them
In a similar fashion to commit 564c6d72 ("mlxsw: spectrum_fid: Add APIs to lookup FID without creating it"), add a corresponding API to lookup 802.1Q FIDs. This is a prerequisite to VxLAN support with VLAN-aware bridges and will allow us to resolve a 802.1Q FID by its VLAN when an FDB entry is added on the bridge port of the VxLAN device. Signed-off-by:Ido Schimmel <idosch@mellanox.com> Reviewed-by:
Petr Machata <petrm@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlxsw/spectrum.h 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxsw/spectrum.h
- drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c 6 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 3 additions, 2 deletionsdrivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
Loading
Please register or sign in to comment