Article View: linux.kernel.netdev
Article #18843Re: [PATCH net] net/smc: set the lkey of every SGE in smcr_tx_rdma_writes()
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 00:10
Date: Thu, 19 Nov 2026 00:10
29 lines
9149 bytes
9149 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sat, 14 Nov 2026 09:14:58 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@proton.me>
>
> smcr_tx_rdma_writes() sets the lkey of an SGE only for a virtually
> contiguous send buffer; for a physically contiguous one it leaves the
> lkey the work request slot already holds. With net.smc.smcr_buf_type=2
> a send buffer falls back to vzalloc() when alloc_pages() fails, so one
> link carries both kinds, and a slot last used by a virtually contiguous
> buffer posts the DMA address of a physically contiguous one under the
> earlier buffer's MR lkey. That write fails, the link goes down and,
> with no link to switch to, the link group is terminated with all of
> its connections.
>
> [...]
Here is the summary with links:
- [net] net/smc: set the lkey of every SGE in smcr_tx_rdma_writes()
https://git.kernel.org/netdev/net-next/c/752c59c85423
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179504701752.2637749.9567972883939360454.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366560-linux-kernel-netdev=dewy.ruReferences:
<20261114-b4-disp-dd99cd41-v1-1-009e1c022346@proton.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366560-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/smc: set the lkey of every SGE in smcr_tx_rdma_writes() Date: Thu, 19 Nov 2026 00:10:17 +0000 Organization: Usenet Network Message-ID: <179504701752.2637749.9567972883939360454.git-patchwork-notify@kernel.org> References: <20261114-b4-disp-dd99cd41-v1-1-009e1c022346@proton.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2737490"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:b4BLm1CCP2Tfbb2krMkp7chsk/M= sha256:LP6zvvupCDybxLbO8sv+YlPJckh+5q2c5keIdRCllk0= sha1:DF7ePjMskAYKs+ZHQyr/mmBPTas= sha256:dbaY6KoUXmOwGzHv394aIoUfEOZfykfHx0crsI8h8FA= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id D33E0115445; Thu, 19 Nov 2026 03:11:10 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zAoIBpf2jvpU; Thu, 19 Nov 2026 03:11:06 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-366560-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id A488211543B; Thu, 19 Nov 2026 03:10:58 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 6F1611C3E80; Thu, 19 Nov 2026 00:10:46 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795047020; b=p+tNFJQteYOpBrURU1RmVM4WQB085/nlCIeVR15FVjp4075odtPC119uwaMbRdRgd3Pz rf+LSm2wKjzTbfbugUwEmcO05PGjdut3K/6z0nVzDZ/zpVsKsubeSwwQ/fYxNW/qZyQXj fO+u8X+jmRfcFumqMNiDNUge/26eVgyhEda08SbsFFOK8oPmcLM9iiednlZ8U0zOsJk3+ Ie+z/KXIRHddiWjbLr8uEmzU5uZxrT94nm53ADNSTSJZrxFA0pBs6/6mOb/MNEFRphR9Z 6jvdFdjkZ+Eau9I3RhkW6cCHZ+DTWX20gYl4Cb2iZs7eLPe+AOGv/Wm9D7ZrN/NynqA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795047020; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=9DdegPMLQ2pfaXK5/7QOz67S/60AgrqPFSiPq7PN+r8=; b=y8+uoJteK+TwxDbXDaFRFExGoVW6/pH9Pgg0DYu1OalmFirjJWL3tL+tihsSsTrsED21 RtzlCVuiXhEzn6Nply7V4ZIZHAvQzT5+Du5kXXQdyE/fyQ9WZLTbuMbmLoxylst+AVZ8C F1xnsFNB1pIiFPbRAps6ItyGXk8x0qe6bRVSS6VxIGrb4JS0gX8fv9Ln0t71vnr83ohFS KfpM+6p22r3Rmz3VemDglZJY1R/vScDCQGXHPrdJSx7boHAF0FG+/vpAwLCJGJTJ/u/nv U6gfr8MtG8+IJLQ98DgiRoo+QjBoYZgi0tveAKQFZr5IPqQSwmoFFpfGVu+47DfQIMA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Vx5X83iC; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B94A60A5BC6; Thu, 19 Nov 2026 00:10:20 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Vx5X83iC X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795047019; b=QezBtyU8WUg1s5C1A+mQy/DvNper9DRnZGCNBTdQ2bU/YfDFMhGlmPPyi9ryOg1xWlL3 n87/Cfd4rL8H4VdVRhiHZ3OhFb6pKflEpZk+xejOpMR99iDfs0K71TMwxgvoxmXMeOpR9 4mBL1+z+7EtMfa0Ed1bZ1UiO82VKGgQhsHXwQDgwRAygMPtZEkXVMEr165QFa+4qw35a2 oNnpkZgO7XZZTPmYmjbwj4DQvzEOX+EtCnFQnnKDgbuy2xIXZjY0HChq1KXnTEicZr2If oWszckKEMFlaGrlr6+RWGHZ8lXin6ONtck/7A9ajwTwLuP4GtG239RFyGd0sSE8zShg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795047019; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=9DdegPMLQ2pfaXK5/7QOz67S/60AgrqPFSiPq7PN+r8=; b=IXYLyXdaEBoHoIo/GrJ7zOpG4zgCOYoRvcHj7lot479wX3gm5qXPKI3Hbqyp/nkhqGDA gYveiujueBbOl6Q1K4UTvdF6EyGV6y0ZZeJFLLnusBBCx6j79MmdY0VRknmqowEjyB1RL AlRnKWajOZKCiTf4J/dc5oKno9DuHSqEcKB+W8qqKwoVzeVzAvTVOtdzeScR20RbfLMmL Z4SMfvPdITSTk9Hfai95ZzS9jHH63qGVBAJtzbdQGxYophpHJdofK3ZCDCcP+EgYTe/Jg 4SxV1D2yG21VGghLYIFADt+PsG4cbLA3pOCIW7xjgW8fe9nAK8xc/PhrFiVKPHe/a4Q== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Vx5X83iC; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A89960A3834; Thu, 19 Nov 2026 00:10:19 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 065331F000C4; Thu, 19 Nov 2026 00:10:19 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795047019; bh=9DdegPMLQ2pfaXK5/7QOz67S/60AgrqPFSiPq7PN+r8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Vx5X83iCPc1PfYSQqI/bUfkjxxmP6l45i6IX2VuAUM6UdIEX/A1wWk9kVtyYfxFYf 5+ViOfUci7Dhc667M2arkYICDZY/pKBw91IT5mh59+SJCpooHDQRAhdAjrMx5jOdKC 07jMCEJgAecFHLmlC8jo3jCj+kHCZeSKA2MvRRnPbVv4j/V6mRvTumxytCkCKF7dtL XoRYGqd67lWcuAL8qrKE+bK6uNtSDTI7/L+ItVzSDtfxFO4jVxud3c0tfkUbS85fuQ ht5PryTHSQkdfQYJP7fkEnKRUXORsVSx2+UFZO7mTmo4DEJpgRzZVgP5mwwl1cCK/0 bxGnT6WKnJaqg== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F15173808210; Thu, 19 Nov 2026 00:10:18 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261114-b4-disp-dd99cd41-v1-1-009e1c022346@proton.me> X-Cc: edumazet@kernel.org, mjambigi@linux.ibm.com, pabeni@redhat.com, kuba@kernel.org, alibuda@linux.alibaba.com, sidraya@linux.ibm.com, davem@davemloft.net, dust.li@linux.alibaba.com, horms@kernel.org, tonylu@linux.alibaba.com, linux-rdma@vger.kernel.org, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, guwen@linux.alibaba.com