From: Saeed Mahameed <saeedm@mellanox.com>
To: "davem@davemloft.net" <davem@davemloft.net>,
"vasundhara-v.volam@broadcom.com"
<vasundhara-v.volam@broadcom.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Jiri Pirko <jiri@mellanox.com>,
"jakub.kicinski@netronome.com" <jakub.kicinski@netronome.com>,
"gerlitz.or@gmail.com" <gerlitz.or@gmail.com>,
"michael.chan@broadcom.com" <michael.chan@broadcom.com>
Subject: Re: [PATCH v4 net-next 8/9] devlink: Add Documentation/networking/devlink-params.txt
Date: Tue, 9 Oct 2018 06:21:43 +0000 [thread overview]
Message-ID: <389316c10115ddbb06d4895def185b45d3a60954.camel@mellanox.com> (raw)
In-Reply-To: <1538631832-15481-9-git-send-email-vasundhara-v.volam@broadcom.com>
On Thu, 2018-10-04 at 11:13 +0530, Vasundhara Volam wrote:
> This patch adds a new file to add information about some of the
> generic configuration parameters set via devlink.
>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: Jiri Pirko <jiri@mellanox.com>
> Cc: Michael Chan <michael.chan@broadcom.com>
> Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
> ---
> Documentation/networking/devlink-params.txt | 42
> +++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
> create mode 100644 Documentation/networking/devlink-params.txt
>
> diff --git a/Documentation/networking/devlink-params.txt
> b/Documentation/networking/devlink-params.txt
> new file mode 100644
> index 0000000..ae444ff
> --- /dev/null
> +++ b/Documentation/networking/devlink-params.txt
> @@ -0,0 +1,42 @@
> +Devlink configuration parameters
> +================================
> +Following is the list of configuration parameters via devlink
> interface.
> +Each parameter can be generic or driver specific and are device
> level
> +parameters.
> +
> +Note that the driver-specific files should contain the generic
> params
> +they support to, with supported config modes.
> +
> +Each parameter 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.
> +
> +Following is the list of parameters:
> +====================================
> +enable_sriov [DEVICE, GENERIC]
> + Enable Single Root I/O Virtualisation (SRIOV)
> in
> + the device.
> + Type: Boolean
> +
> +ignore_ari [DEVICE, GENERIC]
> + Ignore Alternative Routing-ID Interpretation
> (ARI)
> + capability. If enabled, adapter will ignore ARI
> + capability even when platforms has the support
> + enabled and creates same number of partitions
> when
> + platform does not support ARI.
> + Type: Boolean
> +
> +msix_vec_per_pf_max [DEVICE, GENERIC]
> + Provides the maximum number of MSIX interrupts
> that
> + a device can create. Value is same across all
> + physical functions (PFs) in the device.
> + Type: u32
> +
> +msix_vec_per_pf_min [DEVICE, GENERIC]
> + Provides the minimum number of MSIX interrupts
> required
> + for the device initialization. Value is same
> across all
> + physical functions (PFs) in the device.
> + Type: u32
some parameters can't be dynamic, meaning they can't support all
configuration modes listed above, for example msix min/max can only be
satisfied at driver boot, so runtime configuration doesn't make sense.
shouldn't we have this documented in here ? i mean which parameters
support which modes ?
next prev parent reply other threads:[~2018-10-09 13:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 5:43 [PATCH v4 net-next 0/9] bnxt_en: devlink param updates Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 1/9] devlink: Add generic parameter ignore_ari Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 2/9] devlink: Add generic parameter msix_vec_per_pf_max Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 3/9] devlink: Add generic parameter msix_vec_per_pf_min Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 4/9] bnxt_en: Use ignore_ari devlink parameter Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 5/9] bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 6/9] bnxt_en: Use msix_vec_per_pf_max and msix_vec_per_pf_min devlink params Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 7/9] bnxt_en: Add a driver specific gre_ver_check devlink parameter Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 8/9] devlink: Add Documentation/networking/devlink-params.txt Vasundhara Volam
2018-10-09 6:21 ` Saeed Mahameed [this message]
2018-10-09 6:47 ` Vasundhara Volam
2018-10-04 5:43 ` [PATCH v4 net-next 9/9] devlink: Add Documentation/networking/devlink-params-bnxt.txt Vasundhara Volam
2018-10-04 10:39 ` [PATCH v4 net-next 0/9] bnxt_en: devlink param updates Jiri Pirko
2018-10-04 20:50 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=389316c10115ddbb06d4895def185b45d3a60954.camel@mellanox.com \
--to=saeedm@mellanox.com \
--cc=davem@davemloft.net \
--cc=gerlitz.or@gmail.com \
--cc=jakub.kicinski@netronome.com \
--cc=jiri@mellanox.com \
--cc=michael.chan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=vasundhara-v.volam@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox