]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt.h
net/bnxt: fix HWRM command during FW reset
[dpdk.git] / drivers / net / bnxt / bnxt.h
index a7a9e4113a810a71bbf3c2aa078c23ebaf983991..d55a57039631e35f3bbbb98fbabf4302d6744a03 100644 (file)
@@ -480,6 +480,11 @@ struct bnxt_error_recovery_info {
        uint32_t        last_reset_counter;
 };
 
+/* Frequency for the FUNC_DRV_IF_CHANGE retry in milliseconds */
+#define BNXT_IF_CHANGE_RETRY_INTERVAL  50
+/* Maximum retry count for FUNC_DRV_IF_CHANGE */
+#define BNXT_IF_CHANGE_RETRY_COUNT     40
+
 struct bnxt_mark_info {
        uint32_t        mark_id;
        bool            valid;