--- - branch: MAIN date: Fri Sep 15 08:31:32 UTC 2017 files: - new: '1.65' old: '1.64' path: src/sys/dev/pci/ixgbe/ixv.c pathrev: src/sys/dev/pci/ixgbe/ixv.c@1.65 type: modified id: 20170915T083132Z.0c31dfc21874d24a01436fe520a627058aee0811 log: | xv(4) VLAN fixes: - Dirty hack for VID mask bits. On ixg(4), VLAN filter is disabled. So any vlan ID's packet passes RX filter. On ixv(4), usually, PF driver uses VLAN filter enabled. There is no way to disable PF's VLAN filter function itself. NetBSD's Ethernet driver has currently no API to know which VLAN ID should be accepted. To avoid this proble, enable all VIDs... Yes, I know this is dirty hack. We should rethink. - Call ixv_setup_vlan_support() in ixv_ifflags_cb(). - Don't use global ixv_shadow_vfta[]. - Use local variable (rxr->) to reduce diff against ixgbe.c. No functional change. module: src subject: 'CVS commit: src/sys/dev/pci/ixgbe' unixtime: '1505464292' user: msaitoh