1 .. SPDX-License-Identifier: GPL-2.0 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 ========================= 3 ========================= 4 octeontx2 devlink support 4 octeontx2 devlink support 5 ========================= 5 ========================= 6 6 7 This document describes the devlink features i 7 This document describes the devlink features implemented by the ``octeontx2 AF, PF and VF`` 8 device drivers. 8 device drivers. 9 9 10 Parameters 10 Parameters 11 ========== 11 ========== 12 12 13 The ``octeontx2 PF and VF`` drivers implement 13 The ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters. 14 14 15 .. list-table:: Driver-specific parameters imp 15 .. list-table:: Driver-specific parameters implemented 16 :widths: 5 5 5 85 16 :widths: 5 5 5 85 17 17 18 * - Name 18 * - Name 19 - Type 19 - Type 20 - Mode 20 - Mode 21 - Description 21 - Description 22 * - ``mcam_count`` 22 * - ``mcam_count`` 23 - u16 23 - u16 24 - runtime 24 - runtime 25 - Select number of match CAM entries to b 25 - Select number of match CAM entries to be allocated for an interface. 26 The same is used for ntuple filters of 26 The same is used for ntuple filters of the interface. Supported by 27 PF and VF drivers. 27 PF and VF drivers. 28 28 29 The ``octeontx2 AF`` driver implements the fol 29 The ``octeontx2 AF`` driver implements the following driver-specific parameters. 30 30 31 .. list-table:: Driver-specific parameters imp 31 .. list-table:: Driver-specific parameters implemented 32 :widths: 5 5 5 85 32 :widths: 5 5 5 85 33 33 34 * - Name 34 * - Name 35 - Type 35 - Type 36 - Mode 36 - Mode 37 - Description 37 - Description 38 * - ``dwrr_mtu`` 38 * - ``dwrr_mtu`` 39 - u32 39 - u32 40 - runtime 40 - runtime 41 - Use to set the quantum which hardware u 41 - Use to set the quantum which hardware uses for scheduling among transmit queues. 42 Hardware uses weighted DWRR algorithm t 42 Hardware uses weighted DWRR algorithm to schedule among all transmit queues. 43 43 44 The ``octeontx2 PF`` driver implements the fol 44 The ``octeontx2 PF`` driver implements the following driver-specific parameters. 45 45 46 .. list-table:: Driver-specific parameters imp 46 .. list-table:: Driver-specific parameters implemented 47 :widths: 5 5 5 85 47 :widths: 5 5 5 85 48 48 49 * - Name 49 * - Name 50 - Type 50 - Type 51 - Mode 51 - Mode 52 - Description 52 - Description 53 * - ``unicast_filter_count`` 53 * - ``unicast_filter_count`` 54 - u8 54 - u8 55 - runtime 55 - runtime 56 - Set the maximum number of unicast filte 56 - Set the maximum number of unicast filters that can be programmed for 57 the device. This can be used to achieve 57 the device. This can be used to achieve better device resource 58 utilization, avoiding over consumption 58 utilization, avoiding over consumption of unused MCAM table entries.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.