Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3432213img; Mon, 25 Mar 2019 10:09:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO6QDp3isxyTeyZP+q7lR31FHmBG9z1wXr2prVXbfz09Yj4QTTcHMBoLRtxZlF2ZZC0FhG X-Received: by 2002:a65:4549:: with SMTP id x9mr25014751pgr.3.1553533762301; Mon, 25 Mar 2019 10:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553533762; cv=none; d=google.com; s=arc-20160816; b=a2tUiypxgeMdRLHbQZ2vvvfPXvERCvu3YlFXZHrbHiZ8qpSu5mX8NSIgVUOn9AOR2Z 2nyk0tvxf/JYCFqkJe59yL32EBsfLAcNnhFeUhK7PfUfLwZETCFKgngn3zLH3px0Lup3 wkgq1nTzM22THCZ4J5myuQ84kBgxNCQrS19iynuc4Utkd/w8zSBhD/72CcfcsDgI7Knf VuQ43Tqe8PGP+MHZUeRs1QaX9O7s2V+hdQpqLqZYyPk3ZQF/PL4kpAYPWW2CcDJjSdPN qw/qh0NO46jNouKGZuixwKbjBpfmgSlWzbhjjMYepENo3L+n14PxeNBi/GQrm83qS1ot YZzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id; bh=Xi2T5iioBgm4L7toFHc/xBxIB37OAZohHdq90lLgC5Q=; b=dLvei2f2gRea1gdPd9v0Pp0byYkP4fUxtiHefoQN30MbI9TtPRCQ+4iao/HYwUDqhU nQ9uSVBk2QYzbL/n7q0uVuZiM7vA1FqPuBH8b7/t+b+VJgKMfPOIVhI+TzixvH1AcGlF iz7ZVmWuJiyTZ+PpBbV5VOrXYkuqM2dy70V90aLE725FJmit8d54Kq2TUeW6FC9GlkTU Zs14AS5EvdQFGIcikyp6xyqnYhZRcbQpMiXUp129TJmr30oGE/LtK0qn1ohLySfMUFPl hBG2tx4/Lh36jZlbHWltoOGOFVaC2JxpvZl7dsf8OmU7jcZe99WCTlg5FC5/iHCOq83/ Ykig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si15531857pld.280.2019.03.25.10.09.07; Mon, 25 Mar 2019 10:09:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729036AbfCYRIL (ORCPT + 99 others); Mon, 25 Mar 2019 13:08:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:50900 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729489AbfCYRII (ORCPT ); Mon, 25 Mar 2019 13:08:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F1EBEAFE1; Mon, 25 Mar 2019 17:08:06 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id A07D7E1404; Mon, 25 Mar 2019 18:08:06 +0100 (CET) Message-Id: <9f7e273e8dbba11b085dda960f16223cd5d716ed.1553532199.git.mkubecek@suse.cz> In-Reply-To: References: From: Michal Kubecek Subject: [PATCH net-next v5 04/22] ethtool: move to its own directory To: David Miller , netdev@vger.kernel.org Cc: Jakub Kicinski , Jiri Pirko , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org Date: Mon, 25 Mar 2019 18:08:06 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- net/Makefile | 2 +- net/core/Makefile | 2 +- net/ethtool/Makefile | 3 +++ net/{core/ethtool.c => ethtool/ioctl.c} | 0 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 net/ethtool/Makefile rename net/{core/ethtool.c => ethtool/ioctl.c} (100%) diff --git a/net/Makefile b/net/Makefile index 449fc0b221f8..848303d98d3d 100644 --- a/net/Makefile +++ b/net/Makefile @@ -13,7 +13,7 @@ obj-$(CONFIG_NET) += $(tmp-y) # LLC has to be linked before the files in net/802/ obj-$(CONFIG_LLC) += llc/ -obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ +obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ bpf/ ethtool/ obj-$(CONFIG_NETFILTER) += netfilter/ obj-$(CONFIG_INET) += ipv4/ obj-$(CONFIG_TLS) += tls/ diff --git a/net/core/Makefile b/net/core/Makefile index f97d6254e564..9ddc2f3ecd97 100644 --- a/net/core/Makefile +++ b/net/core/Makefile @@ -8,7 +8,7 @@ obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \ obj-$(CONFIG_SYSCTL) += sysctl_net_core.o -obj-y += dev.o ethtool.o dev_addr_lists.o dst.o netevent.o \ +obj-y += dev.o dev_addr_lists.o dst.o netevent.o \ neighbour.o rtnetlink.o utils.o link_watch.o filter.o \ sock_diag.o dev_ioctl.o tso.o sock_reuseport.o \ fib_notifier.o xdp.o flow_offload.o diff --git a/net/ethtool/Makefile b/net/ethtool/Makefile new file mode 100644 index 000000000000..3ebfab2bca66 --- /dev/null +++ b/net/ethtool/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-y += ioctl.o diff --git a/net/core/ethtool.c b/net/ethtool/ioctl.c similarity index 100% rename from net/core/ethtool.c rename to net/ethtool/ioctl.c -- 2.21.0