]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vxlan: move to its own directory
authorRoopa Prabhu <roopa@nvidia.com>
Tue, 1 Mar 2022 05:04:28 +0000 (05:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2022 08:38:01 +0000 (08:38 +0000)
vxlan.c has grown too long. This patch moves
it to its own directory. subsequent patches add new
functionality in new files.

Signed-off-by: Roopa Prabhu <roopa@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile
drivers/net/vxlan/Makefile [new file with mode: 0644]
drivers/net/vxlan/vxlan_core.c [moved from drivers/net/vxlan.c with 100% similarity]

index 50b23e71065f6a8f1d6efc26d30a3fe20b39dc40..3f1192d3c52d3c1eb4d9e9eebcc3096e384c447a 100644 (file)
@@ -31,7 +31,7 @@ obj-$(CONFIG_TUN) += tun.o
 obj-$(CONFIG_TAP) += tap.o
 obj-$(CONFIG_VETH) += veth.o
 obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
-obj-$(CONFIG_VXLAN) += vxlan.o
+obj-$(CONFIG_VXLAN) += vxlan/
 obj-$(CONFIG_GENEVE) += geneve.o
 obj-$(CONFIG_BAREUDP) += bareudp.o
 obj-$(CONFIG_GTP) += gtp.o
diff --git a/drivers/net/vxlan/Makefile b/drivers/net/vxlan/Makefile
new file mode 100644 (file)
index 0000000..5672661
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Makefile for the vxlan driver
+#
+
+obj-$(CONFIG_VXLAN) += vxlan.o
+
+vxlan-objs := vxlan_core.o