Skip to content

Commit 630a673

Browse files
Guangbin Huangdavem330
authored andcommitted
net: hns3: adjust string spaces of some parameters of tx bd info in debugfs
This patch adjusts the string spaces of some parameters of tx bd info in debugfs according to their maximum needs. Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c7a6e39 commit 630a673

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -790,13 +790,13 @@ static int hns3_dbg_rx_bd_info(struct hns3_dbg_data *d, char *buf, int len)
790790
}
791791

792792
static const struct hns3_dbg_item tx_bd_info_items[] = {
793-
{ "BD_IDX", 5 },
794-
{ "ADDRESS", 2 },
793+
{ "BD_IDX", 2 },
794+
{ "ADDRESS", 13 },
795795
{ "VLAN_TAG", 2 },
796796
{ "SIZE", 2 },
797797
{ "T_CS_VLAN_TSO", 2 },
798798
{ "OT_VLAN_TAG", 3 },
799-
{ "TV", 2 },
799+
{ "TV", 5 },
800800
{ "OLT_VLAN_LEN", 2 },
801801
{ "PAYLEN_OL4CS", 2 },
802802
{ "BD_FE_SC_VLD", 2 },

0 commit comments

Comments
 (0)