Date: Sat, 08 Aug 2026 12:01:53 +0000 From: Kevin Bowling <kbowling@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4a13b8a7c561 - main - ixv: Advertise SCTP checksum offload Message-ID: <6a771ab1.379c3.7ff17701@gitrepo.freebsd.org>
index | next in thread | raw e-mail
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;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a771ab1.379c3.7ff17701>
