From nobody Tue Feb 10 12:39:18 2026 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3AFA23814A; Wed, 30 Apr 2025 09:37:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746005865; cv=none; b=Zr6EGuKmzhMsWoeYwpOkv/oSiiRFkr8DA1tepvS/mYbEqiZXoBNlDIl9cvk534QAAWrwHtcyahzLfYFrfsoqWfUq1HKF4pNMTIsMl3ekhDoGQRBPt2qPHrb9fy3MzWfhIkge/yG3kwdWUkuUFEfnYfd8w7pvek0jEZz/RD5x32Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746005865; c=relaxed/simple; bh=bioMNQPynzEdLZluNsgcUdzw7ejr0wlHpPxBdYLS6QM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DEgadzxh1L/io7DUKR+mcFrVkk9ARB/kRRjio2sg6kmZN3aTi9lefsTVzViwdt0YY1QlVpvmU0sTwDyYlu4DeVfK3+1PzMl9vOk7eF8qQZgV+FLzrgRmMvBoQT0IAWgm55N+hOegKcRbKtV/Rw5ZxWDCRzYJwwpWrdM25l9VT60= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4ZnX7b0cYhzLpfn; Wed, 30 Apr 2025 17:34:03 +0800 (CST) Received: from kwepemk100013.china.huawei.com (unknown [7.202.194.61]) by mail.maildlp.com (Postfix) with ESMTPS id CA5F71400D4; Wed, 30 Apr 2025 17:37:35 +0800 (CST) Received: from localhost.localdomain (10.90.30.45) by kwepemk100013.china.huawei.com (7.202.194.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 30 Apr 2025 17:37:35 +0800 From: Jijie Shao To: , , , , , CC: , , , , , , , , , Subject: [PATCH net 3/4] net: hns3: fixed debugfs tm_qset size Date: Wed, 30 Apr 2025 17:30:51 +0800 Message-ID: <20250430093052.2400464-4-shaojijie@huawei.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20250430093052.2400464-1-shaojijie@huawei.com> References: <20250430093052.2400464-1-shaojijie@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemk100013.china.huawei.com (7.202.194.61) Content-Type: text/plain; charset="utf-8" From: Hao Lan The size of the tm_qset file of debugfs is limited to 64 KB, which is too small in the scenario with 1280 qsets. The size needs to be expanded to 1 MB. Fixes: 5e69ea7ee2a6 ("net: hns3: refactor the debugfs process") Signed-off-by: Hao Lan Signed-off-by: Peiyang Wang Signed-off-by: Jijie Shao --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c b/drivers/n= et/ethernet/hisilicon/hns3/hns3_debugfs.c index 09749e9f7398..4e5d8bc39a1b 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -61,7 +61,7 @@ static struct hns3_dbg_cmd_info hns3_dbg_cmd[] =3D { .name =3D "tm_qset", .cmd =3D HNAE3_DBG_CMD_TM_QSET, .dentry =3D HNS3_DBG_DENTRY_TM, - .buf_len =3D HNS3_DBG_READ_LEN, + .buf_len =3D HNS3_DBG_READ_LEN_1MB, .init =3D hns3_dbg_common_file_init, }, { --=20 2.33.0