summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2014-11-27 15:49:14 +0000
committerBrad Smith <brad@cvs.openbsd.org>2014-11-27 15:49:14 +0000
commita9ddd216d783512c897f4808bcd14713e91fd8aa (patch)
tree96b13ba94372a9e6dee1534d899ddc822721eda0 /sys
parent6c164ddabbd3f2962d7116b08a4963e2509bcf6f (diff)
Another spot where the VLAN tag doesn't need swapping in the currently
unused TSO code. ok mikeb@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_ix.c4
1 files changed, 2 insertions, 2 deletions
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