Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp885507pxb; Wed, 27 Oct 2021 14:27:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyh7zC42FiWDmyUqY+6lgt4vIM574hLtT7PrFkOmrNLiBrfbY/mEbK9c7si4bIp4uujZKO3 X-Received: by 2002:a17:907:764c:: with SMTP id kj12mr96368ejc.290.1635369954009; Wed, 27 Oct 2021 14:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635369954; cv=none; d=google.com; s=arc-20160816; b=PPM2yqA9zYHKRpCrQuaxdrRvtr9YG4LTTEBz95RUa6X+swwlUkMFwPz2bfMlc8lpWd 0YtqqK+QhM6lCWOTwitrrzGa04a61xgYwU1TiueczE4QVfNrSoUnYmYNNo+3aL6xi8BL bgC2EMcm7ve8rpWYCCocAtanozFIxZI7pSOSJmVjt7i9G0Nm+V8a5A7svLPXSC2fUvGY DO3Yz01ATW5+3MZ2C5rpjtJupMyNoeOzdaYEjw1dX1T1HmnWOQ74bwrwQbNfwPKbCq+2 l5CWvT0o4YvJVHLq90CxRmmVdr6NMQQl6z7ojOkSQAQG39r+604ROUuvD0xbw0UIVgQw VkaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=e5X842fR8Wqcdf7H6i5hc7TURzsHXu4Nt9iddYQlmIc=; b=nlCX5hqy1W28MibtIl9cytovTF1WHbCSahMJIAyEPafrgyj8yR86kdmT9n50CiqY0N Ix91xOLdKv8UJtb1emNKiPE1bq6aD0RsNQ49bjl2ZQM0A0EimInD4rfYv8e/Qgbbt5ce rAbLeccq4TC8MuOlfOH4tnjihz/An2m5353jGRdb+p0pWYcnL0ofJtaUR2XCwJ4IdVoa NaMH3iQxYmmUy+JPsnU0rell97RhR+G6bTNwW7+sW7STLJ11hXDEh+6dL/g4ky+hGu96 iA8K8EiiYKpoYwgt3ChmCLx4lfdsfBNCMXqKhzZzCO3GHJBWZZIJFiLKiv6hU5QTaXND d56Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si1267842edj.60.2021.10.27.14.25.25; Wed, 27 Oct 2021 14:25:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241939AbhJ0MS7 (ORCPT + 97 others); Wed, 27 Oct 2021 08:18:59 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:13982 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241859AbhJ0MSs (ORCPT ); Wed, 27 Oct 2021 08:18:48 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HfSKh3wW8zZcNK; Wed, 27 Oct 2021 20:14:16 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 27 Oct 2021 20:16:12 +0800 Received: from localhost.localdomain (10.67.165.24) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Wed, 27 Oct 2021 20:16:11 +0800 From: Guangbin Huang To: , , CC: , , , , Subject: [PATCH net 7/7] net: hns3: adjust string spaces of some parameters of tx bd info in debugfs Date: Wed, 27 Oct 2021 20:11:49 +0800 Message-ID: <20211027121149.45897-8-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211027121149.45897-1-huangguangbin2@huawei.com> References: <20211027121149.45897-1-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c index f2ade0446208..e54f96251fea 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -790,13 +790,13 @@ static int hns3_dbg_rx_bd_info(struct hns3_dbg_data *d, char *buf, int len) } static const struct hns3_dbg_item tx_bd_info_items[] = { - { "BD_IDX", 5 }, - { "ADDRESS", 2 }, + { "BD_IDX", 2 }, + { "ADDRESS", 13 }, { "VLAN_TAG", 2 }, { "SIZE", 2 }, { "T_CS_VLAN_TSO", 2 }, { "OT_VLAN_TAG", 3 }, - { "TV", 2 }, + { "TV", 5 }, { "OLT_VLAN_LEN", 2 }, { "PAYLEN_OL4CS", 2 }, { "BD_FE_SC_VLD", 2 }, -- 2.33.0