From nobody Fri Jul 12 11:24:57 2024 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 4WL8QK5181z5QBpQ; Fri, 12 Jul 2024 11:24:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WL8QK2VKjz4htH; Fri, 12 Jul 2024 11:24:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720783497; 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=Nd6SlqqoJ6Xt7Z6r5jkNy9oovxYvRLMqHEim4f1YLRI=; b=tER+siZ92v8HehGZO3nfLNBoMU7YJ7HRpcrhr9pPnjOpjl5aFs2Ndhsid5paxqjKzxxHDH +b0Wyg6YCQ0S4YaWczp8Q5uNLfxk8yIPDyPs5kdlhxpXvUC9FsWFBNmMNZkEfEVT3ILpZU YbwNMXjNT0GjrSjr7730kj9YyC9sCLOaRpQJjhF8mpn9h1aP4EmMy65GTV8dr1wYo7eY+L n2V5XFtoB523mNlxz5wZfeiD1Kz346w6E3TzFPTAofLVfG4KO973630Ls4lgWGSDjaRZvq u7+pXSJiS2EIgNuOjZW04excMr9WhxVM1om9GIrZhz8f3IZgjLFy5lvYHsiLgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720783497; a=rsa-sha256; cv=none; b=j+uPBpqJtlAsrNWCPQ1qDXnOZyVvLkvDVCJROK6EIFr07G2nuk6/SKtYD+PPUEIgc0UaMP dckXs6ebW8gfWl8rXi8eHrNReCaXDOWHYFPFYcQpXMrwEUSv7QEZI3hUr4qa933+vh/5dn OoL1gaChOrNKaPJ41w6zfoUNk9uiwP4YFLc4NIeb3rMl/nY9k9YOq5ruUDc9bdlUy1am54 oisWEkt1BrNqjoU94EjKRxvjJwLx2CWJFliaUlO3OnHPxOdSvahTe915deRB9NTQfOdsc2 LdD0Tug5MtVXo2u4xm18UJJ8aWN+fBNCDZYbaoWBKPTf6NJCOGIBB1k+jClJoA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720783497; 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=Nd6SlqqoJ6Xt7Z6r5jkNy9oovxYvRLMqHEim4f1YLRI=; b=hBRdFrw/cuXOWefaEw9KGgz9dANLk3qNIhjWXObW8yzs4lwOC51I3ixaAYIb67YkRcjzJ7 uK2SlqYX30Uws32uIfke4WQt/Ii+MKLJK5ygSViUdC2I9xE/Csk5bFC13CGEDACucZaTBv PzDwbvHuI7G7iQcFUri4xi41d3iS+/2mQiO+LSwkIvrA0+RCpACexNVC2DJ9diBuCwGnVl A1rAIMsVj98ZrytvywbppuMnaK6Yty28PbZQGTkMjp5QTgI0lf9nzpYGcTvPsyGTTl4R0V 0nWRmGdGre6pQJ3F3l1ms7VoDNp2yWhfHHeJB3GNog1C489DgJ4dbSMIdgcStA== 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 4WL8QK26NKzgwn; Fri, 12 Jul 2024 11:24:57 +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 46CBOv0g092594; Fri, 12 Jul 2024 11:24:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46CBOvqp092591; Fri, 12 Jul 2024 11:24:57 GMT (envelope-from git) Date: Fri, 12 Jul 2024 11:24:57 GMT Message-Id: <202407121124.46CBOvqp092591@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: 3673801f5306 - main - Define mbuf tags for IPSEC_ACCEL in/out with ABI_COMPAT 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: 3673801f53065529092ea22ecc2a07f306b984f2 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3673801f53065529092ea22ecc2a07f306b984f2 commit 3673801f53065529092ea22ecc2a07f306b984f2 Author: Konstantin Belousov AuthorDate: 2024-02-07 01:48:00 +0000 Commit: Konstantin Belousov CommitDate: 2024-07-12 03:29:31 +0000 Define mbuf tags for IPSEC_ACCEL in/out with ABI_COMPAT The tags are used to pass the information about SA to/from the driver doing inline IPSEC offload. Sponsored by: NVIDIA networking --- sys/sys/mbuf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 6e8454ea62d6..ab494a76833e 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1386,6 +1386,8 @@ extern bool mb_use_ext_pgs; /* Use ext_pgs for sendfile */ #define PACKET_TAG_IPSEC_NAT_T_PORTS 29 /* two uint16_t */ #define PACKET_TAG_ND_OUTGOING 30 /* ND outgoing */ #define PACKET_TAG_PF_REASSEMBLED 31 +#define PACKET_TAG_IPSEC_ACCEL_OUT 32 /* IPSEC accel out */ +#define PACKET_TAG_IPSEC_ACCEL_IN 33 /* IPSEC accel in */ /* Specific cookies and tags. */