net/bnxt: refactor multi-queue Rx configuration
[dpdk.git] / drivers / net / qede / base / ecore_dev_api.h
index 4d5cc1a..9ddf502 100644 (file)
@@ -212,7 +212,7 @@ enum _ecore_status_t ecore_db_recovery_del(struct ecore_dev *p_dev,
 
 static OSAL_INLINE bool ecore_is_mf_ufp(struct ecore_hwfn *p_hwfn)
 {
-       return !!OSAL_TEST_BIT(ECORE_MF_UFP_SPECIFIC, &p_hwfn->p_dev->mf_bits);
+       return !!OSAL_GET_BIT(ECORE_MF_UFP_SPECIFIC, &p_hwfn->p_dev->mf_bits);
 }
 
 #endif
@@ -277,6 +277,9 @@ struct ecore_hw_prepare_params {
 
        /* Indicates whether this PF serves a storage target */
        bool b_is_target;
+
+       /* retry count for VF acquire on channel timeout */
+       u8 acquire_retry_cnt;
 };
 
 /**