diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-10-01 11:05:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-02 14:00:21 +0100 |
commit | a095e4775b7c86a26d111b66793ff91bff6e77ce (patch) | |
tree | 74ae700e256c2830bd3635289ff4889ffef845bc /lib/mpi/mpi-bit.c | |
parent | 2624d95972dbebe5f226361bfc51a83bdb68c93b (diff) |
ionic: add polling to adminq wait
Split the adminq wait into smaller polling periods in order
to watch for broken firmware and not have to wait for the full
adminq devcmd_timeout.
Generally, adminq commands take fewer than 2 msecs. If the
FW is busy they can take longer, but usually still under 100
msecs. We set the polling period to 100 msecs in order to
start snooping on FW status when a command is taking longer
than usual.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions