Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1423432ybp; Wed, 9 Oct 2019 13:59:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxa7FUvXT2wxOmDwfa8yrMguNWm7npqux/HBW3F/9buvO6dyWKqHrd7ab7rN6iMJ5Ykhb1K X-Received: by 2002:a05:6402:550:: with SMTP id i16mr5024201edx.102.1570654795478; Wed, 09 Oct 2019 13:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570654795; cv=none; d=google.com; s=arc-20160816; b=JkeNwiE9I/1nVq97EIWoTuXMWR8HQ+ZKkOkpSzZmzkbmOD4XOSwj7r81IxOXXa1bY6 nvDlKUWQ5FfcY1mJVHt70aq/CpsWjVmwisu9HpREUfH6VGp8X672KjN95h+LK4huBq7I BZ/kx2BGbwMQwC3ng21WPGCjbOn+n7Zfal5UL9WjlgtbIpQeUrvGpxvChtArn5Os1fTB sz/GVIrfeGEhFrWQ/7++4IUAW+LMgI2F1Ap9hTyohsV0IEUC19oCUU4YkAD12cT8xJ/z u7FQZJS2QoMAOr5E0/HpT1PAef83Rwik5P2V1vjuvjcakxPMaHd2DRebh83L2QZvAiMS Qjtg== 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=c5x+yDEyBA2Jhb7yaPASfXouMzH0c3SWhHgfk3SMF1Y=; b=WklJwHZXggOedqJPy9x+JkPS0PL0s1Bpob38FKR/G1PcdSpvvU4dBkvPwB3uT24pFr vVe2nPZpHzZUOHY7j/hXHA7iMzFmydPAHKt+YNmiIWTPU0E4USpXEEi27zoLYaJO+LEQ r3B9pSmQm5ZHZH7zUGpQrAF4BMqJ/KjO/O6aHZ6GUd73L7wInwoFePqjfvFVnMRzsS5/ cuoumY/svE5aExhh15fWpZoIz0X3uxiExJfo7iV6vzez5MpfSzOHqzu0HoBNWAVohZiB C+wVQ+thCw7Gm3QAFvomoegTZI0Q2jecFq+VnFrjfAFZo/0vKXgO8xusATeOFkQ3Dosh fMBw== 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 f35si2189538eda.415.2019.10.09.13.59.32; Wed, 09 Oct 2019 13:59:55 -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 S1732116AbfJIU7M (ORCPT + 99 others); Wed, 9 Oct 2019 16:59:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:51334 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732074AbfJIU7M (ORCPT ); Wed, 9 Oct 2019 16:59:12 -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 18E35B235; Wed, 9 Oct 2019 20:59:10 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id BEBBFE3785; Wed, 9 Oct 2019 22:59:09 +0200 (CEST) Message-Id: <3c28884b1d16e1b9fa148e78a3916fd944f62762.1570654310.git.mkubecek@suse.cz> In-Reply-To: References: From: Michal Kubecek Subject: [PATCH net-next v7 03/17] 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 , Johannes Berg , linux-kernel@vger.kernel.org Date: Wed, 9 Oct 2019 22:59:09 +0200 (CEST) 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 Acked-by: Jiri Pirko Reviewed-by: Florian Fainelli --- 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 a104dc8faafc..3e2c378e5f31 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.23.0