]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Re-send some AQ commands, as result of EBUSY AQ error
authorChinh T Cao <chinh.t.cao@intel.com>
Thu, 25 Mar 2021 22:35:04 +0000 (15:35 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 8 Apr 2021 00:09:15 +0000 (17:09 -0700)
commita97f32eda1fb60b1566215ce1cf5a5339a9d0683
treecee12a4141c034dd6a38621b76b93c44b36ef991
parent3796ecdeebbc3eeb81c6c2a0fef99f2b19456aee
ice: Re-send some AQ commands, as result of EBUSY AQ error

Retry sending some AQ commands, as result of EBUSY AQ error.
ice_aqc_opc_get_link_topo
ice_aqc_opc_lldp_stop
ice_aqc_opc_lldp_start
ice_aqc_opc_lldp_filter_ctrl

This change follows the latest guidelines from HW team. It is
better to retry the same AQ command several times, as the result
of EBUSY, instead of returning error to the caller right away.

Signed-off-by: Chinh T Cao <chinh.t.cao@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_controlq.c