From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v4] net: ethernet: cavium: Correct Cavium Thunderx NIC driver names accordingly to module name Date: Mon, 29 Jan 2018 12:22:32 -0500 (EST) Message-ID: <20180129.122232.1135976323173289174.davem@davemloft.net> References: <1516630407-23161-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <1516880297-6636-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 To: Vadim.Lomovtsev@caviumnetworks.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:45862 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbeA2RWe (ORCPT ); Mon, 29 Jan 2018 12:22:34 -0500 In-Reply-To: <1516880297-6636-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Vadim Lomovtsev Date: Thu, 25 Jan 2018 03:38:17 -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 names > (DRV_NAME macro) 'thunder-nicvf' to 'nicvf' and 'thunder-nic' > to 'nicpf', sync bgx and xcv driver names accordingly to their > module names. > > Signed-off-by: Vadim Lomovtsev Applied to net-next, thank you.