]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add support for querying pfc puase packets statistic
authorPeng Li <lipeng321@huawei.com>
Sat, 10 Mar 2018 03:29:27 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 02:53:32 +0000 (22:53 -0400)
commit7276d87e6668a30c05c19660da995bc177d05b97
tree92fd3e733064c3f72dae307b0c28bf058f328580
parent8f89da35dd5bf81bd5c0a5737039b3359422ad86
net: hns3: add support for querying pfc puase packets statistic

This patch add support for querying pfc puase packets statistic
in hclge_ieee_getpfc, which is used to tell user how many pfc
puase packets have been sent and received by this mac port.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h