57 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3====================4mlx4 devlink support5====================6 7This document describes the devlink features implemented by the ``mlx4``8device driver.9 10Parameters11==========12 13.. list-table:: Generic parameters implemented14 15 * - Name16 - Mode17 * - ``internal_err_reset``18 - driverinit, runtime19 * - ``max_macs``20 - driverinit21 * - ``region_snapshot_enable``22 - driverinit, runtime23 24The ``mlx4`` driver also implements the following driver-specific25parameters.26 27.. list-table:: Driver-specific parameters implemented28 :widths: 5 5 5 8529 30 * - Name31 - Type32 - Mode33 - Description34 * - ``enable_64b_cqe_eqe``35 - Boolean36 - driverinit37 - Enable 64 byte CQEs/EQEs, if the FW supports it.38 * - ``enable_4k_uar``39 - Boolean40 - driverinit41 - Enable using the 4k UAR.42 43The ``mlx4`` driver supports reloading via ``DEVLINK_CMD_RELOAD``44 45Regions46=======47 48The ``mlx4`` driver supports dumping the firmware PCI crspace and health49buffer during a critical firmware issue.50 51In case a firmware command times out, firmware getting stuck, or a non zero52value on the catastrophic buffer, a snapshot will be taken by the driver.53 54The ``cr-space`` region will contain the firmware PCI crspace contents. The55``fw-health`` region will contain the device firmware's health buffer.56Snapshots for both of these regions are taken on the same event triggers.57