git: 4a13b8a7c561 - main - ixv: Advertise SCTP checksum offload
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Aug 2026 12:01:53 UTC
The branch main has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a13b8a7c5611059384309fdebad8e0fb49a73c2
commit 4a13b8a7c5611059384309fdebad8e0fb49a73c2
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-08-08 11:09:21 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-08 12:01:40 +0000
ixv: Advertise SCTP checksum offload
The shared ixgbe transmit path already creates SCTP context
descriptors, and the hardware exposes the same checksum capability to
VFs. Advertise it through iflib as the PF driver does.
MFC after: 2 weeks
---
sys/dev/ixgbe/if_ixv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c
index 015347b69124..ae7f1a64babb 100644
--- a/sys/dev/ixgbe/if_ixv.c
+++ b/sys/dev/ixgbe/if_ixv.c
@@ -498,7 +498,8 @@ ixv_if_attach_pre(if_ctx_t ctx)
DBA_ALIGN);
/* XXX */
scctx->isc_tx_csum_flags = CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_TSO |
- CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_TSO;
+ CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_TSO | CSUM_SCTP |
+ CSUM_IP6_SCTP;
scctx->isc_tx_nsegments = IXGBE_82599_SCATTER;
scctx->isc_msix_bar = pci_msix_table_bar(dev);
scctx->isc_tx_tso_segments_max = scctx->isc_tx_nsegments;