Skip to content

Commit

Permalink
Merge branch 'devlink-documentation-refactor'
Browse files Browse the repository at this point in the history
Jacob Keller says:

====================
devlink documentation refactor

This series updates the devlink documentation, with a few primary goals

 * move all of the devlink documentation into a dedicated subfolder
 * convert that documentation to the reStructuredText format
 * merge driver-specific documentations into a single file per driver
 * add missing documentation, including per-driver and devlink generally

For each driver, I took the time to review the code and add further
documentation on the various features it currently supports. Additionally, I
added new documentation files for some of the features such as
devlink-dpipe, devlink-resource, and devlink-regions.

Note for the region snapshot triggering, I kept that as a separate patch as
that is based on work that has not yet been merged to net-next, and may
change.

I also improved the existing documentation for devlink-info and
devlink-param by adding a bit more of an introduction when converting it to
the rst format.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jan 11, 2020
2 parents efa193b + 9cd3e2c commit 451c790
Show file tree
Hide file tree
Showing 33 changed files with 1,208 additions and 317 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ but without enabling "switch" mode, or to different bridges.

Devlink configuration parameters
====================
See Documentation/networking/devlink-params-ti-cpsw-switch.txt
See Documentation/networking/devlink/ti-cpsw-switch.rst

====================
# Bridging in dual mac mode
Expand Down
86 changes: 0 additions & 86 deletions Documentation/networking/devlink-health.txt

This file was deleted.

64 changes: 0 additions & 64 deletions Documentation/networking/devlink-info-versions.rst

This file was deleted.

18 changes: 0 additions & 18 deletions Documentation/networking/devlink-params-bnxt.txt

This file was deleted.

17 changes: 0 additions & 17 deletions Documentation/networking/devlink-params-mlx5.txt

This file was deleted.

10 changes: 0 additions & 10 deletions Documentation/networking/devlink-params-mlxsw.txt

This file was deleted.

7 changes: 0 additions & 7 deletions Documentation/networking/devlink-params-mv88e6xxx.txt

This file was deleted.

5 changes: 0 additions & 5 deletions Documentation/networking/devlink-params-nfp.txt

This file was deleted.

10 changes: 0 additions & 10 deletions Documentation/networking/devlink-params-ti-cpsw-switch.txt

This file was deleted.

71 changes: 0 additions & 71 deletions Documentation/networking/devlink-params.txt

This file was deleted.

20 changes: 0 additions & 20 deletions Documentation/networking/devlink-trap-netdevsim.rst

This file was deleted.

41 changes: 41 additions & 0 deletions Documentation/networking/devlink/bnxt.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.. SPDX-License-Identifier: GPL-2.0
====================
bnxt devlink support
====================

This document describes the devlink features implemented by the ``bnxt``
device driver.

Parameters
==========

.. list-table:: Generic parameters implemented

* - Name
- Mode
* - ``enable_sriov``
- Permanent
* - ``ignore_ari``
- Permanent
* - ``msix_vec_per_pf_max``
- Permanent
* - ``msix_vec_per_pf_min``
- Permanent

The ``bnxt`` driver also implements the following driver-specific
parameters.

.. list-table:: Driver-specific parameters implemented
:widths: 5 5 5 85

* - Name
- Type
- Mode
- Description
* - ``gre_ver_check``
- Boolean
- Permanent
- Generic Routing Encapsulation (GRE) version check will be enabled in
the device. If disabled, the device will skip the version check for
incoming packets.
Loading

0 comments on commit 451c790

Please sign in to comment.