mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
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
This commit is contained in:
parent
acc173a6aa
commit
73ed47f04f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue