Received: by 10.223.176.5 with SMTP id f5csp3141916wra; Mon, 29 Jan 2018 09:23:21 -0800 (PST) X-Google-Smtp-Source: AH8x2276CG/WmdVCkUDD04SlMBr1GC2uRkqr17nzUPnCtiaNMiix13L+PXvocuWWaP8zve/qAkAy X-Received: by 10.101.96.132 with SMTP id t4mr21465227pgu.58.1517246601151; Mon, 29 Jan 2018 09:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517246601; cv=none; d=google.com; s=arc-20160816; b=E2m+E/fEkMqV1VANMXJZ/GRFzxv2TxvFyH0+Dk3zOzM6JLbWEXWOJ0dj5khVP4wwrp +W5hXzvsA5pu9a8a6YBV1qnPwZDeWhWU7XiQywwI5zU0XzDNrOnoBf09UZMvJmGdPapx aTU6gd1vGrk0HlBff1/QP+qBbjijXcOuWRbav5Lhwu43KMHLVlufKdFK1WavVru7g/LW XuO0BQquxehPU1C1EzrL9jrgG9dwsruFYsFPCJNClBymkkTo+2vbmj0CtKxQEOKE4cXZ wqTQaABkJ+dqG8A3qFgTRiTw6Gp6xeGdPNn4sYVfKpLUY2PYF/dTzLjY4lnkiCCZoekp HufA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=kk/SJEywfWDAiy660rYCKOGDZQCVE8mIkrCN71fJn74=; b=S6zSAeLMNpP9HnXxE8hKmOK8D4jdTUuj3/lUaRYtk5CZXTW19ApoDiae4My1XKMIbV fUWQxXmWL27RNMsnIEBper+Xu6zGb+5Yum4PtNCGKDfzrVV7TNoohPe+GKtPSO4t6AnH dpGGaZBc0xNCqkXsP5xr1If19g3ZFBzGa7fw1fWjQ1gi736BZPN2SKyvNz6v+FkGAk6b Tj1LOBaoapuVAyG2NSE/eXc9mJXakfvc0QxN3q70OW4Re0pMx8MsgXsDaM0Ppw2kK/TA tA7hRDYPoPxrFOTlUWFg3UYGiHT4t7vznq1FaJlQ7M57HTERXujtuEoxye/0l0TOV+x+ +OXw== 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 o65si3624001pfg.18.2018.01.29.09.23.06; Mon, 29 Jan 2018 09:23: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; 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 S1751485AbeA2RWh (ORCPT + 99 others); Mon, 29 Jan 2018 12:22:37 -0500 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 Received: from localhost (67.110.78.66.ptr.us.xo.net [67.110.78.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id DCB891089342F; Mon, 29 Jan 2018 09:22:33 -0800 (PST) Date: Mon, 29 Jan 2018 12:22:32 -0500 (EST) Message-Id: <20180129.122232.1135976323173289174.davem@davemloft.net> To: Vadim.Lomovtsev@caviumnetworks.com 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 Subject: Re: [PATCH v4] net: ethernet: cavium: Correct Cavium Thunderx NIC driver names accordingly to module name From: David Miller In-Reply-To: <1516880297-6636-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> References: <1516630407-23161-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <1516880297-6636-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 29 Jan 2018 09:22:34 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.