]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix logic of disabling queues
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Thu, 29 Apr 2021 17:49:47 +0000 (19:49 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 23 Jul 2021 14:44:48 +0000 (07:44 -0700)
commit65662a8dcdd01342b71ee44234bcfd0162e195af
tree5f4e8b5bef200d454e964fc4527be4286d39fea1
parent9f42f674a89200d4f465a7db6070e079f3c6145f
i40e: Fix logic of disabling queues

Correct the message flow between driver and firmware when disabling
queues.

Previously in case of PF reset (due to required reinit after reconfig),
the error like: "VSI seid 397 Tx ring 60 disable timeout" could show up
occasionally. The error was not a real issue of hardware or firmware,
it was caused by wrong sequence of messages invoked by the driver.

Fixes: 41c445ff0f48 ("i40e: main driver core")
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c