From nobody Thu Jul 17 09:36:49 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bjSVp3ZdTz62kLS; Thu, 17 Jul 2025 09:36:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bjSVn6bWTz49LR; Thu, 17 Jul 2025 09:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752745009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xVYM72T71Er/K0eFvFUs6XfYKvhrw1ZzdR4Ybi5CBOA=; b=ipDWmJxO+ANYlb/IgSSOEjSCvEamja84Du5OiufR0DiBaMFzS76lQt8AT+NPvj0JLYktGn KsyeTWJzLQl95MauSg5zhUofsNs2fGKh5maWRnnGUFKkv3pQofb1NSp4FrPKxCzk2JEHQy AHPYZP0ZKIth6GJeM3gH3tltUX/a34FlTykfE9Yex2QQyP29V4AGuSc4poY0m1nH7SYwBa a6DoFs0UR+dpM+zn2TAU+UHk3DhQs3z8HuXO2pkhAdgDcrIJZPRNKTRCFUL6ciPqKdogxY PwPX5xyVsBsz6JJaC4EGE3y+UVxH4F3NuGcblKLMJL8IHbsgiEMeo6FDFYG2Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752745009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xVYM72T71Er/K0eFvFUs6XfYKvhrw1ZzdR4Ybi5CBOA=; b=OaNvSCU6G6S529CtKmT99GdeZUvSba9eNjPVLl7r+TdDkS/QlBr6hFiSwaUbQrtUCdRQt5 EmkvwpBYpeaomALL17V5GHgvcW2GLJa+ipZEPfWGJ7rdOyHf2NRH2+SJkYLpQGnhmrQ0Th kkQZ+hGs2Zx6aNPQvgE5JkodhK57zgwQucjdrmTVa8t0QPrO8q9aKP8Ejy1ELAXgjsAI30 Rqgxe5tOQCoui18kkzTBKYsE75N3xv63nw5TtIYnMMET0ZgNRQ6LPV2tdMjXZikiLP3Fvx aYrXzpXUSOl47l4RmioiY2q5DHC10eAVIEKRw/cwocCu0oa+PUZuj8U38O9umA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752745009; a=rsa-sha256; cv=none; b=dE35Q/jv3QrnXu43iI6EVRVbEgOCTVOMNWHPhmBrUFsANpg4HcK07ouf1hCg3qdEiewryX SheqEXYLyB/qGv2VBEtSH2fzPKrn6Oilv+37iojh7/liJ3Nq0zqElEsmCIng4Cgc95z3dp X9Yn1KJCrwbyM9xhF+JktJm2tsowXc/14DnvOhgbR8BjbcIYjqwjLy5HTjTInL6YoM0kk+ zpS/3+alm/+77xc1xQYjMDGyAsxhWeztZBhSf7QTYcKnJG5xFODS/NvsDV97RdICiMXamM JuOPgZOp3slYBR5W911PALMkaGIt7wFFTh/AwheZfzcE8VBB0kHCFd9NrGdFPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bjSVn60YDzqY7; Thu, 17 Jul 2025 09:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56H9anqK003454; Thu, 17 Jul 2025 09:36:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56H9anal003451; Thu, 17 Jul 2025 09:36:49 GMT (envelope-from git) Date: Thu, 17 Jul 2025 09:36:49 GMT Message-Id: <202507170936.56H9anal003451@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: b494e256a492 - main - ipsec offload: add xform_history to the ipsec_accel_in_tag List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b494e256a492c3d26eadfec9cd45956fb2d9c72e Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b494e256a492c3d26eadfec9cd45956fb2d9c72e commit b494e256a492c3d26eadfec9cd45956fb2d9c72e Author: Konstantin Belousov AuthorDate: 2025-07-07 22:30:42 +0000 Commit: Konstantin Belousov CommitDate: 2025-07-17 09:36:22 +0000 ipsec offload: add xform_history to the ipsec_accel_in_tag The layout makes ipsec_accel_in_tag compatible with PACKET_TAG_IPSEC_IN_DONE. Reviewed by: Ariel Ehrenberg , slavash Sponsored by: Nvidia networking --- sys/netipsec/ipsec_offload.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netipsec/ipsec_offload.h b/sys/netipsec/ipsec_offload.h index 6e374d721a4f..fb8cd7438598 100644 --- a/sys/netipsec/ipsec_offload.h +++ b/sys/netipsec/ipsec_offload.h @@ -30,6 +30,7 @@ #include #include #include +#include struct secpolicy; struct secasvar; @@ -42,6 +43,7 @@ struct ipsec_accel_out_tag { struct ipsec_accel_in_tag { struct m_tag tag; + struct xform_history xh; /* Must be first to mimic IPSEC_IN_DONE */ uint16_t drv_spi; };