xref: /linux/Documentation/networking/devlink/octeontx2.rst (revision c94cd9508b1335b949fd13ebd269313c65492df0)
1.. SPDX-License-Identifier: GPL-2.0
2
3=========================
4octeontx2 devlink support
5=========================
6
7This document describes the devlink features implemented by the ``octeontx2 AF, PF and VF``
8device drivers.
9
10Parameters
11==========
12
13The ``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
29The ``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.
43
44The ``octeontx2 PF`` driver implements the following driver-specific parameters.
45
46.. list-table:: Driver-specific parameters implemented
47   :widths: 5 5 5 85
48
49   * - Name
50     - Type
51     - Mode
52     - Description
53   * - ``unicast_filter_count``
54     - u8
55     - runtime
56     - Set the maximum number of unicast filters that can be programmed for
57       the device. This can be used to achieve better device resource
58       utilization, avoiding over consumption of unused MCAM table entries.
59