Skip to content

Commit

Permalink
net: hns3: debugfs add drop packet statistics of multicast and broadc…
Browse files Browse the repository at this point in the history
…ast 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>
  • Loading branch information
Jie Wang authored and David S. Miller committed Nov 24, 2021
1 parent 4f331fd commit 8488e3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,10 @@ static const struct hclge_dbg_dfx_message hclge_dbg_igu_egu_reg[] = {
{true, "IGU_RX_OUT_UDP0_PKT"},

{true, "IGU_RX_IN_UDP0_PKT"},
{false, "Reserved"},
{false, "Reserved"},
{false, "Reserved"},
{false, "Reserved"},
{true, "IGU_MC_CAR_DROP_PKT_L"},
{true, "IGU_MC_CAR_DROP_PKT_H"},
{true, "IGU_BC_CAR_DROP_PKT_L"},
{true, "IGU_BC_CAR_DROP_PKT_H"},
{false, "Reserved"},

{true, "IGU_RX_OVERSIZE_PKT_L"},
Expand Down

0 comments on commit 8488e3c

Please sign in to comment.