]> 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 12:54:21 +0000 (13:54 +0100)
commit9d63c0eeddc2636109087b27e34fd8cf829c0721
treee5bf7297f17febc90898be39cf800079e2d2d3b5
parent20ff0fe1c8a23a0a7b1751033e62737a5b64f20e
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