From a9ddd216d783512c897f4808bcd14713e91fd8aa Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 27 Nov 2014 15:49:14 +0000 Subject: Another spot where the VLAN tag doesn't need swapping in the currently unused TSO code. ok mikeb@ --- sys/dev/pci/if_ix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index 844464cd4de..7ea613c6735 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.110 2014/11/27 07:54:06 kettenis Exp $ */ +/* $OpenBSD: if_ix.c,v 1.111 2014/11/27 15:49:13 brad Exp $ */ /****************************************************************************** @@ -2256,7 +2256,7 @@ ixgbe_tso_setup(struct tx_ring *txr, struct mbuf *mp, #if NVLAN > 0 /* VLAN MACLEN IPLEN */ if (mp->m_flags & M_VLANTAG) { - vtag = htole16(mp->m_pkthdr.ether_vtag); + vtag = mp->m_pkthdr.ether_vtag; vlan_macip_lens |= (vtag << IXGBE_ADVTXD_VLAN_SHIFT); } #endif -- cgit v1.2.3