summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-12-01 15:21:15 -0800
committerJakub Kicinski <kuba@kernel.org>2020-12-01 15:21:15 -0800
commit7fe2af16e6a18e0e5a34a139f2b2e38106d67e07 (patch)
treeee323dafff0b7dea3b6e09a0a2884f8a76d62cf3 /drivers/scsi/hpsa.h
parentac6e918554add29d004a08bd5c1102524287403c (diff)
parent008cb2ec4354fa1c4a166eca8e5eec15112847b3 (diff)
downloadlinux-7fe2af16e6a18e0e5a34a139f2b2e38106d67e07.tar.gz
linux-7fe2af16e6a18e0e5a34a139f2b2e38106d67e07.tar.bz2
linux-7fe2af16e6a18e0e5a34a139f2b2e38106d67e07.zip
Merge branch 'mlxsw-add-support-for-802-1ad-bridging'
Ido Schimmel says: ==================== mlxsw: Add support for 802.1ad bridging 802.1ad, also known as QinQ, is an extension to the 802.1q standard, which is concerned with passing possibly 802.1q-tagged packets through another VLAN-like tunnel. The format of 802.1ad tag is the same as 802.1q, except it uses the EtherType of 0x88a8, unlike 802.1q's 0x8100. Currently, mlxsw supports bridging with VLAN-unaware (802.1d) bridges and with VLAN-aware bridges whose VLAN protocol is 802.1q. This set adds support for VLAN-aware bridges whose VLAN protocol is 802.1ad. From mlxsw perspective, 802.1ad support entails two main changes: 1. Ports member in an 802.1ad bridge need to be configured to classify 802.1ad packets as tagged and all other packets as untagged 2. When pushing a VLAN at ingress (PVID), its EtherType needs to be 0x88a8 instead of 802.1q's 0x8100 The rest stays the same as with 802.1q bridges. A follow-up patch set will add support for QinQ with VXLAN, also known as QinVNI. Currently, linking of a VXLAN netdev to an 802.1ad bridge is vetoed and an error is returned to user space. Patch set overview: Patches #1-#2 add the registers required to configure the two changes described above. Patch #3 changes the device to only treat 802.1q packets as tagged by default, as opposed to both 802.1q and 802.1ad packets. This is more inline with the behavior supported by the driver. Patch #4 adds the ability to configure the EtherType when pushing a PVID at ingress. Patch #5 performs small refactoring to allow for code re-use in the next patch. Patch #6 adds support for 802.1ad bridging and allows mlxsw ports and their uppers to join such a bridge. Patch #7 changes the bridge driver to notify about changes to its VLAN protocol, so that these could be vetoed by mlxsw in the next patch. Patches #8-#9 teach mlxsw to veto unsupported 802.1ad configurations and add a corresponding selftest to make sure such configurations are indeed vetoed. ==================== Link: https://lore.kernel.org/r/20201129125407.1391557-1-idosch@idosch.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/scsi/hpsa.h')
0 files changed, 0 insertions, 0 deletions