Skip to content

Commit 6149ab6

Browse files
Hao Chendavem330
authored andcommitted
devlink: add documentation for hns3 driver
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>
1 parent cc19862 commit 6149ab6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
====================
4+
hns3 devlink support
5+
====================
6+
7+
This document describes the devlink features implemented by the ``hns3``
8+
device driver.
9+
10+
The ``hns3`` driver supports reloading via ``DEVLINK_CMD_RELOAD``.
11+
12+
Info versions
13+
=============
14+
15+
The ``hns3`` driver reports the following versions
16+
17+
.. list-table:: devlink info versions implemented
18+
:widths: 10 10 80
19+
20+
* - Name
21+
- Type
22+
- Description
23+
* - ``fw``
24+
- running
25+
- Used to represent the firmware version.

Documentation/networking/devlink/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ parameters, info versions, and other features it supports.
3434
:maxdepth: 1
3535

3636
bnxt
37+
hns3
3738
ionic
3839
ice
3940
mlx4

0 commit comments

Comments
 (0)