From nobody Tue Dec 14 19:01:18 2021 X-Original-To: dev-commits-src-all@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 8109918DFB51; Tue, 14 Dec 2021 19:01:19 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JD75B72JRz4mnF; Tue, 14 Dec 2021 19:01:18 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C0BE95BDE; Tue, 14 Dec 2021 19:01:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BEJ1IR9077930; Tue, 14 Dec 2021 19:01:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BEJ1I2i077929; Tue, 14 Dec 2021 19:01:18 GMT (envelope-from git) Date: Tue, 14 Dec 2021 19:01:18 GMT Message-Id: <202112141901.1BEJ1I2i077929@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 7ffc9b15ba9c - main - ktls: Update documentation for software backends. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ffc9b15ba9cd10d3bec232a3741f5fce0b93e7c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639508479; 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=LMo0/HHvFhyNIHZ4RFWN6+ySc+gNjRwiO3cxCR9zz14=; b=BW2XsL+veRWhPqBmTBuxiha0eSKC3FjSLdv+jnL41BfF0ub8bcAVyj0xdPhCNDP93NevNz n4tTuUyCtYlQ8HdA8TjeQcLyp6V4AXHhvX+AE7CravEYdLdcqdRF13tlLfz+gZwapT7ckd DDCLU6z/hrXKgnqVfZJipamv1FNC0fBP00gJ2t9tEZ/EfcVJf8UiTUzgEh4ldV8PhCmHoL Lhzm227LIwMm0DCl9/MvYTFX1RWDAVOtpPM9KIDJ24zR54nRmpTIQz1I7kmuRJC1/PPcTr gtK+IyoR7Knryq5l75ZWdwEUhkghTRt1cBN7VEb3NCi9iVBxE7hhGAH67zK1qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639508479; a=rsa-sha256; cv=none; b=mxNtv407LvROJ1+Q1+W6yXdK1udU2w8fTc61sJwfZNOlvSjCE1BwhBkLEpHcdflJyz1TkS EYcNd8PM/Vdytm2MFhH0lbKVtPRWzLVr68dsFR1qKtlsBEAvtDsnckf83wJY5YRuN5boGI veTC1mSmX0qD2z5RphMin4Ym/Zeauy67U9ybpqvEvQlXoPiwJmnHRP+2HiQ0kNZI0YEuUG WoivQCmusqoCdl5ObvBr3srrkF9hwPU1aaNZ8+avsL6jUS9s/mdcF6wMmBs+Yy54Q6Qfsp sgovaj2XIhEmCCPEIwMyPpTdYkdz4qrjN/ZAeN9UqrRDV2EQA2AKb9hZAikUhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7ffc9b15ba9cd10d3bec232a3741f5fce0b93e7c commit 7ffc9b15ba9cd10d3bec232a3741f5fce0b93e7c Author: John Baldwin AuthorDate: 2021-12-14 19:01:05 +0000 Commit: John Baldwin CommitDate: 2021-12-14 19:01:05 +0000 ktls: Update documentation for software backends. KTLS no longer supports multiple software backends. Instead, it always uses OCF for software crypto. In particular, the ktls_ocf.ko module no longer exists. The OCF bits for KTLS are compiled into th kernel instead. Sponsored by: Netflix --- share/man/man4/ktls.4 | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/share/man/man4/ktls.4 b/share/man/man4/ktls.4 index 876e9fa57ac0..efb5d7e3cc0a 100644 --- a/share/man/man4/ktls.4 +++ b/share/man/man4/ktls.4 @@ -31,7 +31,7 @@ .\" .\" $FreeBSD$ .\" -.Dd May 26, 2021 +.Dd December 14, 2021 .Dt KTLS 4 .Os .Sh NAME @@ -77,10 +77,10 @@ The available modes are: is not enabled. .It Dv TCP_TLS_MODE_SW TLS records are encrypted or decrypted in the kernel in the socket -layer. -Typically the encryption or decryption is performed in software, -but it may also be performed by co-processors via +layer via .Xr crypto 9 . +Typically the encryption or decryption is performed in software, +but it may also be performed by co-processors. .It Dv TCP_TLS_MODE_IFNET TLS records are encrypted or decrypted by the network interface card (NIC). In this mode, the network stack does not work with encrypted data. @@ -204,16 +204,7 @@ The .Va kern.ipc.mb_use_ext_pgs sysctl controls whether the kernel may use unmapped mbufs. They are required for TLS transmit. -.Ss Backends -The base system includes a software backend for the -.Dv TCP_TLS_MODE_SW -mode which uses -.Xr crypto 9 -to encrypt and decrypt TLS records. -This backend can be enabled by loading the -.Pa ktls_ocf.ko -kernel module. -.Pp +.Ss Supported Hardware The .Xr cxgbe 4 and