On 2020/8/21 0:02, Jakub Kicinski wrote:
> On Thu, 20 Aug 2020 20:14:32 +0800 Luo bin wrote:
>> +static int hinic_dbg_help(struct hinic_dev *nic_dev, const char *cmd_buf)
>> +{
>> +netif_info(nic_dev, drv, nic_dev->netdev, "Available commands:\n");
>> +netif_info(nic_dev, drv, nic_dev->netd
On Thu, 20 Aug 2020 20:14:32 +0800 Luo bin wrote:
> +static int hinic_dbg_help(struct hinic_dev *nic_dev, const char *cmd_buf)
> +{
> + netif_info(nic_dev, drv, nic_dev->netdev, "Available commands:\n");
> + netif_info(nic_dev, drv, nic_dev->netdev, "sq info \n");
> + netif_info(nic_dev
add debugfs node for querying sq/rq info, mac table, sq ci table,
rq cqe info, global table, function table, port and vlan table.
Signed-off-by: Luo bin
---
drivers/net/ethernet/huawei/hinic/Makefile|3 +-
.../net/ethernet/huawei/hinic/hinic_debugfs.c | 1354 +
.../net/et