Article View: linux.kernel.netdev
Article #20075Re: [PATCH net-next v2] net/mlx5e: kTLS, Simplify error unwind in mlx5e_ktls_set_feature_rx()
From: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 02:20
Date: Sat, 21 Nov 2026 02:20
26 lines
8773 bytes
8773 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 18 Nov 2026 11:58:46 +0900 you wrote:
> From: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
>
> mlx5e_ktls_set_feature_rx() has become harder to follow: the error
> handling is nested in the conditions and the main flow is conditional.
>
> Handle the disable case first, handle the error cases in conditionals,
> and keep the main flow unconditional. Use goto to unlock on the early
> returns.
>
> [...]
Here is the summary with links:
- [net-next,v2] net/mlx5e: kTLS, Simplify error unwind in mlx5e_ktls_set_feature_rx()
https://git.kernel.org/netdev/net-next/c/d23de0bd0bfd
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179522760553.891197.15403336647032541613.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368270-linux-kernel-netdev=dewy.ruReferences:
<20261118025846.3377199-1-xuanqiang.luo@linux.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368270-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v2] net/mlx5e: kTLS, Simplify error unwind in mlx5e_ktls_set_feature_rx() Date: Sat, 21 Nov 2026 02:20:05 +0000 Organization: Usenet Network Message-ID: <179522760553.891197.15403336647032541613.git-patchwork-notify@kernel.org> References: <20261118025846.3377199-1-xuanqiang.luo@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3318339"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:03+S77HEMV5JU3cjoBkAQQwfqis= sha256:4zKcBnfS25xiNwEFrofFMew16LwT4bXHk6a1qYlxYGI= sha1:efBQqt2LhdAgtO9LEDEt3xCUUsE= sha256:WzgJ7O+LTH+lo7QpQDI4lql6j/iGM0wGkbVNwQpjG7A= 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 38161115B19; Sat, 21 Nov 2026 05:20:24 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[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 ejgbK1EBhEcM; Sat, 21 Nov 2026 05:20:20 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-368270-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 65C12115B17; Sat, 21 Nov 2026 05:20:11 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id F391A612CA7; Sat, 21 Nov 2026 02:20:10 +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=1795227608; b=evclyvhueZSiwaP2NV3eAy/7t67ZlF4YJhWN0S0exrhf+j2wZ+9dyxXpvaphrEY2SPL7 4mFpEFf43pdiHcXyupASB0i99mz/sm8fOvfhtbcJCxhO403I6cKEq3nV6+/HUOTP5U9QA HjlQbf5cxEzdeK8aIb37Kn0tNQ8wbMQJOe6Z9eLA8eHGZ0Pntk0A/T0R7mBHhjn6sJhvx eKQe+gai/Ho5ls1ei7g968tRjSR2swu/8qf4P9HVnP7mLSWVJirMwiWx/Z7+Hs90sgtBP 8GJZoCZ2Q3X5qdhz64SMxOO+GOLe4H5OQ2c/9SPTRAamvFGimBsOeHiNLb5uh0Ktn0Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795227608; 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=5bb5dXJJvw0JnaBAaPJTs5AX0PNe+223A/FD0MAQX1w=; b=E0q0E2jJgIM6I/aC1ifr13mLxtP0EaSkcIpLlZJYQkK6lJ1uTbcN6DWXdkn8Xst2aprx 51MKUFcEwhVu9wmvcH3X1moDRYyloar4beJKnRKomWGlBOtip33fHIJ6eWzsmCK1VVPGj Foi6YZMWz/qQ9GUxDGT3r8oqqBj8r7uAZeF9iGEOS5bPgRY+Cn7C1AOMlI3VKR2VuVUCh saLt1V8htBHgjf99F+SJjj5d37G/u6SBYvwVD6X/+dWnKAHFcrXvK7D+h5eE/dAe4JxKM LHnKhIDsX1iIBsrGyVPZMH/UyTs3Mh5WjcBmgpNrPGlYO0T1aoYlaJa93U/cwa51xOg== 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=kZTJMWXg; 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 EE5A3606A6B1; Sat, 21 Nov 2026 02:20:07 +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=kZTJMWXg 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=1795227607; b=qNXNJ7zUonZONi14T2o7RVWb/HGdbxsfzmAHw1/9W9kq3NoebR1uiBZrGic5LLcGmcfS xBcLubCnUhrDrdUhTWRV7FHPyqUBmHUvmNtKD8nQYL+qbkIZdW/4aCCFSbY+S1AHk05vC 77LMkLeWptgCyFmvIkgxC89outxnCNvdTiDJ+X5yaYKfqyfSapMqw7w2U2oyLckWSSbLC NMQRuv4CV9M0h4fL3KMQdVSReFLpNRSJw1QOnmQuIr3gwd57UAV9onaME3BriHwr8ls94 8PRDWNuJe9+LLBmNYcNzoQiQZrH+FcbSVFAs4NFiIvdy2dGETmsNJcV2Y9viIcoixHw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795227607; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=5bb5dXJJvw0JnaBAaPJTs5AX0PNe+223A/FD0MAQX1w=; b=jFSbgX+chpPj+TcIJfVnbiDKG7sMcAsYVsH7KZeQg+DGBYYr2ye4syMhPkBbZxfWWlPA x7v/5i0NMfJcf+J0xECtNTHRDwewTfH1HpmP0Jf9RC/+Yvj5TP6pwAd1LxujJtfqipX74 wUgALkxEhCbXF+6sAc+mx+RKTi0Jq+L9QbnUJ0vgloLEzxppTKcyR29tlUGU80E02NnAd gQZ4QbP8DE2AsCl5hpX5NW+tou/34RxDCXdoD8FVUuvCnAN0l9MZ7J2tQjhjq8bMpv/fE Y5woyLcLtq/cAOLu9XuAxNpMkx2tTOw2NkzczFZnq1pBokkt+bx62qTjJXqu6QY83lQ== 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=kZTJMWXg; 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 0E2CF606A683; Sat, 21 Nov 2026 02:20:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF50D1F000C4; Sat, 21 Nov 2026 02:20:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795227606; bh=5bb5dXJJvw0JnaBAaPJTs5AX0PNe+223A/FD0MAQX1w=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=kZTJMWXgqlw65cUFpICIoXICOXWUKUeDM8Be5xQ+sRNM42jDRs8aIwBLOnmRn2+sm MARwLqaZlMJSNcfHMvP+lQNPdkG1gR6Cuazq3q17yUiTy5RnwIofUeYba6edWiqesz d4tPQOKiQ9LgDQYqLHngrgS+RkU4gjMy/IImOCCSJWfcGZCp9zD2J0RUZsc9ZPL2hV w+GzVVEMNlTe1Ceh5M+nSDvZthjyJThVgeYARbppih6rNhAD6EwmB1a8Emd/pVA4aq /sjUaIL/LgMiiRCHNibRo6AuxpGBODzqayIAjZiyFzXxhaunCSocVurRCBb+vNkH/V nnSGm57GK5X1g== 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 B45F6380AA5E; Sat, 21 Nov 2026 02:20:06 +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: <20261118025846.3377199-1-xuanqiang.luo@linux.dev> X-Cc: netdev@vger.kernel.org, tariqt@nvidia.com, horms@kernel.org, saeedm@nvidia.com, leon@kernel.org, mbloch@nvidia.com, borisp@nvidia.com, witu@nvidia.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, luoxuanqiang@kylinos.cn