bnxt_en: Add a callback to inform RDMA driver during PCI shutdown.
[linux] / drivers / net / ethernet / broadcom / bnxt / bnxt_ulp.h
index 74f816e..d247106 100644 (file)
@@ -26,6 +26,7 @@ struct bnxt_ulp_ops {
        void (*ulp_stop)(void *);
        void (*ulp_start)(void *);
        void (*ulp_sriov_config)(void *, int);
+       void (*ulp_shutdown)(void *);
 };
 
 struct bnxt_msix_entry {
@@ -87,6 +88,7 @@ void bnxt_subtract_ulp_resources(struct bnxt *bp, int ulp_id);
 void bnxt_ulp_stop(struct bnxt *bp);
 void bnxt_ulp_start(struct bnxt *bp);
 void bnxt_ulp_sriov_cfg(struct bnxt *bp, int num_vfs);
+void bnxt_ulp_shutdown(struct bnxt *bp);
 void bnxt_ulp_async_events(struct bnxt *bp, struct hwrm_async_event_cmpl *cmpl);
 struct bnxt_en_dev *bnxt_ulp_probe(struct net_device *dev);