From nobody Fri Jul 12 11:25:06 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 4WL8QV5lcrz5QBvL; Fri, 12 Jul 2024 11:25:06 +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 4WL8QV3bxzz4j3S; Fri, 12 Jul 2024 11:25:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720783506; 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=sCt3CP9MW9yCIyTG9NQ+w1DsxIT0DinH4oqOA1N4e7Q=; b=tqaKPJe0GqusN+oZFa25itPTdyPCiT98MhNK5U7O6yiSZJJyfDInbxuYA6f1dsELygeMB8 qPeU5HrHomyLBDcnF43zemmrvvH7+Jeea3hYeDbg3tSb3c1FgCFsKM4E/q2piUGGxwhneq jcr/VHisTRqxHW0frdMAii/reycB72v3bzZgeU03Jimj06y/hXovSoPzUvIIjM5zcmkbYH d6ZSfHY3MorAz2VMlrRrBOXm8qARlwtiVjGAdN3jRuK1EvUQJBMtEgcghsbPc67ssW2wCT RHixfRd1qLwrPNZltpZMB2bd5uc3xYJl/mAzvA2ZVuubUvyejXfaFMJblrPiiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720783506; a=rsa-sha256; cv=none; b=AKQcprzr0cdhZoyh4ESXTLLfex0lT1VoHHHH6aGxGqQ5PpLRC4XWAWUJ2v/aOZ6zylPsTk PYKbJtZ3WOMk2fpTFu4OaODwFcEc/74gJBlXM2rEEEGJoS4YQMp7/HaJaOXvMPMBQO7Zox jlsCg8vVOg0vejk6XCPE5grr8UJjTqNQnfGCH4AKSHsrV9IJlWg19XBa2HOyDTqwNdixe0 /mEgB1XmtVa5jA4NwylIhpcB+M5b/UqQJ6JNEH/w7WuFUleTdnL5k+YfsKEjQz9MtPnAE/ Hl4jw/lEEa/Pwp2qlxQGcZBenu06deAijpAY76BioATTg+pYsSML/X3GjWmbNg== 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=1720783506; 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=sCt3CP9MW9yCIyTG9NQ+w1DsxIT0DinH4oqOA1N4e7Q=; b=AsHcyrxtsYyek8CEQR/DUebI8Ues9V5P1dACRTm3fYzJngxgODpXZxaClcaJ3zIui8M2BM 0fMEBge+Fs6VgH6AXFPSQSj9BJ+Z67DBznJ0EVNYBFbb/oG5zoqxI5VVA7RttkNOn3FTk0 pRJROg5/ZA2LHwU8IL/vRTv+7twenwFxQWpsDpKxgoFTnUOG1mapo/TjB2OkCgpHRWKocb B2b0Kvv7Jz4jGv+i5GLHIgWgHHVxM6PHnzzQMXh9nmT5PkfJRqbcH6Z+oHxwojUTj8LSFY 6QZ1psNJ1c41QMocjMPmbqSvLSqdHlkcZXDAKid8lQbjAPTrfn1W+aU8mAx6OA== 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 4WL8QV2ZYrzhGv; Fri, 12 Jul 2024 11:25:06 +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 46CBP6c5093025; Fri, 12 Jul 2024 11:25:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46CBP6eJ093022; Fri, 12 Jul 2024 11:25:06 GMT (envelope-from git) Date: Fri, 12 Jul 2024 11:25:06 GMT Message-Id: <202407121125.46CBP6eJ093022@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: 9d269938e300 - main - ipsec_offload: ifconfig support 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: 9d269938e300a99481e4d28d3a49122201f9bc4f Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9d269938e300a99481e4d28d3a49122201f9bc4f commit 9d269938e300a99481e4d28d3a49122201f9bc4f Author: Konstantin Belousov AuthorDate: 2023-03-30 22:49:08 +0000 Commit: Konstantin Belousov CommitDate: 2024-07-12 03:29:32 +0000 ipsec_offload: ifconfig support Sponsored by: NVIDIA networking --- sbin/ifconfig/ifconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 615de5d4ae14..e6ed9015b34b 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -2144,6 +2144,8 @@ static struct cmd basic_cmds[] = { setifcapnv), DEF_CMD_SARG("-rxtls", "-"IFCAP2_RXTLS4_NAME ",-" IFCAP2_RXTLS6_NAME, setifcapnv), + DEF_CMD_SARG("ipsec", IFCAP2_IPSEC_OFFLOAD_NAME, setifcapnv), + DEF_CMD_SARG("-ipsec", "-"IFCAP2_IPSEC_OFFLOAD_NAME, setifcapnv), DEF_CMD("wol", IFCAP_WOL, setifcap), DEF_CMD("-wol", IFCAP_WOL, clearifcap), DEF_CMD("wol_ucast", IFCAP_WOL_UCAST, setifcap),