Re: [net-next PATCH] net: cxgb3: simplify logic for rspq_check_napi

From: patchwork-bot+netdevbpf
Date: Mon Oct 16 2023 - 04:10:28 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 12 Oct 2023 11:14:29 +0200 you wrote:
> Simplify logic for rspq_check_napi.
> Drop redundant and wrong napi_is_scheduled call as it's not race free
> and directly use the output of napi_schedule to understand if a napi is
> pending or not.
>
> rspq_check_napi main logic is to check if is_new_response is true and
> check if a napi is not scheduled. The result of this function is then
> used to detect if we are missing some interrupt and act on top of
> this... With this knowing, we can rework and simplify the logic and make
> it less problematic with testing an internal bit for napi.
>
> [...]

Here is the summary with links:
- [net-next] net: cxgb3: simplify logic for rspq_check_napi
https://git.kernel.org/netdev/net-next/c/101c6032031f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html