]> 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)
commit640843e2012b26dd8da5ef6beb88575480955f8c
tree833d6830cc6c5145f7632730588371bbbf77b33c
parent4cd3638325afaabbe8614f616fc7d95c301a5a19
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