Module Name: src Committed By: msaitoh Date: Wed Mar 25 12:53:55 UTC 2015
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that vlan setting may not apply to the parent interface correctly. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/ixgbe/ixgbe.c diff -u src/sys/dev/pci/ixgbe/ixgbe.c:1.22 src/sys/dev/pci/ixgbe/ixgbe.c:1.23 --- src/sys/dev/pci/ixgbe/ixgbe.c:1.22 Thu Mar 19 14:22:23 2015 +++ src/sys/dev/pci/ixgbe/ixgbe.c Wed Mar 25 12:53:55 2015 @@ -59,7 +59,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ /*$FreeBSD: src/sys/dev/ixgbe/ixgbe.c,v 1.51 2011/04/25 23:34:21 jfv Exp $*/ -/*$NetBSD: ixgbe.c,v 1.22 2015/03/19 14:22:23 msaitoh Exp $*/ +/*$NetBSD: ixgbe.c,v 1.23 2015/03/25 12:53:55 msaitoh Exp $*/ #include "opt_inet.h" #include "opt_inet6.h" @@ -1085,6 +1085,9 @@ ixgbe_ifflags_cb(struct ethercom *ec) else if ((change & (IFF_PROMISC | IFF_ALLMULTI)) != 0) ixgbe_set_promisc(adapter); + /* Set up VLAN support and filter */ + ixgbe_setup_vlan_hw_support(adapter); + IXGBE_CORE_UNLOCK(adapter); return rc;