Received: by 10.223.176.46 with SMTP id f43csp1988092wra; Thu, 25 Jan 2018 03:12:21 -0800 (PST) X-Google-Smtp-Source: AH8x226nIPzzNtrq0tqqAoXeFAPDxxc9HjDf3mk0+jqfQJB035mmAy/O9a+9QVlKVIYwXKb/U0NJ X-Received: by 2002:a17:902:bc04:: with SMTP id n4-v6mr10731268pls.195.1516878741779; Thu, 25 Jan 2018 03:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516878741; cv=none; d=google.com; s=arc-20160816; b=EhHpZ4xKDmMutaBXxdf7MSmny94sJ+Ed7Co1ax76QXVu7/R8YH8J/JaKYAUv9E7mdn NfPNZWaitDlDZThKvpZscn2/YqUd3s3s49es7JyNridEAL0m6aN5M5w6C7EN0hK+2h5I D2ieCUm8qDaLPtvoTMeNjzyMY8mPgq1lVBN9DYtSGtI9YJMsPx/XNo+8jg8otoZDmimu aBr8sApzp8WhYCCdCiVV91Se77r85a+Qa3hcKq2UViJ6utmxGOUtzvxBSDKtMXLDF0x4 E0H+bR4aoH07kkGVyqmNtKITlp/+vRxdt155SV6Gxq2F8OsUrp2lXl9fKPksCbFxppto 7acg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=j/Uq0CjWYpgvYeB47p5FEXR9NLRXFaQGrd5Kwbr43UE=; b=L6zlfEjYo1TGyWHe7ZNY1/f0+xlwNbpJs9pjblA0t1UZVuIqsrb3+LgMiYZ1QH0X7/ m4Z87I0ALacCf48juUW5rBKgyPRAEtjs3qxrLYdHu7C/AR2quaD+XrZoNVrEKVjKPuoR /xLqkW+jFni467/t/Zz0GlY0im5AzXd5PRo/D8lvLJTU+kVVk/71nya4YYZRiIma0Cir v+LmoM1l/NwYaPOCMzJZ7NmV3Gf6Qamu1hS0J6o1Fu03GjtYoEq9PdJA4Pluo5i8sUZL ne8oxL54dWiRqx3HnYSisxPpuzeeX29uwYqUvtqlhL3018pDXQNSqFQh5/t8hf54IOgK zBFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=lBB+Dgav; 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 c15si1432406pgt.342.2018.01.25.03.12.06; Thu, 25 Jan 2018 03:12:21 -0800 (PST) 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; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=lBB+Dgav; 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 S1751546AbeAYLLl (ORCPT + 99 others); Thu, 25 Jan 2018 06:11:41 -0500 Received: from mail-co1nam03on0057.outbound.protection.outlook.com ([104.47.40.57]:15169 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750769AbeAYLLj (ORCPT ); Thu, 25 Jan 2018 06:11:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=j/Uq0CjWYpgvYeB47p5FEXR9NLRXFaQGrd5Kwbr43UE=; b=lBB+DgavbpJtygpebN4+i1uS8s3hx8mnS12Pq8rfr2bbnOak40V+u9ZuPHAwuH6qTtGrZ2Hgp/+UCG7sLfMfLksFpRWUlWzayHjv4kYpsd5AMDVXk1tJQ5fmEHbb0fr/xhcME9+VgNQqm+Ugz6nzit6kJB/NuQC6YOkVevmhWXk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Vadim.Lomovtsev@cavium.com; Received: from localhost.localdomain (50.233.148.156) by DM5PR07MB3003.namprd07.prod.outlook.com (10.172.87.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 25 Jan 2018 11:11:36 +0000 Date: Thu, 25 Jan 2018 03:11:32 -0800 From: Vadim Lomovtsev To: David Miller Cc: sgoutham@cavium.com, rric@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vadim.Lomovtsev@cavium.com, dnelson@redhat.com Subject: Re: [PATCH v3] net: ethernet: cavium: Correct Cavium Thunderx NIC module and driver names Message-ID: <20180125111132.GA6458@localhost.localdomain> References: <1516290789-3585-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <1516630407-23161-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <20180124.162737.1427515957453841771.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180124.162737.1427515957453841771.davem@davemloft.net> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CO2PR05CA0073.namprd05.prod.outlook.com (10.166.88.169) To DM5PR07MB3003.namprd07.prod.outlook.com (10.172.87.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 482b4e64-74ff-4363-18b7-08d563e466a6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:DM5PR07MB3003; X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB3003;3:TLllOAiQlXgqXworZGHedlbXE6m1YFeC/1Jvojb2aBQIwGTjFan1gG74mqnGicLbfL+7evAt7gHHF0FMWRd5C4kcmIBiutnVCkgLnJ22uf2ybfcqa2nO28Yqz7qUZO2yUpd6DEYyFiG02MRk/MLTIkYLl5WlsIfDw/nA1maK2qnwaSI8WMpiKnW3r8xV/aDKHHMKvtZWS97gFkF1mUX5vlpauOvnMeXTGnyK1hM09O6bn5hQldy3Vd5D42E6+/2p;25:baaK8Uo1PcdlcyH5yECoBhgzVWmKTcdQxusMYU9hucRWV1PL8z32yBAkFEwUjYM4URDV721VUGFSPkIYnETKzB54cbpkgB36dv+7sIYfNtkcF5wobFAaJOLk53F7HIReQJvqeQcebwdSkKoEFhEPk/hD7p25GUeGy1UDNvzyzJdcfUE4lr+TLWPXksfmzua73+w7YOXpZOlhkS+xjXTLNuDsHzHKqzJDbV0eMA36ydHr6l+lllJzOLxT+SE/sWwQVEdFVd6Flg6/m3POd3xHzdmiKGWZclnI8L6tn3udx4X/d7eHwmecmXDMbIY5QYW8yQ7NiBtU3C2qmZpCAR4hXw==;31:hfycNt/gtGqLdT0b35DDKiheGeXw38zmb0DCZ3uom7KxjTZWng2pql3N3Cveft0fP+nCgU2MPOdtV6FA7zgiAaYdLPIhXHKZGUPIQTeq9ca5W55LGr/ql/ou//RTOwgt7c39+HDJqWzfbtW5HofrlwiTBMjxIcBe2rYHioD3NGFMKDsxQ9+je/0joiAP2pDEpTJXQKPaNCXejHHJVXbo6xWECOnGqnNXuuyPVKFO064= X-MS-TrafficTypeDiagnostic: DM5PR07MB3003: X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB3003;20:GjuAq9iL2TYDT4VpIjp1kdIkzyH2k1fRhq2TEgQzLj+6e3AFPHYYpglOsnaAiklgL8j9eH9cmRKGqlgo+PNXbGOogKSmRPPSvazItcEG8UyErUdCunU2y+z2AoHMycMmfG9/BaO3X1gKxw4067sUGCgS8ei+fPJm2xNN2w2GOXximoInCPYa7m3A/HCHyG53viycXND02dUrPgOmDv+aoLN8FxQUYd7NLiJt3B5ClOvpxZzxHmy7l09sSPgZB6EB7NnvY5f+8VwIs4jnM74PqvhMYoXVVKn1dwyVn2w5u+xXnIYza7TGEJ+S3kPByr7qQjtP6npzffO00H/971EnIjvl15LLapZdTjTviz4KpiSSj1b9vML71yzI5vAEpg+L9SThpzljmtMRs7XrAuMf6KFjGsc5PZ3FSHxkOPJO4JJbn4gfmDK6GHAW7xZmxLlMUH/uQQSeLzZmlBba7rCTC8pb/IVnDT+3uhEq2weZ0u41GWgzS5X6A2emeXLK2JHadWV6xi+SpuPGTc3tb9YurulfS8UhTOGTnGhvvyC5Z60ZqtyV3uUPMj7rVUYIpNPD3wOYI6Nj2e7RAK5MMVfq/p3D9AB0WusWCQH+ozeSOMw=;4:+odPalTqzQ/AT5FV0lVfIgiNqBJ37kyDhtJIS0lJExqu+OpoYPrQwGBmZi2Y9MBdXzlthkK19QzuDVWsVmXejBPTKJkUIQ2obOV3E/kcSvKBxE8L54BPwwLZSQsYsZ5KeQv8pViKf9fE/jZhB2m1g62vGNHIQa/84E3H++y5wI4f/nkyaKYDQ2ozh317fLSnRRKzXXRC+hjetCxbXn128FsZqejHuX6PIrmSOqSJEQby2cdZvftkZoDQGhXI7it/hXe8y++SY5Tbi94yWCdUsQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(3231023)(2400081)(944501161)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:DM5PR07MB3003;BCL:0;PCL:0;RULEID:;SRVR:DM5PR07MB3003; X-Forefront-PRVS: 0563F2E8B7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(39860400002)(366004)(376002)(39380400002)(396003)(346002)(199004)(189003)(6916009)(2950100002)(42882006)(105586002)(4326008)(53936002)(25786009)(97736004)(229853002)(6666003)(55016002)(9686003)(61506002)(83506002)(66066001)(47776003)(1076002)(16526018)(23726003)(106356001)(2906002)(6116002)(3846002)(6246003)(5660300001)(16586007)(8936002)(59450400001)(33656002)(26005)(386003)(6506007)(33896004)(58126008)(81166006)(8676002)(81156014)(76176011)(316002)(7696005)(52116002)(68736007)(478600001)(305945005)(50466002)(7736002)(72206003)(186003)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR07MB3003;H:localhost.localdomain;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR07MB3003;23:eS/r9DF/K7fPGiBto518kOLu04YueiZDhi8XPisYj?= =?us-ascii?Q?ma70aTI9ipVq9HnJ5TNH1IkZUO0OmyqFTS4/ep23ge8iU5ClYzTaNYIuRCqT?= =?us-ascii?Q?E/7c2BMJAO3CDcJnZEWBq+DHuE6G9Bn/chqk/p0jQU5tOpOLu2Syj7kfuRKQ?= =?us-ascii?Q?PaNutZlcFzVthDUHiVUf/Kkm01carQADGnSYJY6gWz7XtG2ZotBZOI34jFQE?= =?us-ascii?Q?EbummYpr/li9yIkfXJRSCP1Lo9LqoGdABkZIt+wOCzcL8ITRlwPRESa/FJTv?= =?us-ascii?Q?RZIh51kleZAaFlk1gCQJcX+BuN0aQmzBkHO6VBamlKhBz2Lm2gVZZ5BV/6JZ?= =?us-ascii?Q?9Qw3meLQV3Cj1szi7bkLctZzblNydudeSxr+lBWy4XFyWgJdaha7VgUdTtI6?= =?us-ascii?Q?0qnq/j7L3M2CUtmF7vblaeMjP5UjTmSb6RuiVmYpxV8qDp0r9b3FiC2JFY7n?= =?us-ascii?Q?va+Dondh68wVWj4KL1T6yL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3003;6:mJsdbF57rer2kBgfACKpmUxCz7/tFZ041ZnzeSE8a5JKlkYfAdsMYYf5wgrLK3go2vpAvssRO4dHhKnRWa2VgLCmLUoQUKLk6AvGr7yahGUOwo5bja2UlUvTauKpoGWViQhsc0EIMynWSUzHgwQbMFI3B7l+w4qX9dnjRTLozp4pCxuGABJ6ZCl4tNcy82zKmA8alKlo2LY46y/A+ouHF7OO7LUpeenVpLUa0VJk0ZzsPNNJx+UUhlcX6wr3bGFYpFo9+By+KqeqjjyBTqS7FoMdQj4ZpCWmMtqGovSpeJIY374gL/SZkpxl3AcFK4LU/art75vQvW+OR2Uz6LYiRdyN5VWLeJ/be1Q2pZzp+8A=;5:Nz0ShQ0YPoM+6a7V/Dc8e1EBVHgZiS0f/ieL1hA+iWKyrwAr2kdxu5lhExvMAgcMP7y+29SzWS08TR6NJsf4aZvIB3REtnzqC2UxC+EoMSMQPEF5WCwu5zp27Fu9IMLeAwDi/JYl39CLhBUETCvZGizlx9DBJ7kTJG74WgvqDeM=;24:tWoKa4OKtBtfIu0SDZ73gqp/u6162Vni70NuzI262xWGDavAcIc1hzWHSrcF1MtB9WlTICQjiZM01LFtX2NzIjomcETfDk/9n/3kBaez9uk=;7:1vLtW9P0cIFzvkL2yhOweacyR5CpBiktVok2kx5Ms0B1bYmfCDxFvdIv+GaKPLw4lrPU5l919Hks+lXK5oIWZKIdyDjno8AiJMqtNI5xxWlN1AcfyM9RQumJrL9vvnDIE7tmY3GuVWfOeRJ/wfNWyI2sLeDnZIYTdH35I9q9oCpFrAfsLaMONAgLQOboXSXFPDc2ZdXeHIQ8pvgNQHU3f4OmZ0jmOUv4HBFxVzUB7R/bpwrxaxGv3G/XzsfuQOrY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2018 11:11:36.2241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 482b4e64-74ff-4363-18b7-08d563e466a6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3003 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 04:27:37PM -0500, David Miller wrote: > From: Vadim Lomovtsev > Date: Mon, 22 Jan 2018 06:13:27 -0800 > > > From: Vadim Lomovtsev > > > > It was found that ethtool provides unexisting module name while > > it queries the specified network device for associated driver > > information. Then user tries to unload that module by provided > > module name and fails. > > > > This happens because ethtool reads value of DRV_NAME macro, > > while module name is defined at the driver's Makefile. > > > > This patch is to correct Cavium CN88xx Thunder NIC driver modules > > names 'nicvf' to 'thunder_nicvf' and 'nicpf' to 'thunder_nicpf' along > > with updating DRV_NAME macro values accordingly. > > > > Signed-off-by: Dean Nelson > > Signed-off-by: Vadim Lomovtsev > > Once your driver has been deployed in a real upstream release you > should never change the driver module name. > > So if you want to fix things, you'll have to fix them the other > way around, by not changing the module name but changing the > strings that ethtool ends up with instead. > > Thank you. Ok, understood. Will update patch and re-send. Thank you. Vadim