Article View: linux.kernel.netdev
Article #8607Re: [RFC 07/11] eth: ixgbe: use dma_alloc_coherent_node()
From: Jakub Kicinski
Date: Thu, 29 Oct 2026 15:47
Date: Thu, 29 Oct 2026 15:47
11 lines
8563 bytes
8563 bytes
On Thu, 29 Oct 2026 10:17:07 +0100 Marek Szyprowski wrote: > > Agree that it's odd that the caller need to know CMA internals, but I'm > > not sure retrying the entire DMA allocation in the helper is the right > > way. Can the fallback be handled in dma_alloc_contigous()? I would still > > not do that in this series, but keep as is. > > Definitely, I would prefer to add such fallback to dma_alloc_contigous(). Alright, so to be clear the plan is to stick to the "may or may not, good luck" semantics.
Technical Details
Message-ID:
<20261029084756.06a2a827@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353353-linux-kernel-netdev=dewy.ruReferences:
<20261027022528.633359-1-kuba@kernel.org> <20261027022528.633359-8-kuba@kernel.org> <87ecdb5x8k.fsf@all.your.base.are.belong.to.us> <20261027085133.2832f2f5@kernel.org> <87wlr33z6z.fsf@all.your.base.are.belong.to.us> <20261027112003.330bbded@kernel.org> <CGME20261029084721eucas1p20638037770ab8e64e7c25196b49206e0@eucas1p2.samsung.com> <87se1o51wu.fsf@all.your.base.are.belong.to.us> <abae1606-cc43-4ad4-b486-3a6e6aeed1b9@samsung.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353353-linux-kernel-netdev=dewy.ru From: kuba@kernel.org (Jakub Kicinski) Newsgroups: linux.kernel.netdev Subject: Re: [RFC 07/11] eth: ixgbe: use dma_alloc_coherent_node() Date: Thu, 29 Oct 2026 08:47:56 -0700 Organization: Usenet Network Message-ID: <20261029084756.06a2a827@kernel.org> References: <20261027022528.633359-1-kuba@kernel.org> <20261027022528.633359-8-kuba@kernel.org> <87ecdb5x8k.fsf@all.your.base.are.belong.to.us> <20261027085133.2832f2f5@kernel.org> <87wlr33z6z.fsf@all.your.base.are.belong.to.us> <20261027112003.330bbded@kernel.org> <CGME20261029084721eucas1p20638037770ab8e64e7c25196b49206e0@eucas1p2.samsung.com> <87se1o51wu.fsf@all.your.base.are.belong.to.us> <abae1606-cc43-4ad4-b486-3a6e6aeed1b9@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="2037998"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Qycrog1AFkScFnO0symGC0v7F5Y= sha256:i6XTLKGTRYxyaNrQL9jF2r7hiGsr6UIKRZY+yZfjpyA= sha1:a+n8c7xe6GPaABvkpRzwI1hMEbY= sha256:8fOUaPs7D7bW8y25xolhoxuhevm3iaeDEyPkcFcOlPM= 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 D69BD125C6C; Thu, 29 Oct 2026 18:48:20 +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 XlQZPLEZjJ-t; Thu, 29 Oct 2026 18:48:18 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-353353-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 76E7A125C6B; Thu, 29 Oct 2026 18:48:09 +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 493816022F7; Thu, 29 Oct 2026 15:48:02 +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=1793288879; b=B70T3Z64rpnzeQxr+41V41BwtUbwDc6oKDmMhcW2qCMY3iG5my70MCWiiOpyXSLm+/IQ /sP7qaQWSHT1aLu9Hf89OTVHukhlP0DovUlzsKL0CIJjgBYzOOLjRXurj/9nDf14L/BKJ /CG+oh9TpvZ+h2+EKCoPAqLCv13SQB8WYjKdRX4pF7X85XC4XPXb8cVXEfCWk6sxhfXmZ Vn98oEpW04pollLpbursxxVS1TRVuLv/zMH5LinRLWmns0vUosZW0KpAD5lqbR5avStcj k8FWcJPFj9zQQaEx6VU7AmyqFnIZEvfL7HURM3yKN1eyQqpqPz2Of+tTyxdu8TTHiDQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793288879; 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=zYUOhsZYVKoICLqfPzUowk6K3qSd3IEp/G51Twk/WFs=; b=JUFPvTMhEWn8gL/eC33V84Br8ES3EnLpVJp+ecoC/QrDi+3BiRb1LIkZk8+ES5MObSLl qluRGjRilKlPnweE7eX2xu4loUmJk3SbCuBiGX5ieo0egXifYT6haSrl12T3wLQ9iY/Kn 61rgnFdXiZpT8QEUkMgYdL09Rgperj8Kc6i1ImBfu5tdhw8Xt8qVN6sqmnlfIEPEb3OZL cVdpuIiIPAuLxpZ7bBtBlXN29bf+VWMzy1OujVSfK2nnYB7xrFy7ZfuRKLdrWVlJnUAis VlSxPP0RoyoAym0eV7JgLxbQaUR0cCEVb53QOaIVzFEqQaOmeOT0kPf9G9/vA8VdKBg== 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=mx6fRP+u; 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 C2D1A606A325; Thu, 29 Oct 2026 15:47:59 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=mx6fRP+u 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=1793288878; b=WGSvGSofT3hNywWDV3Ad8e7o2geE/f5QbJw/xlNDy62wOBq9rXcOjBK9l53JTgrgWU/6 MdFA4BGnmpOSke+6taTSLbJgGSeF8ADZNRv/gCOHvEDCk6GQi4Q6k+CksqVsPltZ+Hg29 mAnMSoNUnWsHlhAp6rzV6TPIQL4+GCTxPdCNIiWEeldF1yYkvsw8GGi71mzoIBKOFXaXf GjQzFpu5plVd2xU6hTa2Bd7bRZdf7t5Oxp+1/o4+4WzwOlsHjUpzzNnFbsyz07snlGB6S 1bBvewVMWjraHa41cm3QH8FyU5FQbiJgk2WYQEH+GA2y5UAQ5R2cjhzmXqhllQR3VYA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793288878; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=zYUOhsZYVKoICLqfPzUowk6K3qSd3IEp/G51Twk/WFs=; b=UvV6nh5AYGGsXG7FUZowxka2iXpOYKqTvxc/kLieKbSN1H7Vm95g7Q9KPoPQmiCvZy9d CrYexR3STzicFzPWE30mqD5ORkGtiWFhuqKGnza7bh9ciDPA9AwiA31RRe1LYTD+WCnID /9+9wXtmz2291/h6gcNthuGGTgi8IXqZiZJar5ZCsIPPwyFwkVY5NBcUB03JCYyg2Gi+f +dWEkdw3GE7L+0Uw7hbjMpYki52knUE2TCKlvM8HNCBNUtq8sJ+BmoXnm+oie4BExjQz6 uaUDh0XsYr1QOgJ+ctkzHNUBcVGU+Vd3c/K6bnRgLxZQOsrI7FbcbJzCvDVbiGRyaHQ== 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=mx6fRP+u; 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 1E370606A322; Thu, 29 Oct 2026 15:47:57 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 714041F01816; Thu, 29 Oct 2026 15:47:57 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793288877; bh=zYUOhsZYVKoICLqfPzUowk6K3qSd3IEp/G51Twk/WFs=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=mx6fRP+urFBI7/w3piKIXKdAEUQmlOCS+RelWOz8TbQwWt/+WQ1UMSJXClP1y7moY N/Uga8qeP+eYzYxKOrxitAMjvDbVYNYj/7JpUPvKGmW+fU5+WnKY++k0u2pB0YOeZN NwwJhZhc0kveUGrK+PikOxy5AAHM+BJ8CxErRlIijxHgw9JJK0ndrgpJIDxv7WKqiU +Ode/0Am0XCEYucUH7snHCz3GMaJmk0+RhDc1h+Q3bkgw+NmPFPeIS+feasitQMH1B tW91DEy1oslFxMKIX1NvQinPFwqcZNnxauLrtDbiOYmCiTRbYNXMzhMpXOyW/xqVDo OK7/5JdNQjpGQ== X-Cc: Björn Töpel <bjorn@kernel.org>, robin.murphy@arm.com, tglx@kernel.org, dave.hansen@linux.intel.com, x86@kernel.org, joro@8bytes.org, will@kernel.org, leon@kernel.org, mbloch@nvidia.com, iommu@lists.linux.dev, netdev@vger.kernel.org X-In-Reply-To: <abae1606-cc43-4ad4-b486-3a6e6aeed1b9@samsung.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