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
41The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
42
43Info versions
44=============
45
46The ``mlx5`` driver reports the following versions
47
48.. list-table:: devlink info versions implemented
49   :widths: 5 5 90
50
51   * - Name
52     - Type
53     - Description
54   * - ``fw.psid``
55     - fixed
56     - Used to represent the board id of the device.
57   * - ``fw.version``
58     - stored, running
59     - Three digit major.minor.subminor firmware version number.
60