]> git.hungrycats.org Git - linux/commit
gve: Flow steering trigger reset only for timeout error
authorZiwei Xiao <ziweixiao@google.com>
Wed, 13 Nov 2024 17:59:30 +0000 (09:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 13:02:56 +0000 (14:02 +0100)
commitcaa629d2e31d25611f05d726500b2534e32e05e7
treee2bc6fd71a82f9266f96c23ebfd53d5cf646db14
parentaeb420ebdff41d61255c9aef8cecf7a4af087867
gve: Flow steering trigger reset only for timeout error

commit 8ffade77b6337a8767fae9820d57d7a6413dd1a1 upstream.

When configuring flow steering rules, the driver is currently going
through a reset for all errors from the device. Instead, the driver
should only reset when there's a timeout error from the device.

Fixes: 57718b60df9b ("gve: Add flow steering adminq commands")
Cc: stable@vger.kernel.org
Signed-off-by: Ziwei Xiao <ziweixiao@google.com>
Signed-off-by: Jeroen de Borst <jeroendb@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241113175930.2585680-1-jeroendb@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/google/gve/gve_adminq.c