path: root/drivers/net/mlx5/mlx5_defs.h
diff options
authorFerruh Yigit <>2018-01-22 00:16:22 +0000
committerThomas Monjalon <>2018-01-22 01:26:49 +0100
commitffc905f3b856b96c6d8d864dba4052104fae4064 (patch)
tree5a4a0e1d969688a8014821ff98f4ae97d7ab3bfc /drivers/net/mlx5/mlx5_defs.h
parentae80146c5a1ba8ddab686d4bc2e4663e78677457 (diff)
ethdev: separate driver APIs
Create a rte_ethdev_driver.h file and move PMD specific APIs here. Drivers updated to include this new header file. There is no update in header content and since ethdev.h included by ethdev_driver.h, nothing changed from driver point of view, only logically grouping of APIs. From applications point of view they can't access to driver specific APIs anymore and they shouldn't. More PMD specific data structures still remain in ethdev.h because of inline functions in header use them. Those will be handled separately. Signed-off-by: Ferruh Yigit <> Acked-by: Shreyansh Jain <> Acked-by: Andrew Rybchenko <> Acked-by: Thomas Monjalon <>
Diffstat (limited to 'drivers/net/mlx5/mlx5_defs.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5_defs.h b/drivers/net/mlx5/mlx5_defs.h
index 64bb071..a71db28 100644
--- a/drivers/net/mlx5/mlx5_defs.h
+++ b/drivers/net/mlx5/mlx5_defs.h
@@ -34,7 +34,7 @@
#ifndef RTE_PMD_MLX5_DEFS_H_
#define RTE_PMD_MLX5_DEFS_H_
-#include <rte_ethdev.h>
+#include <rte_ethdev_driver.h>
#include "mlx5_autoconf.h"