]> asedeno.scripts.mit.edu Git - linux.git/blob - Documentation/networking/devlink/mlx5.rst
Merge tag 'f2fs-for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
[linux.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
41 The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
42
43 Info versions
44 =============
45
46 The ``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.