Index: if_ix.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_ix.c,v retrieving revision 1.152 diff -u -p -r1.152 if_ix.c --- if_ix.c 22 Jun 2017 02:44:37 -0000 1.152 +++ if_ix.c 7 Dec 2017 12:35:43 -0000 @@ -1622,7 +1622,7 @@ ixgbe_setup_interface(struct ix_softc *s ifp->if_capabilities = IFCAP_VLAN_MTU; #if NVLAN > 0 - ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; +// ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; #endif #ifdef IX_CSUM_OFFLOAD @@ -2923,10 +2923,10 @@ ixgbe_rxeof(struct ix_queue *que) sendmp = mp; sendmp->m_pkthdr.len = mp->m_len; #if NVLAN > 0 - if (staterr & IXGBE_RXD_STAT_VP) { - sendmp->m_pkthdr.ether_vtag = vtag; - sendmp->m_flags |= M_VLANTAG; - } +// if (staterr & IXGBE_RXD_STAT_VP) { +// sendmp->m_pkthdr.ether_vtag = vtag; +// sendmp->m_flags |= M_VLANTAG; +// } #endif } @@ -2995,6 +2995,7 @@ ixgbe_rx_checksum(uint32_t staterr, stru void ixgbe_setup_vlan_hw_support(struct ix_softc *sc) { +#if 0 uint32_t ctrl; int i; @@ -3028,6 +3029,7 @@ ixgbe_setup_vlan_hw_support(struct ix_so IXGBE_WRITE_REG(&sc->hw, IXGBE_RXDCTL(i), ctrl); } } +#endif } void