Module Name: src Committed By: martin Date: Fri Nov 3 10:10:49 UTC 2023
Modified Files: src/sys/dev/pci/ixgbe [netbsd-10]: ixgbe.c ixv.c src/sys/net [netbsd-10]: if_ethersubr.c if_l2tp.c if_vlan.c src/tests/net/if_vlan [netbsd-10]: t_vlan.sh Log Message: Pull up following revision(s) (requested by yamaguchi in ticket #455): sys/dev/pci/ixgbe/ixgbe.c: revision 1.347 sys/net/if_l2tp.c: revision 1.49 tests/net/if_vlan/t_vlan.sh: revision 1.25 sys/net/if_vlan.c: revision 1.171 sys/net/if_ethersubr.c: revision 1.326 sys/dev/pci/ixgbe/ixv.c: revision 1.194 Use ether_bpf_mtap only when the device supports vlan harware tagging The function is bpf_mtap() for ethernet devices and *currently* it is just handling VLAN tag stripped by the hardware. l2tp(4): use ether_ifattach() to initialize ethercom Support vlan(4) over l2tp(4) Added the test for vlan over l2tp To generate a diff of this commit: cvs rdiff -u -r1.324.2.5 -r1.324.2.6 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.183.4.4 -r1.183.4.5 src/sys/dev/pci/ixgbe/ixv.c cvs rdiff -u -r1.323 -r1.323.2.1 src/sys/net/if_ethersubr.c cvs rdiff -u -r1.48 -r1.48.4.1 src/sys/net/if_l2tp.c cvs rdiff -u -r1.170 -r1.170.4.1 src/sys/net/if_vlan.c cvs rdiff -u -r1.24 -r1.24.2.1 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.