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 2B5071A29A; Wed, 7 May 2025 18:47:12 +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=1746643632; cv=none; b=OQbe0C3inxFRAC/hLCwwE8ZAnqpWXoIzyvgOMsAs493TxoL4baI36qeiNA73HtCxC80ueLHW84E3ZUCoigwYl4QQBpghhIaJVqi5MFfcIRPuLpuO+B0ZWt+RLk7XbYN/t33LjRglS9bTC1xXAtyJO4H3AP2kmFtFrxbxzIFVtyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746643632; c=relaxed/simple; bh=31VifYLDIPpOHGURRwAL9Gc0B36g4CPqOnfsPq9pvkM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ErgIgRk1UvjvaI8+lkBC7l4T+RMkgXiyWDbHlBZwrhLanSdKDejtYfVK8IQXzl+P2n74XOfuVsKL1aF06bzwK59NwIIVUQDeWITHL0CWmKbIJ8BHjG02OhM15JCXZEz87LwjEq1AmfpW424XkMYMw52EACXxJBYvgSHzobVseBw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Equ1xkR2; 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="Equ1xkR2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A4E1C4CEE2; Wed, 7 May 2025 18:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746643632; bh=31VifYLDIPpOHGURRwAL9Gc0B36g4CPqOnfsPq9pvkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Equ1xkR2Ufe/eUp8X0oTk7N2HuF1rU5hl34HhN68JshdMuLjf6P6aB/DQLd4cyajF 4sI11HQWCjhHkASJAMejWKrpzBz6IfGgP/jGyNMQjCAwFCT9nCCTg9ke7+CdD4QA0s ihfR3ul1TTanthFQ1/wyycQz4TvleSNCtm5JSmZM= 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.1 66/97] net: hns3: fixed debugfs tm_qset size Date: Wed, 7 May 2025 20:39:41 +0200 Message-ID: <20250507183809.650410323@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250507183806.987408728@linuxfoundation.org> References: <20250507183806.987408728@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.1-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 d2603cfc122c8..430b3ec800a9e 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