]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: hns3: add statistics for PFC frames and MAC control frames
authorliuzhongzhu <liuzhongzhu@huawei.com>
Tue, 22 Jan 2019 23:39:37 +0000 (07:39 +0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 12 Mar 2019 16:38:19 +0000 (13:38 -0300)
commit9c7f24cb65563bce52607f25058ad2a05fac6ad6
tree63a9206b428d35eaa23b7a87cbd3a9cf6da79db8
parent4823e9bb960c3b24b02cff5c4fe20080fe3eeae9
net: hns3: add statistics for PFC frames and MAC control frames

BugLink: https://bugs.launchpad.net/bugs/1819535
In the old firmware version, statistics acquisition of
PFC frames and MAC control frames is not supported.
Add command retrieves statistics for PFC frames and
MAC control frames from the firmware.

Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit d174ea75c96a12287354af53dc17cb24f328f90a)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h