]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/base/ice_controlq.h
net/ice/base: remove redundant empty lines
[dpdk.git] / drivers / net / ice / base / ice_controlq.h
index acb4ab49eceafa86954d9f0c2c5da42997e12e8d..8ad7857c84b5a595dd96ef1a1fc40c2830bb9f96 100644 (file)
@@ -7,7 +7,6 @@
 
 #include "ice_adminq_cmd.h"
 
-
 /* Maximum buffer lengths for all control queue types */
 #define ICE_AQ_MAX_BUF_LEN 4096
 #define ICE_MBXQ_MAX_BUF_LEN 4096
@@ -33,8 +32,9 @@ enum ice_ctl_q {
        ICE_CTL_Q_MAILBOX,
 };
 
-/* Control Queue default settings */
-#define ICE_CTL_Q_SQ_CMD_TIMEOUT       250  /* msecs */
+/* Control Queue timeout settings - max delay 250ms */
+#define ICE_CTL_Q_SQ_CMD_TIMEOUT       2500  /* Count 2500 times */
+#define ICE_CTL_Q_SQ_CMD_USEC          100   /* Check every 100usec */
 
 struct ice_ctl_q_ring {
        void *dma_head;                 /* Virtual address to DMA head */