• Shannon Nelson's avatar
    ionic: add polling to adminq wait · a095e477
    Shannon Nelson authored
    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: default avatarShannon Nelson <snelson@pensando.io>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a095e477
ionic.h 2.4 KB