git: 4a13b8a7c561 - main - ixv: Advertise SCTP checksum offload

Kevin Bowling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a771ab1.379c3.7ff17701__39344.9243668996$1786190529$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=4a13b8a7c5611059384309fdebad8e0fb49a73c2

commit 4a13b8a7c5611059384309fdebad8e0fb49a73c2
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-08-08 11:09:21 +0000
Commit:     Kevin Bowling <[email protected]>
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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.