From nobody Wed Apr 13 04:41:40 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 A71FD1B059CF; Wed, 13 Apr 2022 04:41:40 +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 4KdVKw4NJFz3NF7; Wed, 13 Apr 2022 04:41:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649824900; 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=NBN3ERv5G1yn8ZYAXx6+CRmGienOTalXBJVo1u4NEbg=; b=hkCZoSOwzWRdXndHHnnb3f374OpNmCN3Qi4vhIooxNu8V8aag+XfUMDTyBFeJiwhIKkzlY zfkPHiT/85pr8xOrzp5Q/hUNXgs0TxAIMZmO9E9vGx+s35/K7J5WiQhTFHx0C1/xP3r2mL P6AQ/NCVRHK92M0hmMAYPIfo9FGB2MKOXfghar+pKW2aDVXTblc6MT24n2QFrQwpjD3CFY 2CJ2v91RzNjGEPf/BHGjqehy1mtAqmAWA10U8d15AHbc13zTRU33sczyaMJzvwbG69u3q0 f4sPrNen1Er5z8GuE5nK4cmPrPtoUc1lnEfkLs/iznHzRuNZJEzgx5WUmBm9cA== 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 7651C25074; Wed, 13 Apr 2022 04:41:40 +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 23D4feY9085721; Wed, 13 Apr 2022 04:41:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23D4fevc085719; Wed, 13 Apr 2022 04:41:40 GMT (envelope-from git) Date: Wed, 13 Apr 2022 04:41:40 GMT Message-Id: <202204130441.23D4fevc085719@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: f8058d333374 - main - cxgbe/cxgbei: Allow max PDU payload lengths to be changed with a sysctl. 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: np X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f8058d33337425549e42dcccdd0f55c837bb8775 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649824900; 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=NBN3ERv5G1yn8ZYAXx6+CRmGienOTalXBJVo1u4NEbg=; b=toZv5jiQmxlrhiLBzsOpKuOYCV2P/OUuPgdbcztoBlCI4X0UD1Y94c7GPUKmerTH6PBoPk 05dwn0umzXjryaJqWOgUkLqNo8cIZKa4AD/jqHZcRr0LmJFxrxXrPtwTmD/yACxwRNeIaM PwA3sKvXftXaehuIwybpnfRwjwWTnmlD524HfpNIFvwQRIjBnoissad/ekyV+3aSpiwY/A ibkNbbCpvEO+dAzQZ/EHWvpV+nauEarLmkwbMh1m/e79OzPudoGjDGHHZ+hS70ceedGBBe ZWuQ60zYZ/Z6JMKK6KbwZsoeKt6EGlpaT/zNur6EpnKM/x/jtLNpFxmRR4zABA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649824900; a=rsa-sha256; cv=none; b=lYRCeMhv3UVyMcqG1ONCwSWnqXkYeLDUhHt75wxgcuoWbNAaDCWBBwMMPndGAuSBeudRhp NynmsyY3pwccph1jMcgMvRajTdL6EFk7OCrZz1/VS9gyfD+XZg0XRci7qZwpskqif43sqf +83mG3Po+1ukYzDRdSevlh0df5300BRid43ak+xGRYuVQ9RP4xusIkRQzDbawQDMmhX6Bo fPVIPFLFucSBA3ONUlxi7tVnG61MIch6qgwrmv+sX92AO81irpqhQzY+wxFN3nXQAaZ/46 zbVG9E6MS85PItYstZmInsoalg84UwkTLXouBo2Zrr053bm2Tqvr8/R3HeJQZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=f8058d33337425549e42dcccdd0f55c837bb8775 commit f8058d33337425549e42dcccdd0f55c837bb8775 Author: Navdeep Parhar AuthorDate: 2022-01-25 22:27:28 +0000 Commit: Navdeep Parhar CommitDate: 2022-04-13 04:35:29 +0000 cxgbe/cxgbei: Allow max PDU payload lengths to be changed with a sysctl. New connections will use the new values. Existing connections are not affected. Obtained from: jhb@ MFC after: 3 weeks Sponsored by: Chelsio Communications --- sys/dev/cxgbe/cxgbei/cxgbei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/cxgbe/cxgbei/cxgbei.c b/sys/dev/cxgbe/cxgbei/cxgbei.c index 979feace81dd..ad66247775e1 100644 --- a/sys/dev/cxgbe/cxgbei/cxgbei.c +++ b/sys/dev/cxgbe/cxgbei/cxgbei.c @@ -197,10 +197,10 @@ cxgbei_init(struct adapter *sc, struct cxgbei_data *ci) CTLFLAG_RW, &ci->ddp_threshold, 0, "Rx zero copy threshold"); SYSCTL_ADD_UINT(&ci->ctx, children, OID_AUTO, "max_rx_data_len", - CTLFLAG_RD, &ci->max_rx_data_len, 0, + CTLFLAG_RW, &ci->max_rx_data_len, 0, "Maximum receive data segment length"); SYSCTL_ADD_UINT(&ci->ctx, children, OID_AUTO, "max_tx_data_len", - CTLFLAG_RD, &ci->max_tx_data_len, 0, + CTLFLAG_RW, &ci->max_tx_data_len, 0, "Maximum transmit data segment length"); return (0);