git: 5724d23404bf - stable/15 - ixv: Advertise SCTP checksum offload

Kevin Bowling <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a88ed10.22dff.1da07c81__734.812072344937$1787358495$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=5724d23404bf6ed40559b31be258c6b8bf16f9e1

commit 5724d23404bf6ed40559b31be258c6b8bf16f9e1
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-08-08 11:09:21 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-08-22 00:27:19 +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.
    
    (cherry picked from commit 4a13b8a7c5611059384309fdebad8e0fb49a73c2)
---
 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 284d2e7b6d9d..556da3ffbb5a 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.