Re: [PATCH] be2net: Remove useless DMA-32 fallback configuration
From: patchwork-bot+netdevbpf
Date: Sun Jan 09 2022 - 20:01:15 EST
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 9 Jan 2022 10:03:49 +0100 you wrote:
> As stated in [1], dma_set_mask() with a 64-bit mask never fails if
> dev->dma_mask is non-NULL.
> So, if it fails, the 32 bits case will also fail for the same reason.
>
> So if dma_set_mask_and_coherent() succeeds, 'netdev->features' will have
> NETIF_F_HIGHDMA in all cases. Move the assignment of this feature in
> be_netdev_init() instead be_probe() which is a much logical place.
>
> [...]
Here is the summary with links:
- be2net: Remove useless DMA-32 fallback configuration
https://git.kernel.org/netdev/net-next/c/942e78916f0c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html