diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-07-27 10:43:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-27 20:15:21 +0100 |
commit | d2662072c094be6dd7544c7752a36a5dc030076c (patch) | |
tree | ba7b3a41268553dbbd39f10471e5f8a3b6fb54a0 /drivers/net/ethernet/pensando/ionic/ionic_main.c | |
parent | c0b03e8399505a5aafe3a38e287213f523d890af (diff) |
ionic: monitor fw status generation
The top 4 bits of the fw_status in dev_info_regs is reserved
for the status generation. This generation number is an
arbitrary value defined when firmware starts up. If the FW
is killed/crashed/stopped and then restarted, it will create
a different generation number. With this mechanism, the host
driver can detect that the FW has crashed and restarted, and
the driver can then take steps to re-initialize its connection.
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_main.c')
0 files changed, 0 insertions, 0 deletions