net/ice/base: resend some AQ commands when EBUSY
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 15 Dec 2020 04:26:12 +0000 (12:26 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:06 +0000 (16:03 +0100)
commit6f69acf11799744cdbe585cdc3a93f449a85dd3d
treedd1a3fc63800bbbe2b7cc59f62a2567f618c9d12
parent67285599c9f413c59118379d1f7162031ea6acdc
net/ice/base: resend some AQ commands when EBUSY

Retry sending some AQ commands, as result of EBUSY AQ error.
This change follows the latest guidelines from HW. 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>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_controlq.c