• liuzhongzhu's avatar
    net: hns3: Add "qos buffer" config info query function · 7d9d7f88
    liuzhongzhu authored
    This patch prints qos buffer config information.
    
    debugfs command:
    echo dump qos buf cfg > cmd
    
    Sample Command:
    root@(none)# echo dump qos buf cfg > cmd
    hns3 0000:7d:00.0: dump qos buf cfg
    hns3 0000:7d:00.0: tx_packet_buf_tc_0: 0x1aa
    hns3 0000:7d:00.0: tx_packet_buf_tc_1: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_2: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_3: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_4: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_5: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_6: 0x0
    hns3 0000:7d:00.0: tx_packet_buf_tc_7: 0x0
    hns3 0000:7d:00.0:
    hns3 0000:7d:00.0: rx_packet_buf_tc_0: 0x130
    hns3 0000:7d:00.0: rx_packet_buf_tc_1: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_2: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_3: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_4: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_5: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_6: 0x0
    hns3 0000:7d:00.0: rx_packet_buf_tc_7: 0x0
    hns3 0000:7d:00.0: rx_share_buf: 0x1e0e
    root@(none)#
    Signed-off-by: default avatarliuzhongzhu <liuzhongzhu@huawei.com>
    Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    7d9d7f88
hclge_debugfs.c 15.1 KB