aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-11-25 09:43:57 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-27 15:27:08 -0800
commitd62dd8a0c808b6afac5c85547a84aad7b187b108 (patch)
tree2cc75ce6c22066c946114dffa2d695d02d284c46 /net/core/net_namespace.c
parentmlxsw: spectrum_fid: Make flood index calculation more robust (diff)
downloadwireguard-linux-d62dd8a0c808b6afac5c85547a84aad7b187b108.tar.xz
wireguard-linux-d62dd8a0c808b6afac5c85547a84aad7b187b108.zip
mlxsw: spectrum_fid: Introduce emulated 802.1Q FIDs
The driver uses 802.1Q FIDs when offloading a VLAN-aware bridge. Unfortunately, it is not possible to assign a VNI to such FIDs, which prompts the driver to forbid the enslavement of VxLAN devices to a VLAN-aware bridge. Workaround this hardware limitation by creating a new family of FIDs, emulated 802.1Q FIDs. These FIDs are emulated using 802.1D FIDs, which can be assigned a VNI. The downside of this approach is that multiple {Port, VID}->FID entries are required, whereas only a single VID->FID is required with "true" 802.1Q FIDs. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions