net: hns3: debugfs add drop packet statistics of multicast and broadcast for igu
authorJie Wang <wangjie125@huawei.com>
Wed, 24 Nov 2021 01:06:53 +0000 (09:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2021 14:12:26 +0000 (14:12 +0000)
commit8488e3c682147f60d592b03bc69eaea0fbe1ebcf
tree833d6830cc6c5145f7632730588371bbbf77b33c
parent4f331fda35f1695af8ddd8180edc948880def74b
net: hns3: debugfs add drop packet statistics of multicast and broadcast for igu

Currently, there is no way to get drop packet number of multicast and
broadcast in IGU hardware module, it is not convenient to find problem
when multicast packet or broadcast packet is dropped in IGU, so this
patch adds statistics for them in debugfs.

Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h