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 3290D193070 for ; Mon, 30 Sep 2024 16:56:41 +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=1727715403; cv=none; b=OgufXifxryXb0p5wPvRh1DOKwS8xKbjQcz2Ckqvh9UrHD40MGXA9huj2EGs9zi9QQD863KxtWlWtUPPp1ZrHScrZRZPcR8wbQpIAqoy2MoEHKaGzi+NfNfX9ai1P7eiVPliorVqv8k1l6gmdFEfoKhBnMglEzGogIQ4b5b+gIDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727715403; c=relaxed/simple; bh=smJ41339DXJMcFTyUmTXVKb/FV6x2vzFLgBVAC9IMvM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ingjPe8If1WBUfbUvvV38/aa7jaMZbzfd4WNaldSFf18QMhi3XNZTlRpZ47N8wNklbRR9HvKjpN7+k6eVZgyfR9s2gSw8InvGyBd1DYJfru+qk1jMQtuR/zWG+TcDBGdNbYPvfzSYBOn2iLSaTR3Uvnmc+VhgYuiAxO76Lt9jVw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UhXuE3K7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UhXuE3K7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4430DC4CEC7; Mon, 30 Sep 2024 16:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727715401; bh=smJ41339DXJMcFTyUmTXVKb/FV6x2vzFLgBVAC9IMvM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UhXuE3K7tbg7qM/NRg1MrIViYVa0Awz/srh4rC1oMYFwuAI97JZTfoNufFXg0734R 38z2m5vxCtecOva9DV5J7JZJ+xZWIJHeDylmaGznqMxXxb8NvrlLTIsknJlqx2phq7 qdWQamFr7qs9Jo4WHqA/eMw+i5pI7JqbU1DirLgjH/tyh9ZFhhHUtJsJ/ShFeCvpfG bIlUrS6SrS7Rgrv/LEkSSjLeEPxte2XxOpzujKZ15+a1dTn2fu7BsRskrdHMs/2CPr FRiRaLY4+ODIoLKiVf9zbjF+3zDltgic9G9ztAHe0OzzyDOQLssaTRhVDCkkWT68Ud xXiduAkRmNEAQ== Date: Mon, 30 Sep 2024 17:56:37 +0100 From: Simon Horman To: Lorenzo Bianconi Cc: Felix Fietkau , Sean Wang , Mark Lee , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, upstream@airoha.com Subject: Re: [PATCH net-next 1/2] net: airoha: read default PSE reserved pages value before updating Message-ID: <20240930165637.GI1310185@kernel.org> References: <20240930-airoha-eth-pse-fix-v1-0-f41f2f35abb9@kernel.org> <20240930-airoha-eth-pse-fix-v1-1-f41f2f35abb9@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240930-airoha-eth-pse-fix-v1-1-f41f2f35abb9@kernel.org> On Mon, Sep 30, 2024 at 02:33:48PM +0200, Lorenzo Bianconi wrote: > Store the default value for the number of PSE reserved pages in orig_val > at the beginning of airoha_fe_set_pse_oq_rsv routine, before updating it > with airoha_fe_set_pse_queue_rsv_pages(). > Introduce airoha_fe_get_pse_all_rsv utility routine. > > commit 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC") > Signed-off-by: Lorenzo Bianconi Hi Lorenzo, Sorry, but I think the above syntax is due to me not explaining things properly. I think you want something more like. In particular, commit, is not a tag, so you should have a blank line between it and the tags: ... Introduce airoha_fe_get_pse_all_rsv utility routine. Introduced by commit 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC"). Signed-off-by: ...