[PATCH net-next,v2] net: stmmac: remove duplicate dma queue channel macros
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Oct 27 03:20:15 PDT 2022
Hello:
This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni at redhat.com>:
On Tue, 25 Oct 2022 16:17:47 +0800 you wrote:
> It doesn't need extra macros for queue 0 & 4. Same macro could
> be used for all 8 queues. Related queue/channel functions could
> be combined together.
>
> Original macro which has two same parameters is unsafe macro and
> might have potential side effects. Each MTL RxQ DMA channel mask
> is 4 bits, so using (0xf << chan) instead of GENMASK(x + 3, x) to
> avoid unsafe macro.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: stmmac: remove duplicate dma queue channel macros
https://git.kernel.org/netdev/net-next/c/330543d04f2c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list