xref: /linux/Documentation/networking/devlink/mlx5.rst (revision 02680c23d7b3febe45ea3d4f9818c2b2dc89020a)
1.. SPDX-License-Identifier: GPL-2.0
2
3====================
4mlx5 devlink support
5====================
6
7This document describes the devlink features implemented by the ``mlx5``
8device driver.
9
10Parameters
11==========
12
13.. list-table:: Generic parameters implemented
14
15   * - Name
16     - Mode
17   * - ``enable_roce``
18     - driverinit
19
20The ``mlx5`` driver also implements the following driver-specific
21parameters.
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
47The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
48
49Info versions
50=============
51
52The ``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.
66