]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph type
authorLutz Donnerhacke <donner@FreeBSD.org>
Tue, 26 Jan 2021 15:50:04 +0000 (16:50 +0100)
committerLutz Donnerhacke <donner@FreeBSD.org>
Thu, 25 Feb 2021 07:51:58 +0000 (08:51 +0100)
commita0e2fe87031a63f336d2a66c383cc017b6207cd1
tree5e3543aa09f74f2f28ea34b4c7b0b2aba320ae46
parent5d66edf463a053a840a08322107363cf79249f6f
netgraph/ng_vlan_rotate: IEEE 802.1ad VLAN manipulation netgraph type

This node is part of an A10-NSP (L2-BSA) development.

Carrier networks tend to stack three or more tags for internal
purposes and therefore hiding the service tags deep inside of the
stack. When decomposing such an access network frame, the processing
order is typically reversed: First distinguish by service, than by
other means.

This new netgragh node allows to bring the relevant VLAN in front (to
the out-most position). This way other netgraph nodes (like ng_vlan)
can operate on this specific type.

Reviewed by: manpages (gbe), brueffer (manpages), kp
Relnotes: yes
Sponsored by: IKS Service GmbH
Differential Revision: https://reviews.freebsd.org/D22076

(cherry picked from commit cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
share/man/man4/Makefile
share/man/man4/ng_vlan_rotate.4 [new file with mode: 0644]
sys/conf/files
sys/modules/netgraph/Makefile
sys/modules/netgraph/vlan_rotate/Makefile [new file with mode: 0644]
sys/netgraph/ng_vlan_rotate.c [new file with mode: 0644]
sys/netgraph/ng_vlan_rotate.h [new file with mode: 0644]