16c39e015SJacob Keller.. SPDX-License-Identifier: GPL-2.0
26c39e015SJacob Keller
36c39e015SJacob Keller=====================
46c39e015SJacob Kellermlxsw devlink support
56c39e015SJacob Keller=====================
66c39e015SJacob Keller
76c39e015SJacob KellerThis document describes the devlink features implemented by the ``mlxsw``
86c39e015SJacob Kellerdevice driver.
96c39e015SJacob Keller
106c39e015SJacob KellerParameters
116c39e015SJacob Keller==========
126c39e015SJacob Keller
136c39e015SJacob Keller.. list-table:: Generic parameters implemented
146c39e015SJacob Keller
156c39e015SJacob Keller   * - Name
166c39e015SJacob Keller     - Mode
176c39e015SJacob Keller   * - ``fw_load_policy``
186c39e015SJacob Keller     - driverinit
196c39e015SJacob Keller
206c39e015SJacob KellerThe ``mlxsw`` driver also implements the following driver-specific
216c39e015SJacob Kellerparameters.
226c39e015SJacob Keller
236c39e015SJacob Keller.. list-table:: Driver-specific parameters implemented
246c39e015SJacob Keller   :widths: 5 5 5 85
256c39e015SJacob Keller
266c39e015SJacob Keller   * - Name
276c39e015SJacob Keller     - Type
286c39e015SJacob Keller     - Mode
296c39e015SJacob Keller     - Description
306c39e015SJacob Keller   * - ``acl_region_rehash_interval``
316c39e015SJacob Keller     - u32
326c39e015SJacob Keller     - runtime
336c39e015SJacob Keller     - Sets an interval for periodic ACL region rehashes. The value is
346c39e015SJacob Keller       specified in milliseconds, with a minimum of ``3000``. The value of
356c39e015SJacob Keller       ``0`` disables periodic work entirely. The first rehash will be run
366c39e015SJacob Keller       immediately after the value is set.
376c39e015SJacob Keller
386c39e015SJacob KellerThe ``mlxsw`` driver supports reloading via ``DEVLINK_CMD_RELOAD``
39