[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241003134804.GO1310185@kernel.org>
Date: Thu, 3 Oct 2024 14:48:04 +0100
From: Simon Horman <horms@...nel.org>
To: Riyan Dhiman <riyandhiman14@...il.com>
Cc: sgoutham@...vell.com, lcherian@...vell.com, gakula@...vell.com,
jerinj@...vell.com, hkelam@...vell.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
rsaladi2@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] octeontx2-af: Change block parameter to
const pointer in get_lf_str_list
On Tue, Oct 01, 2024 at 04:35:43PM +0530, Riyan Dhiman wrote:
> Convert struct rvu_block block to const struct rvu_block *block in
> get_lf_str_list() function parameter. This improves efficiency by
> avoiding structure copying and reflects the function's read-only
> access to block.
>
> Signed-off-by: Riyan Dhiman <riyandhiman14@...il.com>
> ---
> v2: change target branch to net-next and remove fix tag.
> Compile tested only
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists