]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita23aa9b8480e2d6fde075d2c39441dab50a27486
tree833d6830cc6c5145f7632730588371bbbf77b33c
parent66d55a921a690c27c7c62f67fca5532939f2356f
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