gve: Remove the code of clearing PBA bit
Subsystems (3)
PATCH 1/1 gve: Remove the code of clearing PBA bit
Clearing the PBA bit from the driver is race prone and it may lead to dropped interrupt events. This could potentially lead to the traffic being completely halted.
Fixes 5e8c5adf95f8 ("gve: DQO: Add core netdev features")
Signed-off-by Ziwei Xiao <[email protected]>
Signed-off-by Bailey Forrest <[email protected]>
--- drivers/net/ethernet/google/gve/gve_main.c | 13 ------------- 1 file changed, 13 deletions(-)
drivers/net/ethernet/google/gve/gve_main.c +0 -13
@@ -294,19 +294,6 @@ static int gve_napi_poll_dqo(struct napi_struct *napi, int budget)bool reschedule = false;int work_done =0 ; -/* Clear PCI MSI-X Pending Bit Array (PBA) -* -* This bit is set if an interrupt event occurs while the vector is -* masked. If this bit is set and we reenable the interrupt, it will -* fire again. Since we're just about to poll the queue state, we don't -* need it to fire again. -* -* Under high softirq load, it's possible that the interrupt condition -* is triggered twice before we got the chance to process it. -*/ -gve_write_irq_doorbell_dqo (priv, block, -GVE_ITR_NO_UPDATE_DQO |GVE_ITR_CLEAR_PBA_BIT_DQO ); -if (block->tx) reschedule |=gve_tx_poll_dqo (block,/*do_clean=*/ true);
Signature · 1 line
2.40.1.521.gf1e218fcd8-goog
Quoted 7 lines · Ziwei Xiao
Clearing the PBA bit from the driver is race prone and it may lead to dropped interrupt events. This could potentially lead to the traffic being completely halted.
Fixes 5e8c5adf95f8 ("gve: DQO: Add core netdev features")Signed-off-by Ziwei Xiao <[email protected]>Signed-off-by Bailey Forrest <[email protected]>
Reviewed-by Simon Horman <[email protected]>
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:
Quoted 9 lines · On Tue, 9 May 2023 15:51:23 -0700 you wrote:
Clearing the PBA bit from the driver is race prone and it may lead to dropped interrupt events. This could potentially lead to the traffic being completely halted.
Fixes 5e8c5adf95f8 ("gve: DQO: Add core netdev features")Signed-off-by Ziwei Xiao <[email protected]>Signed-off-by Bailey Forrest <[email protected]>[...]
Here is the summary with links:
- [net] gve: Remove the code of clearing PBA bit
https://git.kernel.org/netdev/net/c/f4c2e67c1773
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html