Skip to content

Commit

Permalink
net/mlx5: move Linux-specific functions
Browse files Browse the repository at this point in the history
File mlx5_ethdev.c is partially moved to linux/mlx5_ethdev_os.c for
functions which are Linux specific. Functions which are Linux agnostics
remain in mlx5_ethdev.c file.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
  • Loading branch information
OphirMunk authored and Ferruh Yigit committed Jun 16, 2020
1 parent f484ffa commit 1256805
Show file tree
Hide file tree
Showing 5 changed files with 1,291 additions and 1,258 deletions.
1 change: 1 addition & 0 deletions drivers/net/mlx5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_mp.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += mlx5_utils.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += linux/mlx5_socket.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += linux/mlx5_os.c
SRCS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += linux/mlx5_ethdev_os.c

# Basic CFLAGS.
CFLAGS += -O3
Expand Down
1 change: 1 addition & 0 deletions drivers/net/mlx5/linux/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ includes += include_directories('.')
sources += files(
'mlx5_socket.c',
'mlx5_os.c',
'mlx5_ethdev_os.c',
)

Loading

0 comments on commit 1256805

Please sign in to comment.