Page MenuHomeFreeBSD

bridge: allow VLAN protocol to be configured
Needs ReviewPublic

Authored by ivy on Wed, Jul 9, 9:57 PM.

Details

Reviewers
des
kevans
pauamma_gundo.com
Group Reviewers
network
manpages
Summary

Add a new per-interface option "vlanproto", which can be either
"802.1q" (the default) or "802.1ad". This controls what type of
tag we attach to outgoing packets on the interface.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65345
Build 62228: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Wed, Jul 9, 9:57 PM

Other than this possible clarification, manual page change looks reasonable and consistent with the intent of the rest as stated in the summary.

sbin/ifconfig/ifconfig.8
2766–2769

Audience check: are expected readers of this expected to know 802.1q is VLAN and 802.1ad Q-in-Q?

This revision is now accepted and ready to land.Wed, Jul 9, 11:55 PM
sbin/ifconfig/ifconfig.8
2766–2769

i feel like anyone who needs this option will know what 802.1ad is, and people who don't know that can just ignore it. i'm not opposed to rewording it if anyone has a better suggestion, but i'd rather avoid being too verbose here as the manpage is already quite long. (there is more verbose documentation on this in D51185, and there's a pointer to that at the top of this section.)

also, compare with the other vlanproto option which is used for vlan(4) devices; it uses more lines since it has a list, but it's otherwise about the same text.

rename the option to "ifvlanproto" to avoid possible confusion with the
vlan(4) option of the same name.

This revision now requires review to proceed.Fri, Jul 11, 7:15 AM