summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ix.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2011-04-05 18:01:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2011-04-05 18:01:22 +0000
commit4dc54e7fa6438c983dcb9497296699860bc13f41 (patch)
tree0615f65c34b4f93226b68db35c1fe3bf9b830f59 /sys/dev/pci/if_ix.c
parentd4c4b70e6b80a4fccfa10cfd0afd5597c8859890 (diff)
mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUT
ok claudio krw
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r--sys/dev/pci/if_ix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 14222811d40..7736df5cfb2 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.47 2011/04/03 15:36:02 jasper Exp $ */
+/* $OpenBSD: if_ix.c,v 1.48 2011/04/05 18:01:21 henning Exp $ */
/******************************************************************************
@@ -2046,11 +2046,11 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, struct mbuf *mp)
switch (ipproto) {
case IPPROTO_TCP:
- if (mp->m_pkthdr.csum_flags & M_TCPV4_CSUM_OUT)
+ if (mp->m_pkthdr.csum_flags & M_TCP_CSUM_OUT)
type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_L4T_TCP;
break;
case IPPROTO_UDP:
- if (mp->m_pkthdr.csum_flags & M_UDPV4_CSUM_OUT)
+ if (mp->m_pkthdr.csum_flags & M_UDP_CSUM_OUT)
type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_L4T_UDP;
break;
}