[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221122111350.1f18aa44@kernel.org>
Date: Tue, 22 Nov 2022 11:13:50 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Felix Fietkau <nbd@....name>
Cc: Lorenzo Bianconi <lorenzo@...nel.org>, netdev@...r.kernel.org,
john@...ozen.org, sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
lorenzo.bianconi@...hat.com, sujuan.chen@...iatek.com,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH net-next 5/5] net: ethernet: mtk_wed: add reset to
tx_ring_setup callback
On Tue, 22 Nov 2022 10:41:28 +0100 Felix Fietkau wrote:
> > That's a tiny bit better, yes, saves the reader one lookup.
> >
> > Are the ops here serving as a HAL or a way of breaking the dependency
> > between the SoC/Eth and the WiFi drivers?
> The latter. For a multi-platform kernel it's important that the wifi
> driver does not depend on mtk_eth_soc directly, even when support for
> WED is enabled.
Ah, I see, that's more legit. In the stmmac case it was just a poorly
designed abstraction. I'll try to remember not to complain again.
Powered by blists - more mailing lists