Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp672823img; Thu, 21 Mar 2019 06:41:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN6yp25QGGpOBBmHgbr2o5w2cFS88xi8zOb/aREuOHwretzIAKAjaSShDZ5xNuGLJI8Ka8 X-Received: by 2002:a17:902:290b:: with SMTP id g11mr3598127plb.269.1553175695084; Thu, 21 Mar 2019 06:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553175695; cv=none; d=google.com; s=arc-20160816; b=iQaVK12umVHyy8JXb9rcRqhgwMLqTdmYpMO1/IM/2exrH73pUr6yr0aDW19aiMeLlV KN28dLn4GWBFOf2w0uGl9t9uTXl0BylnMrIMj6GD00UFxeCwfhmb5e7Y3d+NJnQssdjh 9MKrGd/0JFgqGVNl8AgfJRrguq7yrWGNsxauc3oyfS9jGsnQckzPTvnK2DJEJu2c0QkT bOHPWX5jG17bSp+HJ4ksfAOzTLMp5CvzO9GaA0dH3ROWENS9VOVDdBM7VLprBlU+u5I5 Z5H9iMFqqjoiKA6CytsH4ihN4mlWWAXw3GBVAe6IljJuS7VY/Lmm2nRmndASKnQqITj3 5Tdw== 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=ShRLk9d7qTFDoosJyIwGxI0eLKrNlSBj/47dGCyWfq9tod2pq82CrJ6468UfQ/ksAW zqbCQQE6u2Lb57jSeBbKwntcgdpDZB14v0fHRuowk5Bj5bo05neEUnGK9FqQMtk+BNkA iaQw8Z12FZHWR9DejTE1vpw0ME+cjNc+XWQZ45Y+3mjNkNJXJXZIojT3v4pG9/bF52rn 21YNBQ4QL/ODz/PaaMD4xlL6tlqJ2VD4bJ3fn68s5PlXvZ1q3oup+ImyuwHd+LFOO7Fc VUq2L/MezZA1i44cLASZJ3v+qPB66wVEv5ialtRb9aL42/rzuXlgAGHI2j6BB2ytKwYo HV7A== 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 a25si4044334pgw.62.2019.03.21.06.41.20; Thu, 21 Mar 2019 06:41:35 -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 S1728398AbfCUNkf (ORCPT + 99 others); Thu, 21 Mar 2019 09:40:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:36182 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728366AbfCUNkb (ORCPT ); Thu, 21 Mar 2019 09:40:31 -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 75E9BAF8D; Thu, 21 Mar 2019 13:40:30 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id 21F61E00BF; Thu, 21 Mar 2019 14:40:30 +0100 (CET) Message-Id: In-Reply-To: References: From: Michal Kubecek Subject: [PATCH net-next v4 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 , linux-kernel@vger.kernel.org Date: Thu, 21 Mar 2019 14:40:30 +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