]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_dev_api.h
net/qede/base: add mf-bit/API for FIP special mode
[dpdk.git] / drivers / net / qede / base / ecore_dev_api.h
index 7cba54cac8a29c26b4fc36268b7fd5289002bd83..ab80b527dd972b07c1c76fcdce5098f19fb06be3 100644 (file)
@@ -704,4 +704,13 @@ ecore_set_queue_coalesce(struct ecore_hwfn *p_hwfn, u16 rx_coal,
 enum _ecore_status_t ecore_pglueb_set_pfid_enable(struct ecore_hwfn *p_hwfn,
                                                  struct ecore_ptt *p_ptt,
                                                  bool b_enable);
+
+/**
+ * @brief Whether FIP discovery fallback special mode is enabled or not.
+ *
+ * @param cdev
+ *
+ * @return true if device is in FIP special mode, false otherwise.
+ */
+bool ecore_is_mf_fip_special(struct ecore_dev *p_dev);
 #endif