svn commit: r337726 - head/sys/dev/e1000
Marius Strobl
marius at FreeBSD.org
Mon Aug 13 20:29:40 UTC 2018
Author: marius
Date: Mon Aug 13 20:29:39 2018
New Revision: 337726
URL: https://svnweb.freebsd.org/changeset/base/337726
Log:
Remove the duplicated CSUM_IP6_TCP introduced in r311849 from the TX
checksum capabilities of IGB-class MACs. While at it, fix the line
wrapping.
PR: 230571
Modified:
head/sys/dev/e1000/if_em.c
Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c Mon Aug 13 19:59:42 2018 (r337725)
+++ head/sys/dev/e1000/if_em.c Mon Aug 13 20:29:39 2018 (r337726)
@@ -793,8 +793,8 @@ em_if_attach_pre(if_ctx_t ctx)
scctx->isc_tx_tso_size_max = EM_TSO_SIZE;
scctx->isc_tx_tso_segsize_max = EM_TSO_SEG_SIZE;
scctx->isc_capabilities = scctx->isc_capenable = IGB_CAPS;
- scctx->isc_tx_csum_flags = CSUM_TCP | CSUM_UDP | CSUM_TSO | CSUM_IP6_TCP \
- | CSUM_IP6_UDP | CSUM_IP6_TCP;
+ scctx->isc_tx_csum_flags = CSUM_TCP | CSUM_UDP | CSUM_TSO |
+ CSUM_IP6_TCP | CSUM_IP6_UDP;
if (adapter->hw.mac.type != e1000_82575)
scctx->isc_tx_csum_flags |= CSUM_SCTP | CSUM_IP6_SCTP;
More information about the svn-src-all
mailing list