diff options
author | 2020-03-08 18:45:53 -0400 | |
---|---|---|
committer | 2020-03-08 21:54:46 -0700 | |
commit | 3a707bed13b77dd7773867bee156164d730c24e0 (patch) | |
tree | afd2f2cb934827f1dfdf34a8b1c325d87cbe97d3 /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
parent | bnxt_en: Modify some bnxt_hwrm_*_free() functions to void. (diff) | |
download | wireguard-linux-3a707bed13b77dd7773867bee156164d730c24e0.tar.xz wireguard-linux-3a707bed13b77dd7773867bee156164d730c24e0.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
0 files changed, 0 insertions, 0 deletions