Alexander V. Chernikov c7cffd65c5 Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q).
802.1ad interfaces are created with ifconfig using the "vlanproto" parameter.
Eg., the following creates a 802.1Q VLAN (id #42) over a 802.1ad S-VLAN
(id #5) over a physical Ethernet interface (em0).

ifconfig vlan5 create vlandev em0 vlan 5 vlanproto 802.1ad up
ifconfig vlan42 create vlandev vlan5 vlan 42 inet 10.5.42.1/24

VLAN_MTU, VLAN_HWCSUM and VLAN_TSO capabilities should be properly
supported. VLAN_HWTAGGING is only partially supported, as there is
currently no IFCAP_VLAN_* denoting the possibility to set the VLAN
EtherType to anything else than 0x8100 (802.1ad uses 0x88A8).

Submitted by:	Olivier Piras
Sponsored by:	RG Nets
Differential Revision:	https://reviews.freebsd.org/D26436
2020-10-21 21:28:20 +00:00
..
2019-08-13 20:06:55 +00:00
2019-11-21 01:24:49 +00:00
2019-11-21 01:24:49 +00:00
2020-10-13 05:32:00 +00:00
2019-08-13 20:06:55 +00:00
2020-10-09 14:03:45 +00:00
2019-12-22 01:22:51 +00:00
2020-05-21 01:55:35 +00:00
2020-10-09 14:03:45 +00:00
2017-10-31 00:07:04 +00:00
2019-12-11 17:37:53 +00:00
2020-07-05 13:08:17 +00:00
2020-09-11 13:28:37 +00:00
2019-06-25 04:50:09 +00:00