From nobody Tue May 24 20:59:46 2022 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 75D721B4F365; Tue, 24 May 2022 20:59:47 +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 4L765Z6H4Jz4jm9; Tue, 24 May 2022 20:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653425987; 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=ctXK1UJP4riYZfF31VkCXatx2gRV6YeGBgA+2amuOrM=; b=aKJ0yM6/J4/km+YBkAG6SS98nCHfL1QqMiZnCd7ZhFy7/b5b44nENiyY6IhJxbnFfYyuBh PMN3lWtBA/aWeuc1sR5+KJJPwJHw3Qt/vdfao72w7n2/cD8kzQqNs5srHll44ZPIlovA24 PVZpuqNLKrvyQIQmuCpTUU57B3OxHjZTt/9inaKjUvcp6HLwZ8fh87CShZnwrYQLN7QEHa fKRxQ33/6uS53kdu8QlIPqPh9vsTGsYmBkOolA7axamsk/bdEHX1LLS5G3JOJZVwvB0mPF VQ3oKe9dUffZfly4h3+7FUYKeYEHwveNZvnv6lpm4Vsy2DyEZjQLzFP8ZwfLRA== 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 8A0563CDF; Tue, 24 May 2022 20:59:46 +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 24OKxkwG036603; Tue, 24 May 2022 20:59:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24OKxktB036602; Tue, 24 May 2022 20:59:46 GMT (envelope-from git) Date: Tue, 24 May 2022 20:59:46 GMT Message-Id: <202205242059.24OKxktB036602@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: 6a311e6fa54d - main - Add ifcap2 names for RXTLS4 and RXTLS6 interface capabilities 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6a311e6fa54d0de1860e6a3ad7cd93c14e78a674 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653425987; 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=ctXK1UJP4riYZfF31VkCXatx2gRV6YeGBgA+2amuOrM=; b=hkFnA0xiZamwyJurVPKCl7Tse3yCp45rfusUBv2oZgKuNJ5MjgNcM+eaxNHSnspMMHg4sV sC1GpbCmPAlhqRZS1HFqQHF+Ongegona/uIrSv6gCnYDac8Xhs+3IE16IfA5DeR6N8OX84 SCOrjXxyY36RsPBluYNIe7oI9xgPr+BhdMVAvPBCZa4qBjrwSDExGMwrE0e6UBLjbeAJ/B YTMxbcEJdDOLy7r03irLBYPXzxLFEV62o0nFhse4qH3ad2ASGwNGHl9/7ss95cKUz2Qa8z nD5oPX7L0d9u3W1g7dGmdMPC7IkKAWA9rnAkkrvZR1GeBvxGQ8aNyihiKO9h4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653425987; a=rsa-sha256; cv=none; b=PP4i8vuUqvCdIZZT0InMlBlPs1cktfeJgTcOSBwt2i+Pz9iFFFncqPcqwPheuOoWs+OpZx 8M7bPeGYv2P0KkGIZw+J/gj0Gz7M4rdbMzhSSbfDUnXKtxLh7h3CkWaMCzzhaWs5Cdm257 tHPu9ElUQ4QSiqrjrx9Ag7D0My+kBRQF9VPnDt9Im9la+csSlFO+H7AkVX88FPf41AYXEW waDmpwnG0buY4NbeViT021E3jQEuK+LdhmMEt/Ppo8FmEC/TzBHYzaMJTt+PmvjfA2/lqJ U+xLwnCm1rz4zx/CQG5FGdTmNZFvyMTYQfr4QfG6q+fWPwmq7JNdKthSbEgrjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6a311e6fa54d0de1860e6a3ad7cd93c14e78a674 commit 6a311e6fa54d0de1860e6a3ad7cd93c14e78a674 Author: Konstantin Belousov AuthorDate: 2021-12-15 03:03:23 +0000 Commit: Konstantin Belousov CommitDate: 2022-05-24 20:59:32 +0000 Add ifcap2 names for RXTLS4 and RXTLS6 interface capabilities and corresponding nvlist capabilities name strings. Reviewed by: hselasky, jhb, kp (previous version) Sponsored by: NVIDIA Networking MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D32551 --- sys/net/if.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/net/if.h b/sys/net/if.h index 4bf29193e7ce..301a34c9f54f 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -252,6 +252,9 @@ struct if_data { #define IFCAP_VXLAN_HWTSO 0x40000000 /* can do IFCAP_TSO on VXLANs */ #define IFCAP_TXTLS_RTLMT 0x80000000 /* can do TLS with rate limiting */ +#define IFCAP2_RXTLS4 0x00001 +#define IFCAP2_RXTLS6 0x00002 + #define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6) #define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) @@ -259,6 +262,7 @@ struct if_data { #define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC) #define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6) #define IFCAP_TXTLS (IFCAP_TXTLS4 | IFCAP_TXTLS6) +#define IFCAP2_RXTLS (IFCAP2_RXTLS4 | IFCAP2_RXTLS6) #define IFCAP_CANTCHANGE (IFCAP_NETMAP | IFCAP_NV) #define IFCAP_ALLCAPS 0xffffffff @@ -294,6 +298,8 @@ struct if_data { #define IFCAP_VXLAN_HWCSUM_NAME "VXLAN_HWCSUM" #define IFCAP_VXLAN_HWTSO_NAME "VXLAN_HWTSO" #define IFCAP_TXTLS_RTLMT_NAME "TXTLS_RTLMT" +#define IFCAP2_RXTLS4_NAME "RXTLS4" +#define IFCAP2_RXTLS6_NAME "RXTLS6" #define IFQ_MAXLEN 50 #define IFNET_SLOWHZ 1 /* granularity is 1 second */