summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_defs.h
diff options
context:
space:
mode:
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>2015-10-30 19:57:23 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-01 11:23:45 +0100
commit198a3c339a8ff9ecc5916566cfd25e98d98ce484 (patch)
treebb9e67375c55487fd0aba1de5daac062c783f620 /drivers/net/mlx5/mlx5_defs.h
parentc4da6caa426dfeac317b4d9626263762536240d3 (diff)
downloaddpdk-next-eventdev-198a3c339a8ff9ecc5916566cfd25e98d98ce484.zip
dpdk-next-eventdev-198a3c339a8ff9ecc5916566cfd25e98d98ce484.tar.gz
dpdk-next-eventdev-198a3c339a8ff9ecc5916566cfd25e98d98ce484.tar.xz
mlx5: handle link status interrupts
Add interrupts handler for port status notification. Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_defs.h')
-rw-r--r--drivers/net/mlx5/mlx5_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index 3952c71..bb82c9a 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -78,4 +78,7 @@
#define MLX5_PMD_SOFT_COUNTERS 1
#endif
+/* Alarm timeout. */
+#define MLX5_ALARM_TIMEOUT_US 100000
+
#endif /* RTE_PMD_MLX5_DEFS_H_ */