Skip to content

Commit

Permalink
devlink: add documentation for hns3 driver
Browse files Browse the repository at this point in the history
Add a file to document devlink support for hns3 driver, now support devlink
info and devlink reload.

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hao Chen authored and David S. Miller committed Jul 26, 2021
1 parent cc19862 commit 6149ab6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/networking/devlink/hns3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.. SPDX-License-Identifier: GPL-2.0
====================
hns3 devlink support
====================

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

The ``hns3`` driver supports reloading via ``DEVLINK_CMD_RELOAD``.

Info versions
=============

The ``hns3`` driver reports the following versions

.. list-table:: devlink info versions implemented
:widths: 10 10 80

* - Name
- Type
- Description
* - ``fw``
- running
- Used to represent the firmware version.
1 change: 1 addition & 0 deletions Documentation/networking/devlink/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ parameters, info versions, and other features it supports.
:maxdepth: 1

bnxt
hns3
ionic
ice
mlx4
Expand Down

0 comments on commit 6149ab6

Please sign in to comment.