summaryrefslogtreecommitdiff
path: root/link.c
AgeCommit message (Expand)AuthorFilesLines
2014-04-10link: fixed to include <sys/types.h> for caddr_tChristian Wiese1-0/+1
2013-07-11link: allow future ethtool speed formats to be supportedDaniel Borkmann1-11/+2
2013-06-04link: add link management functionsDaniel Borkmann1-0/+166
it/tree/?id=cb4d1d6261453677feb54e7a09c23fc7648dd6bc'>a5ed62e24c779e61eda2755c95ac48ac149d3d10 parentbac9a7e0f5d6da82478d5e0a2a236158f42d5757 (diff)
bnxt_en: Retry failed NVM_INSTALL_UPDATE with defragmentation flag.
If the HWRM_NVM_INSTALL_UPDATE command fails with the error code NVM_INSTALL_UPDATE_CMD_ERR_CODE_FRAG_ERR, retry the command with a new flag to allow defragmentation. Since we are checking the response for error code, we also need to take the mutex until we finish reading the response. Signed-off-by: Kshitij Soni <kshitij.soni@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat