Logo of The Linux Kernel

The Linux Kernel

next-20260806

Quick search

Contents

Working with the development community

  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs

Internal API manuals

  • Core API
  • Driver APIs
  • Subsystems
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
      • NetLabel
      • InfiniBand
      • MHI
    • Storage interfaces
    • Other subsystems
  • Locking

Development tools and processes

  • Licensing rules
  • Writing documentation
  • Development tools
  • Testing guide
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust

User-oriented documentation

  • Administration
  • Build system
  • Reporting issues
  • Userspace tools
  • Userspace API

Firmware-related documentation

  • Firmware
  • Firmware and Devicetree

Architecture-specific documentation

  • CPU architectures

Other documentation

  • Unsorted documentation

Translations

  • Translations

This Page

  • Show Source

mlx4 devlink support¶

This document describes the devlink features implemented by the mlx4 device driver.

Parameters¶

Generic parameters implemented¶

Name

Mode

internal_err_reset

driverinit, runtime

max_macs

driverinit

region_snapshot_enable

driverinit, runtime

The mlx4 driver also implements the following driver-specific parameters.

Driver-specific parameters implemented¶

Name

Type

Mode

Description

enable_64b_cqe_eqe

Boolean

driverinit

Enable 64 byte CQEs/EQEs, if the FW supports it.

enable_4k_uar

Boolean

driverinit

Enable using the 4k UAR.

The mlx4 driver supports reloading via DEVLINK_CMD_RELOAD

Regions¶

The mlx4 driver supports dumping the firmware PCI crspace and health buffer during a critical firmware issue.

In case a firmware command times out, firmware getting stuck, or a non zero value on the catastrophic buffer, a snapshot will be taken by the driver.

The cr-space region will contain the firmware PCI crspace contents. The fw-health region will contain the device firmware’s health buffer. Snapshots for both of these regions are taken on the same event triggers.

©The kernel development community. | Powered by Sphinx 7.4.7 & Alabaster 0.7.16 | Page source