summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pensando/ionic/ionic_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/pensando/ionic/ionic_dev.h')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_dev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_dev.h b/drivers/net/ethernet/pensando/ionic/ionic_dev.h
index 35566f97eaea..db90e39a1442 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_dev.h
+++ b/drivers/net/ethernet/pensando/ionic/ionic_dev.h
@@ -184,6 +184,10 @@ struct ionic_dev {
u32 port_info_sz;
struct ionic_port_info *port_info;
dma_addr_t port_info_pa;
+ struct ionic_port_extra_stats port_extra_stats_cache;
+ bool link_down_count_init;
+ u16 link_down_count_last;
+ u32 link_down_count_total;
struct ionic_devinfo dev_info;
};
@@ -394,4 +398,6 @@ bool ionic_adminq_poke_doorbell(struct ionic_queue *q);
bool ionic_txq_poke_doorbell(struct ionic_queue *q);
bool ionic_rxq_poke_doorbell(struct ionic_queue *q);
+void ionic_reset_link_down_count(struct ionic_dev *idev);
+
#endif /* _IONIC_DEV_H_ */