Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Subbaraya Sundeep and committed by
David S. Miller
442e796f 648a991c

+43
+1
Documentation/networking/devlink/index.rst
··· 48 48 am65-nuss-cpsw-switch 49 49 prestera 50 50 iosm 51 + octeontx2
+42
Documentation/networking/devlink/octeontx2.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ========================= 4 + octeontx2 devlink support 5 + ========================= 6 + 7 + This document describes the devlink features implemented by the ``octeontx2 AF, PF and VF`` 8 + device drivers. 9 + 10 + Parameters 11 + ========== 12 + 13 + The ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters. 14 + 15 + .. list-table:: Driver-specific parameters implemented 16 + :widths: 5 5 5 85 17 + 18 + * - Name 19 + - Type 20 + - Mode 21 + - Description 22 + * - ``mcam_count`` 23 + - u16 24 + - runtime 25 + - Select number of match CAM entries to be allocated for an interface. 26 + The same is used for ntuple filters of the interface. Supported by 27 + PF and VF drivers. 28 + 29 + The ``octeontx2 AF`` driver implements the following driver-specific parameters. 30 + 31 + .. list-table:: Driver-specific parameters implemented 32 + :widths: 5 5 5 85 33 + 34 + * - Name 35 + - Type 36 + - Mode 37 + - Description 38 + * - ``dwrr_mtu`` 39 + - u32 40 + - runtime 41 + - Use to set the quantum which hardware uses for scheduling among transmit queues. 42 + Hardware uses weighted DWRR algorithm to schedule among all transmit queues.