]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:40:15 +0000 (14:40 -0400)
commit4ec15435b4dd87906d85579ecb1461687894fdc6
tree7ca624f9f65288e4aad0cc6dff1e8d2cfb4bb17b
parent885a882a79cecb210300dd6b228a1e4e6a6958b0
net: hns3: add support for querying pfc puase packets statistic

BugLink: https://bugs.launchpad.net/bugs/1768670
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>
(cherry picked from commit 64fd2300fcc15f5660e72754c2207d25cb6a0cba)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
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