Skip to content

Commit 9ce48e5

Browse files
mkubecekdavem330
authored andcommitted
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>
1 parent 32d5109 commit 9ce48e5

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎net/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ obj-$(CONFIG_NET) += $(tmp-y)
1313

1414
# LLC has to be linked before the files in net/802/
1515
obj-$(CONFIG_LLC) += llc/
16-
obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/
16+
obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/
1717
obj-$(CONFIG_NETFILTER) += netfilter/
1818
obj-$(CONFIG_INET) += ipv4/
1919
obj-$(CONFIG_TLS) += tls/

‎net/core/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \
88

99
obj-$(CONFIG_SYSCTL) += sysctl_net_core.o
1010

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 \
1212
neighbour.o rtnetlink.o utils.o link_watch.o filter.o \
1313
sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \
1414
fib_notifier.o xdp.o flow_offload.o

‎net/ethtool/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SPDX-License-Identifier: GPL-2.0-only
2+
3+
obj-y += ioctl.o
File renamed without changes.

0 commit comments

Comments
 (0)