Re: [PATCH net] dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
From: patchwork-bot+netdevbpf
Date: Tue Aug 20 2024 - 18:30:40 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sat, 17 Aug 2024 09:52:46 +0300 you wrote:
> The dpaa2_switch_add_bufs() function returns the number of bufs that it
> was able to add. It returns BUFS_PER_CMD (7) for complete success or a
> smaller number if there are not enough pages available. However, the
> error checking is looking at the total number of bufs instead of the
> number which were added on this iteration. Thus the error checking
> only works correctly for the first iteration through the loop and
> subsequent iterations are always counted as a success.
>
> [...]
Here is the summary with links:
- [net] dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
https://git.kernel.org/netdev/net/c/c50e7475961c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html