From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 00/10] Add configuration parameters support Date: Thu, 05 Jul 2018 19:58:53 +0900 (KST) Message-ID: <20180705.195853.580143925396995107.davem@davemloft.net> References: <1530703837-24563-1-git-send-email-moshe@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: vasundhara-v.volam@broadcom.com, jiri@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: moshe@mellanox.com Return-path: In-Reply-To: <1530703837-24563-1-git-send-email-moshe@mellanox.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Moshe Shemesh Date: Wed, 4 Jul 2018 14:30:27 +0300 > Add configuration parameters setting through devlink. > Each device registers supported configuration parameters table. > Each parameter can be either generic or driver specific. > The user can retrieve data on these parameters by "devlink param show" > command and can set new value to a parameter by "devlink param set" > command. > The parameters can be set in different configuration modes: > runtime - set while driver is running, no reset required. > driverinit - applied while driver initializes, requires restart > driver by devlink reload command. > permanent - written to device's non-volatile memory, hard reset required. > > The patches at the end of the patchset introduce few params that are using > the introduced infrastructure on mlx4 and bnxt. > > Command examples and output: ... Looks great, series applied, thanks!