]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Adjust prefix of tx/rx statistic names
authorJian Shen <shenjian15@huawei.com>
Fri, 21 Sep 2018 15:41:39 +0000 (16:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:29:32 +0000 (19:29 -0700)
commitafefac31678caf51f238f553ef44e610c469a621
treecb44d4b0729fca7fdb1b1bfc7258aa3c6a1a5c57
parenta95f3bd1cb7f3124ddd17cdf0b819af6a191fea0
net: hns3: Adjust prefix of tx/rx statistic names

Some prefix of tx/rx statistic names are redundant, this patch modifies
these names.

The new prefix looks like below:
rxq#1_ -> rxq1_
txq#1_ -> txq1_
tx_dropped -> dropped
tx_wake -> wake
tx_busy -> busy
rx_dropped -> dropped

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c