Commit 6149ab60 authored by Hao Chen's avatar Hao Chen Committed by David S. Miller
Browse files

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: default avatarHao Chen <chenhao288@hisilicon.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cc19862f
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
.. 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 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ parameters, info versions, and other features it supports.
   :maxdepth: 1

   bnxt
   hns3
   ionic
   ice
   mlx4