]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
net/mlx5e: IPoIB, Move to a separate directory
authorSaeed Mahameed <saeedm@mellanox.com>
Sun, 18 Jun 2017 14:13:44 +0000 (17:13 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 19 Jun 2017 15:40:20 +0000 (18:40 +0300)
IPoIB netdevice driver was only introduced in previous kernel release
and it is growing in terms of features and LOC, move it to a separate
directory.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c [moved from drivers/net/ethernet/mellanox/mlx5/core/ipoib.c with 100% similarity]
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h [moved from drivers/net/ethernet/mellanox/mlx5/core/ipoib.h with 100% similarity]

index 12556c03eec40811aa7cfad0fa2d36d1fca73bd4..59b87b30e438d01318ddac6084de08c1230b9683 100644 (file)
@@ -15,4 +15,4 @@ mlx5_core-$(CONFIG_MLX5_CORE_EN) += wq.o eswitch.o eswitch_offloads.o \
 
 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) +=  en_dcbnl.o
 
-mlx5_core-$(CONFIG_MLX5_CORE_IPOIB) += ipoib.o
+mlx5_core-$(CONFIG_MLX5_CORE_IPOIB) += ipoib/ipoib.o
index 66b5fec1531349d14b5324f68a28746cecdf1918..806139d6213935fe0911b2ea17f739676ce3f44d 100644 (file)
@@ -40,7 +40,7 @@
 #include "en_tc.h"
 #include "eswitch.h"
 #include "en_rep.h"
-#include "ipoib.h"
+#include "ipoib/ipoib.h"
 
 static inline bool mlx5e_rx_hw_stamp(struct mlx5e_tstamp *tstamp)
 {
index ef3e1918d8cc80cb0ff2d3f8c209d8ab06074299..354f474322cef4b5fbfeb199d0c19ad12b47243d 100644 (file)
@@ -33,7 +33,7 @@
 #include <linux/tcp.h>
 #include <linux/if_vlan.h>
 #include "en.h"
-#include "ipoib.h"
+#include "ipoib/ipoib.h"
 
 #define MLX5E_SQ_NOPS_ROOM  MLX5_SEND_WQE_MAX_WQEBBS
 #define MLX5E_SQ_STOP_ROOM (MLX5_SEND_WQE_MAX_WQEBBS +\