-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devlink: add parameter documentation for the mlx4 driver
The mlx5 and mlxsw drivers have driver-specific documentation for the devlink features they support. No such file was added for mlx4. Add a file to document the mlx4 devlink support. Initially it contains only the devlink parameters. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Cc: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Jacob Keller
authored and
David S. Miller
committed
Jan 11, 2020
1 parent
d4255d7
commit ee7a711
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.. SPDX-License-Identifier: GPL-2.0 | ||
==================== | ||
mlx4 devlink support | ||
==================== | ||
|
||
This document describes the devlink features implemented by the ``mlx4`` | ||
device driver. | ||
|
||
Parameters | ||
========== | ||
|
||
.. list-table:: 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. | ||
|
||
.. list-table:: Driver-specific parameters implemented | ||
:widths: 5 5 5 85 | ||
|
||
* - 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`` |