HomeFreeBSD

e1000: fix VLAN 0

Description

e1000: fix VLAN 0

VLAN 0 essentially means "Treat as untagged, but with priority bits",
and is used by some ISPs.

On igb/em interfaces we did not receive packets with VLAN tag 0 unless
vlanhwfilter was disabled.

This can be fixed by explicitly listing VLAN 0 in the hardware VLAN
filter (VFTA). Do this from em_setup_vlan_hw_support(), where we already
(re-)write the VFTA.

Reviewed by: kbowling
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D40046

(cherry picked from commit 0229fab2fe0eed843ebec98fd31b7d49bb2e8438)

Details

Provenance
kpAuthored on May 10 2023, 4:26 PM
Reviewer
kbowling
Differential Revision
D40046: e1000: fix VLAN 0
Parents
rGd3ee609cf29e: ntpd: Support IPv6-only hosts
Branches
Unknown
Tags
Unknown