]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - Documentation/networking/devlink/mlx5.rst
net/mlx5e: Add devlink fdb_large_groups parameter
[mirror_ubuntu-jammy-kernel.git] / Documentation / networking / devlink / mlx5.rst
1 .. SPDX-License-Identifier: GPL-2.0
2
3 ====================
4 mlx5 devlink support
5 ====================
6
7 This document describes the devlink features implemented by the ``mlx5``
8 device driver.
9
10 Parameters
11 ==========
12
13 .. list-table:: Generic parameters implemented
14
15 * - Name
16 - Mode
17 * - ``enable_roce``
18 - driverinit
19
20 The ``mlx5`` driver also implements the following driver-specific
21 parameters.
22
23 .. list-table:: Driver-specific parameters implemented
24 :widths: 5 5 5 85
25
26 * - Name
27 - Type
28 - Mode
29 - Description
30 * - ``flow_steering_mode``
31 - string
32 - runtime
33 - Controls the flow steering mode of the driver
34
35 * ``dmfs`` Device managed flow steering. In DMFS mode, the HW
36 steering entities are created and managed through firmware.
37 * ``smfs`` Software managed flow steering. In SMFS mode, the HW
38 steering entities are created and manage through the driver without
39 firmware intervention.
40 * - ``fdb_large_groups``
41 - u32
42 - driverinit
43 - Control the number of large groups (size > 1) in the FDB table.
44
45 * The default value is 15, and the range is between 1 and 1024.
46
47 The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
48
49 Info versions
50 =============
51
52 The ``mlx5`` driver reports the following versions
53
54 .. list-table:: devlink info versions implemented
55 :widths: 5 5 90
56
57 * - Name
58 - Type
59 - Description
60 * - ``fw.psid``
61 - fixed
62 - Used to represent the board id of the device.
63 * - ``fw.version``
64 - stored, running
65 - Three digit major.minor.subminor firmware version number.