]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
vxlan: move to its own directory
authorRoopa Prabhu <roopa@nvidia.com>
Tue, 1 Mar 2022 05:04:28 +0000 (05:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:34 +0000 (10:22 +0200)
[ Upstream commit 6765393614ea8e2c0a7b953063513823f87c9115 ]

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>
Stable-dep-of: 94d166c5318c ("vxlan: calculate correct header length for GPE")
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 739838623cf6569738c4125d85a17b3e47dc12f5..50e60852f128657893934f7a17d9c7862eb2fcd5 100644 (file)
@@ -30,7 +30,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