netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Subbaraya Sundeep <sbhatta@marvell.com>
To: <davem@davemloft.net>, <kuba@kernel.org>, <netdev@vger.kernel.org>
Cc: <hkelam@marvell.com>, <gakula@marvell.com>,
	<sgoutham@marvell.com>, <rsaladi2@marvell.com>,
	Subbaraya Sundeep <sbhatta@marvell.com>
Subject: [net-next PATCH 2/2] devlink: add documentation for octeontx2 driver
Date: Wed, 27 Oct 2021 16:01:15 +0530	[thread overview]
Message-ID: <1635330675-25592-3-git-send-email-sbhatta@marvell.com> (raw)
In-Reply-To: <1635330675-25592-1-git-send-email-sbhatta@marvell.com>

Add a file to document devlink support for octeontx2
driver. Driver-specific parameters implemented by
AF, PF and VF drivers are documented.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
---
 Documentation/networking/devlink/index.rst     |  1 +
 Documentation/networking/devlink/octeontx2.rst | 47 ++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 Documentation/networking/devlink/octeontx2.rst

diff --git a/Documentation/networking/devlink/index.rst b/Documentation/networking/devlink/index.rst
index 19ffd56..4431237 100644
--- a/Documentation/networking/devlink/index.rst
+++ b/Documentation/networking/devlink/index.rst
@@ -48,3 +48,4 @@ parameters, info versions, and other features it supports.
    am65-nuss-cpsw-switch
    prestera
    iosm
+   octeontx2
diff --git a/Documentation/networking/devlink/octeontx2.rst b/Documentation/networking/devlink/octeontx2.rst
new file mode 100644
index 0000000..988fa21
--- /dev/null
+++ b/Documentation/networking/devlink/octeontx2.rst
@@ -0,0 +1,47 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+=========================
+octeontx2 devlink support
+=========================
+
+This document describes the devlink features implemented by the ``octeontx2 AF, PF and VF``
+device drivers.
+
+Parameters
+==========
+
+The ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters.
+
+.. list-table:: Driver-specific parameters implemented
+   :widths: 5 5 5 85
+
+   * - Name
+     - Type
+     - Mode
+     - Description
+   * - ``mcam_count``
+     - u16
+     - runtime
+     - Select number of match CAM entries to be allocated for an interface.
+       The same is used for ntuple filters of the interface. Supported by
+       PF and VF drivers.
+   * - ``serdes_link``
+     - bool
+     - runtime
+     - Use to initialize and de-initialize SerDes configuration. Command is
+       sent to firmware for SerDes configuration. Supported by PF driver
+
+The ``octeontx2 AF`` driver implements the following driver-specific parameters.
+
+.. list-table:: Driver-specific parameters implemented
+   :widths: 5 5 5 85
+
+   * - Name
+     - Type
+     - Mode
+     - Description
+   * - ``dwrr_mtu``
+     - u32
+     - runtime
+     - Use to set the quantum which hardware uses for scheduling among transmit queues.
+       Hardware uses weighted DWRR algorithm to schedule among all transmit queues.
-- 
2.7.4


  parent reply	other threads:[~2021-10-27 10:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 10:31 [net-next PATCH 0/2] Add a devlink param and documentation Subbaraya Sundeep
2021-10-27 10:31 ` [net-next PATCH 1/2] octeontx2-pf: Add devlink param to init and de-init serdes Subbaraya Sundeep
2021-10-27 15:38   ` Jakub Kicinski
     [not found]     ` <PH0PR18MB4671C22DB7C8E5C46647860FA1859@PH0PR18MB4671.namprd18.prod.outlook.com>
2021-10-27 16:43       ` Fw: [EXT] " sundeep subbaraya
2021-10-27 17:08         ` Jakub Kicinski
2021-10-27 18:11           ` Ido Schimmel
     [not found]             ` <BY3PR18MB473794E01049EC94156E2858C6859@BY3PR18MB4737.namprd18.prod.outlook.com>
2021-10-27 22:24               ` Ido Schimmel
2021-10-28 12:18                 ` sundeep subbaraya
2021-10-28 13:51                   ` Ido Schimmel
2021-10-30  7:25                     ` sundeep subbaraya
2021-11-07  9:21                       ` Ido Schimmel
2021-11-08 15:54                         ` Jakub Kicinski
2021-11-11 14:51                           ` Ido Schimmel
2021-11-11 16:47                             ` Jakub Kicinski
2021-11-14  8:38                               ` Ido Schimmel
2021-11-15  4:19                                 ` Roopa Prabhu
2021-11-15 15:11                                   ` Jakub Kicinski
2021-11-19 10:47                                     ` sundeep subbaraya
2021-11-19 14:09                                       ` Jakub Kicinski
2021-11-19 14:26                                         ` sundeep subbaraya
2021-11-19 14:49                                           ` Jakub Kicinski
2021-10-27 10:31 ` Subbaraya Sundeep [this message]
2021-10-27 15:39   ` [net-next PATCH 2/2] devlink: add documentation for octeontx2 driver Jakub Kicinski
     [not found]     ` <PH0PR18MB46711B24C7305B8488266C8CA1859@PH0PR18MB4671.namprd18.prod.outlook.com>
2021-10-27 17:04       ` Fw: [EXT] " sundeep subbaraya

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=1635330675-25592-3-git-send-email-sbhatta@marvell.com \
    --to=sbhatta@marvell.com \
    --cc=davem@davemloft.net \
    --cc=gakula@marvell.com \
    --cc=hkelam@marvell.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=rsaladi2@marvell.com \
    --cc=sgoutham@marvell.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;
as well as URLs for NNTP newsgroup(s).