Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ethtool: move to its own directory

The ethtool netlink interface is going to be split into multiple files so
that it will be more convenient to put all of them in a separate directory
net/ethtool. Start by moving current ethtool.c with ioctl interface into
this directory and renaming it to ioctl.c.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Michal Kubecek and committed by
David S. Miller
9ce48e5a 32d5109a

+5 -2
+1 -1
net/Makefile
··· 13 13 14 14 # LLC has to be linked before the files in net/802/ 15 15 obj-$(CONFIG_LLC) += llc/ 16 - obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ 16 + obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/ 17 17 obj-$(CONFIG_NETFILTER) += netfilter/ 18 18 obj-$(CONFIG_INET) += ipv4/ 19 19 obj-$(CONFIG_TLS) += tls/
+1 -1
net/core/Makefile
··· 8 8 9 9 obj-$(CONFIG_SYSCTL) += sysctl_net_core.o 10 10 11 - obj-y += dev.o ethtool.o dev_addr_lists.o dst.o netevent.o \ 11 + obj-y += dev.o dev_addr_lists.o dst.o netevent.o \ 12 12 neighbour.o rtnetlink.o utils.o link_watch.o filter.o \ 13 13 sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \ 14 14 fib_notifier.o xdp.o flow_offload.o
net/core/ethtool.c net/ethtool/ioctl.c
+3
net/ethtool/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + obj-y += ioctl.o