summaryrefslogtreecommitdiff
path: root/Documentation/networking/devlink/octeontx2.rst
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2021-10-28 18:38:15 +0530
committerDavid S. Miller <davem@davemloft.net>2021-10-28 14:35:34 +0100
commit442e796f0aa755ea2a9e3d2f007a6bfcf08bb183 (patch)
tree2b904b1e780004fe0b57583fbb3a0e3bffb2cde8 /Documentation/networking/devlink/octeontx2.rst
parent648a991cf31644a06e32dc7640319f0bc15e93ae (diff)
devlink: add documentation for octeontx2 driver
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/devlink/octeontx2.rst')
-rw-r--r--Documentation/networking/devlink/octeontx2.rst42
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/octeontx2.rst b/Documentation/networking/devlink/octeontx2.rst
new file mode 100644
index 000000000000..610de99b728a
--- /dev/null
+++ b/Documentation/networking/devlink/octeontx2.rst
@@ -0,0 +1,42 @@
+.. 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.
+
+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.