Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp488259imm; Thu, 5 Jul 2018 03:59:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeYnlrMNPbc41sX8X/RZ+QZ0YrQqWf3D1vMgl7Ta1I30CTYZiAlc7M4bk7eHdqGWM6Z4kCs X-Received: by 2002:a62:e0d5:: with SMTP id d82-v6mr5896293pfm.59.1530788392409; Thu, 05 Jul 2018 03:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530788392; cv=none; d=google.com; s=arc-20160816; b=rxKnkJsPGpL3Lk223HE5aE3ELnzIP2kNdUEJ50c09rL5W4Z5Zs1dmOIs5GdL0WVA61 b1F7ONkGy6IVniFVaOhCY/LPBSkDAT3B79MMvj46yrYDodMjhKNz2HWeJYGJody4Zh3O TFmELTYGYG7KrnJJ6z1LNO7QSgJJ599yM0afoY4JJEGRslp/qriil2MTJRwr7IwVUA+w OwDdneK22+Xba3/gwTSiCxl9ncS6lkxDuGPq9+xmmmuCJwlv2kFPncn5V/Qgfvjvo3Nj fGYMF87BPge1PWl/Saoi+61dOH05y69EII0unRUsfcd1O8c8B+VsLEBfydWqyOPiFeI9 d28A== 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=I5a2jTS3DxK5MFJnwnxZhhckpYtA96YbB8pgbj2BSvg=; b=LOJn25mWQr2S20MH/tpoYORq4UJ7Mj48/DttzWJu1G3cq2Y+X32muW47rrHWbN8nue ErGIT9AqPm7VFCD21J8QMBZqYxrkVNKFfPudi3HdCRdvVVrkoZmU009mRNT22CVyM4qK UtouLp9UVYShpdtVMrAwSKFDwjfeyEoLufc0MY5i4xHpkm1JJezAkfcQHc8VS+FbVeAv q8fPT7hFV/lRDbQTVkVwJESKg+VEuSds5M8VxqjvKw4kMM5nFIIn5RqPY16l02cBxi3O N9v/6cUWnVCIcR7PolguNWJR/leTI0r33i26MRWqbMnDp3LxfKhEN2GcBAL5u5nqiRoS yElA== 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 n9-v6si5162462pgp.558.2018.07.05.03.59.37; Thu, 05 Jul 2018 03:59:52 -0700 (PDT) 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 S1753719AbeGEK66 (ORCPT + 99 others); Thu, 5 Jul 2018 06:58:58 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56016 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753499AbeGEK64 (ORCPT ); Thu, 5 Jul 2018 06:58:56 -0400 Received: from localhost (unknown [211.196.191.92]) (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 5D79B10977DA7; Thu, 5 Jul 2018 03:58:55 -0700 (PDT) Date: Thu, 05 Jul 2018 19:58:53 +0900 (KST) Message-Id: <20180705.195853.580143925396995107.davem@davemloft.net> To: moshe@mellanox.com Cc: vasundhara-v.volam@broadcom.com, jiri@mellanox.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 00/10] Add configuration parameters support From: David Miller In-Reply-To: <1530703837-24563-1-git-send-email-moshe@mellanox.com> References: <1530703837-24563-1-git-send-email-moshe@mellanox.com> X-Mailer: Mew version 6.7 on Emacs 26 / 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]); Thu, 05 Jul 2018 03:58:56 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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!