1 .. SPDX-License-Identifier: GPL-2.0
7 This document describes the devlink features implemented by the ``mlx5``
13 .. list-table:: Generic parameters implemented
23 - The range is between 64 and 4096.
26 - The range is between 64 and 4096.
29 - The range is between 1 and 2^31. Only power of 2 values are supported.
31 The ``mlx5`` driver also implements the following driver-specific
34 .. list-table:: Driver-specific parameters implemented
41 * - ``flow_steering_mode``
44 - Controls the flow steering mode of the driver
46 * ``dmfs`` Device managed flow steering. In DMFS mode, the HW
47 steering entities are created and managed through firmware.
48 * ``smfs`` Software managed flow steering. In SMFS mode, the HW
49 steering entities are created and manage through the driver without
50 firmware intervention.
51 * - ``fdb_large_groups``
54 - Control the number of large groups (size > 1) in the FDB table.
56 * The default value is 15, and the range is between 1 and 1024.
60 - Control MultiPort E-Switch shared fdb mode.
62 An experimental mode where a single E-Switch is used and all the vports
63 and physical ports on the NIC are connected to it.
65 An example is to send traffic from a VF that is created on PF0 to an
66 uplink that is natively associated with the uplink of PF1
68 Note: Future devices, ConnectX-8 and onward, will eventually have this
69 as the default to allow forwarding between all NIC ports in a single
70 E-switch environment and the dual E-switch mode will likely get
75 * - ``hairpin_num_queues``
78 - We refer to a TC NIC rule that involves forwarding as "hairpin".
79 Hairpin queues are mlx5 hardware specific implementation for hardware
80 forwarding of such packets.
82 Control the number of hairpin queues.
83 * - ``hairpin_queue_size``
86 - Control the size (in packets) of the hairpin queues.
88 The ``mlx5`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
93 The ``mlx5`` driver reports the following versions
95 .. list-table:: devlink info versions implemented
103 - Used to represent the board id of the device.
106 - Three digit major.minor.subminor firmware version number.