[PATCH] Ethernet cleanup; 802.1p input and M_PROMISC
Bruce M Simpson
bms at incunabulum.net
Fri Mar 2 23:55:18 UTC 2007
Hello all,
I would like to announce an updated version of the 802.1p input patch,
available at:
http://people.freebsd.org/~bms/dump/latest-8021p.diff
I have cut down the original scope of the patch. I previously ran into
problems when I tried to move VLAN tag input and output processing into
if_ethersubr.c.
FreeBSD should now accept VLAN 0 traffic on input with this patch. In
addition to this, the M_PROMISC flag is now used, which considerably
simplifies the Ethernet input path in general.
I have performed some light testing on a 1Gbps COTS switch with 802.1q
encapsulation and without, with carp and vlan, with and without hardware
VLAN tagging, and all looks OK. I would greatly appreciate further
testing, particularly with if_bridge and ng_ether which I have not tried.
If all goes to plan, I would hope to commit this code to -CURRENT within
the next 10 days.
Regards,
BMS
More information about the freebsd-net
mailing list