]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_defs.h
net/mlx5: retry on link update failure
[dpdk.git] / drivers / net / mlx5 / mlx5_defs.h
index 180122db6ce8e14b5fbe569b381e8f1c8592e0f4..248ef3c8ac9041e1472827b35ac7d30558999de2 100644 (file)
 /* Timeout in seconds to get a valid link status. */
 #define MLX5_LINK_STATUS_TIMEOUT 10
 
+/* Number of times to retry retrieving the physical link information. */
+#define MLX5_GET_LINK_STATUS_RETRY_COUNT 3
+
 /* Maximum number of UAR pages used by a port,
  * These are the size and mask for an array of mutexes used to synchronize
  * the access to port's UARs on platforms that do not support 64 bit writes.