commit | 3a707bed13b77dd7773867bee156164d730c24e0 | [log] [tgz] |
---|---|---|
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | Sun Mar 08 18:45:53 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 08 21:54:46 2020 -0700 |
tree | afd2f2cb934827f1dfdf34a8b1c325d87cbe97d3 | |
parent | 3d0615911d33b81da64d75031490859b4513a19b [diff] |
bnxt_en: Return -EAGAIN if fw command returns BUSY If firmware command returns error code as HWRM_ERR_CODE_BUSY, which means it cannot handle the command due to a conflicting command from another function, convert it to -EAGAIN. If it is an ethtool operation, this error code will be returned to userspace. Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>