Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3919354imm; Mon, 30 Jul 2018 05:54:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdcTmgJ4EymE1cF3GLiywPJ9RXhnVHO3zYqZCYB4UeLC9RMsAVfmmP6s7RhM6sEUalGY+r/ X-Received: by 2002:a63:fd52:: with SMTP id m18-v6mr11555218pgj.304.1532955249163; Mon, 30 Jul 2018 05:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532955249; cv=none; d=google.com; s=arc-20160816; b=QziL2qyF36rJnvNCVJqtPbyD6WACwp9Mhzk80OVhd1gKD1cKLUh1T+J3zOqpKhipqa 3XhWBQHf61LS3ZQi+EAbRaipV7OEZfuW9NaAI4tkzrrt+3oOVe/ILMMwb4l8qJ/wJDV3 H8DafxZLovgahWjbKT9Kj6sBSjAqvjKuWp56T11yNVFpLMUPATTHRZd4yzt5zJJBiBI+ diDk0NfoKwQbVux+wE/fa+cINdOARQ+hnGFJX4f+e3c/nDvPfORQ4f2ce5rBPv3yBTbH jFXJxUvWEgYjPuUnmrSvvX+tYWRnM/7ikhX4Z0bhF+YJxjaMWN6FBrvx5nNZ6PM0zblo X3jA== 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:arc-authentication-results; bh=hjuoPhAwQIzCT2bRSWnxJDh85lWismEL5Z7wGy5cYe8=; b=Zw3IsbSEg0MUHQulvwKNGo7N6/nqtEqfKmaYTvoSay47NIA8kjjYwUafzCAMzp11oE ZtCLLMBZ09Y62bPWh84n3rqp/gZngwUY4CExFkK0laIMubFx1rM9chOxR/OYbmFQsArt lqlz/cyHkhO5rUoBOHu0Hc62NFYCH/YkQMIcGywaDg7Ot0BgeRavKt1/3+G6peqO8fEU wGKn/esTR0+cRta+m05Bm6Eh3edDCJdeG3PnPHh3aBPAdtGVOHOUlBFTw/302Xwr4gpq LYcsjvEr6O8D52fXv2+1I0IDnUa5Tv8PrlL+EbScmvaAL+ARtGcDM8d0Ja1X6ADiPvTF ifGA== 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 d3-v6si10269797pgl.583.2018.07.30.05.53.54; Mon, 30 Jul 2018 05:54:09 -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 S1731783AbeG3O1p (ORCPT + 99 others); Mon, 30 Jul 2018 10:27:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:48950 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731700AbeG3O1o (ORCPT ); Mon, 30 Jul 2018 10:27:44 -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 B6B98AF49; Mon, 30 Jul 2018 12:52:52 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id 658D3A0BE8; Mon, 30 Jul 2018 14:52:52 +0200 (CEST) Message-Id: <88ed576173e9cb218e3cb93e9fa20a770aa61b4c.1532953989.git.mkubecek@suse.cz> In-Reply-To: References: From: Michal Kubecek Subject: [RFC PATCH net-next v2 02/17] ethtool: move to its own directory To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jiri Pirko , David Miller , Florian Fainelli , Roopa Prabhu , Jakub Kicinski , "John W. Linville" Date: Mon, 30 Jul 2018 14:52:52 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With ethtool netlink interface, there is going to be a lot of new files so that it seem more convenient to put them into a separate directory net/ethtool. Start with moving current file with ioctl implementation there 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 bdaf53925acd..6c68520e5eb9 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 80175e6a2eb8..55734d0a1603 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 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.18.0