From: David S. Miller Date: Wed, 17 Mar 2021 19:26:28 +0000 (-0700) Subject: Merge branch 'mlxsw-vlan-=vxlan' X-Git-Tag: accepted/tizen/unified/20230118.172025~7335^2~509 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=930a3a622935e7cf28445f61826253f8eee56f45;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'mlxsw-vlan-=vxlan' mlxsw: Allow 802.1d and .1ad VxLAN bridges to coexist on Spectrum>=2 Ido Schimmel says: ==================== This patchset allows user space to simultaneously configure both 802.1d and 802.1ad VxLAN bridges on Spectrum-2 and later ASICs. 802.1ad VxLAN bridges are still forbidden on Spectrum-1. The reason for the current limitation is that up until now the EtherType that was pushed to decapsulated VxLAN packets was a property of the tunnel port, of which there is only one. This meant that a 802.1ad VxLAN bridge could not be configured if the tunnel port was already configured to push a 802.1q tag. This patchset improves the situation by making two changes. First, decapsulated packets are marked as having their EtherType decided by the egress port. Second, local ports member in the bridge (e.g., swp1) are configured to set the correct egress EtherType. Patchset overview: Patch #1 adds a register required for the first change Patches #2-#3 add the register required for the second change and a corresponding API Patch #4 prepares the driver for the split in behavior between Spectrum-1 and later ASICs Patch #5 performs the two above mentioned changes to allow the driver to support simultaneous 802.1ad and 802.1d VxLAN bridges on Spectrum-2 and later ASICs Patch #6 adds a selftest Patch #7 removes a selftest that verified the limitation that was lifted by this patchset ==================== Signed-off-by: David S. Miller --- 930a3a622935e7cf28445f61826253f8eee56f45