lkml.org 
[lkml]   [2020]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next 4/4] net: hns3: add missing help info for QS shaper in debugfs
    Date
    From: Yonglong Liu <liuyonglong@huawei.com>

    HNS3 driver can dump QS shaper configs via debugfs, but missing
    help info in debugfs for this operation.

    Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
    Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
    ---
    drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
    index 345a84b..e1d8809 100644
    --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
    +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
    @@ -261,6 +261,7 @@ static void hns3_dbg_help(struct hnae3_handle *h)
    dev_info(&h->pdev->dev, "dump ncl_config <offset> <length>(in hex)\n");
    dev_info(&h->pdev->dev, "dump mac tnl status\n");
    dev_info(&h->pdev->dev, "dump loopback\n");
    + dev_info(&h->pdev->dev, "dump qs shaper [qs id]\n");

    memset(printf_buf, 0, HNS3_DBG_BUF_LEN);
    strncat(printf_buf, "dump reg [[bios common] [ssu <port_id>]",
    --
    2.7.4
    \
     
     \ /
      Last update: 2020-02-19 02:24    [W:6.043 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site