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 - Validation 18 * - ``enable_roce`` 19 - driverinit 20 * - ``io_eq_size`` 21 - driverinit 22 - The range is between 64 and 4096. 23 * - ``event_eq_size`` 24 - driverinit 25 - The range is between 64 and 4096. 26 27The ``mlx5`` driver also implements the following driver-specific 28parameters. 29 30.. list-table:: Driver-specific parameters implemented 31 :widths: 5 5 5 85 32 33 * - Name 34 - Type 35 - Mode 36 - Description 37 * - ``flow_steering_mode`` 38 - string 39 - runtime 40 - Controls the flow steering mode of the driver 41 42 * ``dmfs`` Device managed flow steering. In DMFS mode, the HW 43 steering entities are created and managed through firmware. 44 * ``smfs`` Software managed flow steering. In SMFS mode, the HW 45 steering entities are created and manage through the driver without 46 firmware intervention. 47 * - ``fdb_large_groups`` 48 - u32 49 - driverinit 50 - Control the number of large groups (size > 1) in the FDB table. 51 52 * The default value is 15, and the range is between 1 and 1024. 53 54The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD`` 55 56Info versions 57============= 58 59The ``mlx5`` driver reports the following versions 60 61.. list-table:: devlink info versions implemented 62 :widths: 5 5 90 63 64 * - Name 65 - Type 66 - Description 67 * - ``fw.psid`` 68 - fixed 69 - Used to represent the board id of the device. 70 * - ``fw.version`` 71 - stored, running 72 - Three digit major.minor.subminor firmware version number. 73