diff options
author | Shannon Nelson <snelson@pensando.io> | 2019-10-23 17:48:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-25 20:52:36 -0700 |
commit | 089406bc5ad639e4fcc9419f70f4d3d91d7370cb (patch) | |
tree | 1ef61cb986d355e4ebad84e01c514d2ef466fa37 /drivers/net/ethernet/pensando/ionic/ionic_dev.h | |
parent | ionic: add heartbeat check (diff) | |
download | linux-dev-089406bc5ad639e4fcc9419f70f4d3d91d7370cb.tar.xz linux-dev-089406bc5ad639e4fcc9419f70f4d3d91d7370cb.zip |
ionic: add a watchdog timer to monitor heartbeat
Add a watchdog to periodically monitor the NIC heartbeat.
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_dev.h')
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_dev.h b/drivers/net/ethernet/pensando/ionic/ionic_dev.h index 1ffb3e4dec5d..78691c1ba20b 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_dev.h +++ b/drivers/net/ethernet/pensando/ionic/ionic_dev.h @@ -16,6 +16,7 @@ #define IONIC_MIN_TXRX_DESC 16 #define IONIC_DEF_TXRX_DESC 4096 #define IONIC_LIFS_MAX 1024 +#define IONIC_WATCHDOG_SECS 5 #define IONIC_ITR_COAL_USEC_DEFAULT 64 #define IONIC_DEV_CMD_REG_VERSION 1 |