From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 5E1FC18CBFB for ; Mon, 27 Jan 2025 18:08:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738001318; cv=none; b=CsmJeMAobdQlqzI5dvXiydVjjIBCM9WWXpx11Q8K1C9WYisFO5Msn9tqam86w77a6SIzoECk/0BzL/4WmwMI3RbfULEQhiGoK6DX1xIJBkyXSnnhBU85lcGCPncT6dXUVRDeRLBb5aSSX/5WKrbrDEPKpO66/awQG2Z9xWzYOfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738001318; c=relaxed/simple; bh=Z+f+9zKrAALVl/kIAEOH9f5WC0AAsjimQSz8jmtCk1g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=F0vYNQPD8LmvONqxTUpyWkFn1mFtlontlNvi9OCV/fKJ1HMNS8GpOzEGon4uCE0RiDn8KORxpiNXLArPDTl2wmqg5SASMxilNVnDmxflm8aQyDDK/VdE/8FSBOaakNtZjtisupte7AV2ruoASALjt2XS2hxv3C+lsTS62MoQhsg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=tYRysFLP; arc=none smtp.client-ip=95.215.58.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="tYRysFLP" Message-ID: <4bff9efc-eab6-42a1-a2a6-5d4b3c4dccee@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1738001313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=skIdayWsGtfDhykxkY/c0m0d2sHBVaGb3+BX3PRUykM=; b=tYRysFLPxndKuoa69oKSeNlP7zHJCGIKrn/8f94kYnNXpRG/1RqyBha2Se3VYTk4yOG6hC ae+n2I/IiCqODvCIcfexrFrDWqrEX/SvgpRQQJtleE3e9HzFyUQioF/kBuVqQzd6xCC5Ni BcPG7OIG8G7Srj8MVU52/dufyPOh+Os= Date: Tue, 28 Jan 2025 02:07:39 +0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net v4 1/3] net: stmmac: Limit the number of MTL queues to hardware capability To: Kunihiko Hayashi , Alexandre Torgue , Jose Abreu , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin Cc: Russell King , Furong Xu <0x1207@gmail.com>, Joao Pinto , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20250127013820.2941044-1-hayashi.kunihiko@socionext.com> <20250127013820.2941044-2-hayashi.kunihiko@socionext.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yanteng Si In-Reply-To: <20250127013820.2941044-2-hayashi.kunihiko@socionext.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 1/27/25 09:38, Kunihiko Hayashi 写道: > The number of MTL queues to use is specified by the parameter > "snps,{tx,rx}-queues-to-use" from stmmac_platform layer. > > However, the maximum numbers of queues are constrained by upper limits > determined by the capability of each hardware feature. It's appropriate > to limit the values not to exceed the upper limit values and display > a warning message. > > This only works if the hardware capability has the upper limit values. > > Fixes: d976a525c371 ("net: stmmac: multiple queues dt configuration") > Signed-off-by: Kunihiko Hayashi Reviewed-by: Yanteng Si Thanks, Yanteng