]> 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)
commit7022bcc0c8ea7ed914a3e29821bb712db72b734b
tree92fd3e733064c3f72dae307b0c28bf058f328580
parentd3e0cf7fb2e3081538645bee1b9af4a041324daf
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