Article View: linux.kernel.netdev
Article #14846Re: [PATCH net] net: ena: avoid double-counting TX DMA mappings on failure
From: Jakub Kicinski
Date: Thu, 12 Nov 2026 02:26
Date: Thu, 12 Nov 2026 02:26
37 lines
9534 bytes
9534 bytes
On Thu, 12 Nov 2026 01:30:29 +0000 Kiyanovski, Arthur wrote: > > On Wed, 11 Nov 2026 23:39:58 +0000 Arthur Kiyanovski wrote: > > > Therefore please do the following: > > > > > > 1. Add a From: tag to give credit to Evgeny Ostrovsky, who wrote this fix > > > (without leading "-"): > > > > > > - From: Evgeny Ostrovsky <evostrov@amazon.com> > > > > Unclear whether that's warranted TBH. > > Avi is making the effort to upstream the fix, they deserve the credit. > > > > > This should be first line before "ena_tx_map_skb() increme..." > > > > > > 2. Evgeny has agreed, please also add (without leading "-"): > > > > > > - Signed-off-by: Evgeny Ostrovsky <evostrov@amazon.com> > > > > SoB indeed seems appropriate if the patch is based on prior work. > > The commit code (as well as the other 2 that were already merged) > Are copies of fixes that we already published in our github driver. I get that, but it sat on your GH for 3+ years. At some point the code sitting somewhere on GH becomes just a GPL(?) code drop and the history is irrelevant. > This is the first time I encountered such a case so I searched > how to give credit to the person who originally implemented the fixes. > > If you feel like SOB is enough I'm OK with it. Thanks. Also first time I'm seeing this. I'd prefer to give the credit to the person who cared enough to push the code upstream. Or differently put - the best solution going forward would be if you made sure to upstream ENA fixes from your team in a timely fashion :)
Technical Details
Message-ID:
<20261111182616.631c9e0e@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361462-linux-kernel-netdev=dewy.ruReferences:
<20261109123934.824610-2-thnkslprpt@gmail.com> <179444039825.7144.5680478965949082764.b4-review@b4> <20261111171127.7ce982b5@kernel.org> <BYAPR18MB26005ED8BFAB5DEBB6D02B63D9702@BYAPR18MB2600.namprd18.prod.outlook.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361462-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net: ena: avoid double-counting TX DMA mappings on failure Date: Wed, 11 Nov 2026 18:26:16 -0800 Organization: Usenet Network Message-ID: <20261111182616.631c9e0e@kernel.org> References: <20261109123934.824610-2-thnkslprpt@gmail.com> <179444039825.7144.5680478965949082764.b4-review@b4> <20261111171127.7ce982b5@kernel.org> <BYAPR18MB26005ED8BFAB5DEBB6D02B63D9702@BYAPR18MB2600.namprd18.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="989785"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ry7t2c4tsAcj2QKpelZHSNtI/hw= sha256:7KdIPuiYPOP/gh28batRi4Sp3Cc9IdoqWPXtIU2QFGo= sha1:E3PfGKV0YLXHciZIYEmlGRr7W0k= sha256:91migRWXgLSSXUL5X+LkonpyE3Ung0PAZX2Fp9Zuj04= 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 A8BBF1140D1; Thu, 12 Nov 2026 05:26:35 +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 6wRXI2y6B_7e; Thu, 12 Nov 2026 05:26:32 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-361462-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 555B211408F; Thu, 12 Nov 2026 05:26:21 +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 AB72B61488D; Thu, 12 Nov 2026 02:26:19 +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=1794450378; b=dkcORYSrVdCFge6X7ATtA6RLLHF6Hrz/OnjGMUEf59GYJVfCCXLh+0lu5b1SP6iw136e DxvZM4WpJJoyK7aGbNa2dDbfKL0Ph8flFKm4t+Z5y7brqhHE1oRpEvp6IzVZQcxr+mR1D R/Lj1nwI/ZYODOK4iKofqSvoYVMNr1DCdijt9N+GfhKqDjqpQq6c8TEmfC4nQCHCMZeuk 1zwHCzJEZNe6Ugin5RL2/DHxU/F3Xo1AiR7WogVzf86oWk19a1qXT5zclRIuyGpCpC52/ HdeZxkancmQDFq0+TfkmhinToEEMVfGE6C3STKu73TXssu59EWWpJeooJwxtxaVCe/g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794450378; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=ivaEEWTzoqwO0D7EurcMjNHq2ikATNWECtT5fWFlFMg=; b=bjP3f0aUUJWvtk4GHEYsr+FvGTFBI56RtZnuVOGESrDR1XvMHfxqdvDH5O/q86EeI6bu NJaTeROEOZ+HBLcug5GZk9DWBo55z3/tI+hNZfI7JJNdM6WSzUAhsLKaicY+oiw2nKi3Q srPtAU6C80BbkkgM5cYeGHFeCKrzmUKXoPczD84h90FPNn/0pkKobo8Vhft+gTkz94rOS FUZGad5ER8QQ8e1j1kYHEP1LDwHthaQxEAi4FHoh5gD/9dQeki/pg5P4pvWGbKiYi1448 yndMmxkFyUqz+an4m9WPtBwIIxQ8Lj6Kle4TAC5F0ZU9J7i+OVx4c3WVtIVz6Q4enEA== 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=QFjhtMJQ; 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 C18BD606A32A; Thu, 12 Nov 2026 02:26:18 +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=QFjhtMJQ 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=1794450378; b=I2naez42wIBbf93INhNTRoe/dLeJhN2on7Tyx+k1N//47N6IuIkblBTau81g9PO/MIuO RFVMjVBF/mCuKu/avhzkHaDwBMcrq2WTdYYYnVvOJWrjXDDjwea/iPsCIYeJHJzwVaYIP fcL5z7aK9NeJfJ4SqwH+rPqwgA5ABKMbmkTOBdh4F62pKM5UiAeAUHMCFsKSL4tI/2cz+ P+NpozkEMJImqBGT8H/dEPxQ7lto8O8cSP//Q3z2y+NtGmWz6tqjOUUh/9J53d56ti8DK lffbiax4LYiugnzxj0gQ2+waRB/o0mSvljlQuXk39kVuV+/LcYMt79AXVbhlvlAgUjg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794450378; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=ivaEEWTzoqwO0D7EurcMjNHq2ikATNWECtT5fWFlFMg=; b=3aLDirkg/e9tsgHtRkdJVlAvyehv38awwz1F0n8Uke4xxYNB1/g2q47eFeNr2bAVF+aH C0kOd4N0/4bFpw0eBnbpC1gHnBpo+9VzePSK734v1OGdHmQrzoEY4PuQMiO+gPkHTTouU Eed00GOigVGc0v+mJVW8geP4IQvNYBny9SGm5F6kc0ApsLT0qmu00rAzE/WrrWglDycTW yVno6A9dzv6dC6qhYtMH1byfHureQlnmIlw2RfjMvi6VGjAq9TS6XEBXZ3NiHfaaiR6MW ULbUvbR9eBhfd8Gm7hcpx1fYoCRjEDG2KacgvZbWjjb1VNTolh3SU/Ns0KX42LF3/ww== 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=QFjhtMJQ; 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 E0757606A326 for <netdev@vger.kernel.org>; Thu, 12 Nov 2026 02:26:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B04E1F00A05; Thu, 12 Nov 2026 02:26:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794450377; bh=ivaEEWTzoqwO0D7EurcMjNHq2ikATNWECtT5fWFlFMg=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=QFjhtMJQbqRmDp8vXN4ABMEcLjpfUlNVGnpPfRckPKl1UNEm99kiLT0z2cAt9NU27 y+sknb0HOyPWMbU/CLDsiXzmFqfF9GcrrQAghzqSaCz3yb51AeNw/ireq+me6428P6 P5Y1nDIs7ci1bi8dtEduzHMHMIfHoEcP83Zg+htfIPxsGDSDLu2faND8YEJ532iBOP ZDR8HwsrU4M8paxWSg359zDRLK4wW0kdsPQkh5HMhh/d3SVUb9+jvDf9IyVx95B58+ 1BYFExumW3cfVipBBt1MB0Lzbx1kqYaeRsaY+GsgS4xEhI/a1z/CJrLqObWwQTlati /S4p64H1Kfw0A== X-Cc: Avi Weiss <thnkslprpt@gmail.com>, "Arinzon, David" <darinzon@amazon.com>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, Andrew Lunn <andrew+netdev@lunn.ch>, "David S . Miller" <davem@davemloft.net>, "Eric Dumazet" <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, "Brandes, Shai" <shaibran@amazon.com> X-In-Reply-To: <BYAPR18MB26005ED8BFAB5DEBB6D02B63D9702@BYAPR18MB2600.namprd18.prod.outlook.com> 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