]> git.baikalelectronics.ru Git - kernel.git/commit
gve: Remove the code of clearing PBA bit
authorZiwei Xiao <ziweixiao@google.com>
Tue, 9 May 2023 22:51:23 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 May 2023 16:32:32 +0000 (17:32 +0100)
commite75ab539ceb905968527225fdc8bef147bed9c0e
treed5fd08756bf980d2dcae85db6816994ef605a8b1
parent1207077e33e90745b3016e7f30b211eb254bac22
gve: Remove the code of clearing PBA bit

[ Upstream commit f4c2e67c1773d2a2632381ee30e9139c1e744c16 ]

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: 48a33230bf7b ("gve: DQO: Add core netdev features")
Signed-off-by: Ziwei Xiao <ziweixiao@google.com>
Signed-off-by: Bailey Forrest <bcf@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/google/gve/gve_main.c