🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #217

Re: [PATCH 1/1] net: ethernet: micrel: ks8842: use dmaengine_submit() instead of ->tx_submit()

#217
From: Vinod Koul
Date: Wed, 07 Oct 2026 15:11
25 lines
6359 bytes
On 07-10-26, 15:43, Simon Horman wrote:
> On Fri, Oct 02, 2026 at 03:30:19PM -0400, Frank.Li@oss.nxp.com wrote:
> > From: Frank Li <Frank.Li@nxp.com>
> > 
> > Replace direct dma_async_tx_descriptor->tx_submit() calls with the
> > proper dmaengine_submit() API wrapper.
> > 
> > Assisted-by: LLM
> > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> 
> Hi Frank,
> 
> Is there a back-story to this change?
> Is it part of something larger?

Yep, Frank has been fixing direct calls with wrappers with aim to
eventually start moving dmaengine guts internal and have a good
consumer/provider split of the engine and objects

> In face value it looks like a cleanup to an unmaintained driver.
> And if so, I'm not sure it's worth the churn.

-- 
~Vinod
Technical Details
Message-ID: <asZhHwzXU1sdk3TH@parshuram>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342387-linux-kernel-netdev=dewy.ru
References: <20261002193022.168248-1-Frank.Li@oss.nxp.com> <20261007144334.GR83879@horms.kernel.org>

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-342387-linux-kernel-netdev=dewy.ru
From: vkoul@kernel.org (Vinod Koul)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 1/1] net: ethernet: micrel: ks8842: use
 dmaengine_submit() instead of ->tx_submit()
Date: Wed, 7 Oct 2026 17:11:27 +0200
Organization: Usenet Network
Message-ID: <asZhHwzXU1sdk3TH@parshuram>
References: <20261002193022.168248-1-Frank.Li@oss.nxp.com>
 <20261007144334.GR83879@horms.kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="672175"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:v3nGN3v6IziDxW9rq1EMvkothbM= sha256:hi07Xnv1XCutYDNSzhi8ak8bNS/KgvuEc12ImKjbsKY=
	sha1:7tYnHvJLLjL/hVTBR/DSUOKi6K8= sha256:YFt8KQ5dWefVyam1C5yqU6t/ksTOCNFmmqwvvOSRGhA=
Content-Disposition: inline
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 8484D10F19E; Wed,  7 Oct 2026 18:15:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.641
X-Spam-Status: No, score=-3.641 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, 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 gKZY56iCEGYs;
	Wed,  7 Oct 2026 18:15:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342387-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id DD08810F17E; Wed,  7 Oct 2026 18:15:18 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 10C6126064; Wed,  7 Oct 2026 15:11:39 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AC7B381EA3;
	Wed,  7 Oct 2026 15:11:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UlXgthFh"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC94D3B42C3;
	Wed,  7 Oct 2026 15:11:30 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791385898; cv=none; b=tMfrpx/4n4Mlfy1NkpzeTtI3T9lduj34HmfB3ekdHBLuTewkWuMml1j2ZgJ1Y/FFiVh5PzMIlD3fsAukV+uUbdImsd7BPmPCPC2JmzOL6x4fzWhVIVlo/BYnUQQxb8KvL3Iu/D9EDzlmK5/+2j5XSjJjt2nuHKpfMMijD8+gvNk=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791385898; c=relaxed/simple;
	bh=2Tef9h0oLcPQ1yEjWBRUGUxYeuBBv4xPJNsTYm2XRjk=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=oSf9Mv+HMr2mIzJzyVrklKcuwe4u4APakICXBrl6p1wODbhf0jKCXfAw7sl45L1t2BZGPLJhlmQPR8nvx12Fv0EUNqk6VEqeFJWZbaXXs01bC2w0b9nRdHxmqOfFgW6N9VYIHhzJniZmyuwf8xMO9h+q9TC69A6Ra0t5YIvamLY=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UlXgthFh; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F1571F00893;
	Wed,  7 Oct 2026 15:11:29 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791385890;
	bh=7SiXP3A89mYIctTKF9NZJB+Cel5HhOPv+wm/AjXIxz4=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=UlXgthFh+wZyRn0colHE4uL4qXhhpU3dnaYmStbnlDT+WzrrD7UhjNX9WIq3HFnRO
	 4QNJAeYgzh8htj+jm7ibqdyeM66JyvTUDWZv0/TSsI+aNnP1va3pCRJpYU65Dbz0No
	 T0zIFerl/WfJKDRXBZY9ajhwWn6R0D3B3Ko9LPE6i1u6rEmAHQ8iDxzqwvX3OJ93Yt
	 ZpBiRxncpAuX4iFjxB6kU99DyQ7UukIal92bX1QtFgCPut/Icw5W4wVd3JkgZKVWet
	 2GzImXgcRrFlTjvA57xVkMGqLipEugGE6it0As9P6eOPpItlC+Ark/EB/ToiYOXKbI
	 S/Lur4tjGvEtA==
X-Cc: Frank.Li@oss.nxp.com, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Frank Li <Frank.Li@nxp.com>, Yicong Hui <yiconghui@gmail.com>,
	"open list:NETWORKING DRIVERS" <netdev@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>, imx@lists.linux.dev
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261007144334.GR83879@horms.kernel.org>