[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180129.122232.1135976323173289174.davem@davemloft.net>
Date: Mon, 29 Jan 2018 12:22:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Vadim.Lomovtsev@...iumnetworks.com
Cc: sgoutham@...ium.com, rric@...nel.org,
linux-arm-kernel@...ts.infradead.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Vadim.Lomovtsev@...ium.com
Subject: Re: [PATCH v4] net: ethernet: cavium: Correct Cavium Thunderx NIC
driver names accordingly to module name
From: Vadim Lomovtsev <Vadim.Lomovtsev@...iumnetworks.com>
Date: Thu, 25 Jan 2018 03:38:17 -0800
> From: Vadim Lomovtsev <Vadim.Lomovtsev@...ium.com>
>
> 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 <Vadim.Lomovtsev@...ium.com>
Applied to net-next, thank you.
Powered by blists - more mailing lists