From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D77322144C1; Wed, 7 May 2025 18:56:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746644176; cv=none; b=svkdTUvRvwOPSXY6cpRN/f3KqyNVziTU7qTq0pVcyGytnVBzTR+BiJuI8c+a9P4xHpW/zsoe8NpAf+y8qdM9zkGEQ3TFvszAsT5D2ZOGgHXozNLEl0sEpqIxAPSleoK6d77D38LPrhdQEDIeFZjo5Et4Re08MVWw4zHKelXEiKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746644176; c=relaxed/simple; bh=jXlDxNSau3lBwRSLqQh4Wk3q50OlGxOjt80qv/bA4XU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GCJKWDu4C4xb8iN/bo3xYvGW8SuA1JLOIyDMICokreceSZAquW5+CmvKvphR7ue2tEZoqoLzsRbI2+yjTN3CidD5AxmmtuvRcSmoQqLN3JwYpvB1LqbD3ahFE5KEYlvnktAmOiUqBzHf4Vc7hHjOoXEbj9+q52XBvAmWyBbTAdI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yjOy9Wwt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yjOy9Wwt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66D04C4CEE2; Wed, 7 May 2025 18:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746644176; bh=jXlDxNSau3lBwRSLqQh4Wk3q50OlGxOjt80qv/bA4XU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yjOy9WwtbU41LQUuvZonFLZpRBUH8SxYwGcxuCpxtytXYjpfCVS8L+EYH736hLpKF XR01wtasM3aLZmQ0vuMeHrU6/QvoaZAmuLxlFpvmXwGDj5KXgFtLDhMv4kZkTVfOEa QHEnWj1V9unUca1Z6ejLZXdL/DfaaFmSMBjLbfQg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Hao Lan , Peiyang Wang , Jijie Shao , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.14 142/183] net: hns3: fixed debugfs tm_qset size Date: Wed, 7 May 2025 20:39:47 +0200 Message-ID: <20250507183830.622600538@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250507183824.682671926@linuxfoundation.org> References: <20250507183824.682671926@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hao Lan [ Upstream commit e317aebeefcb3b0c71f2305af3c22871ca6b3833 ] 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 Link: https://patch.msgid.link/20250430093052.2400464-4-shaojijie@huawei.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- 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/net/ethernet/hisilicon/hns3/hns3_debugfs.c index 9bbece25552b1..3d70c97a0bedf 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c @@ -60,7 +60,7 @@ static struct hns3_dbg_cmd_info hns3_dbg_cmd[] = { .name = "tm_qset", .cmd = HNAE3_DBG_CMD_TM_QSET, .dentry = HNS3_DBG_DENTRY_TM, - .buf_len = HNS3_DBG_READ_LEN, + .buf_len = HNS3_DBG_READ_LEN_1MB, .init = hns3_dbg_common_file_init, }, { -- 2.39.5