public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Tariq Toukan <ttoukan.linux@gmail.com>
To: Cheng-Yang Chou <yphbchou0911@gmail.com>
Cc: charlie910417@gmail.com, jserv@ccns.ncku.edu.tw, leon@kernel.org,
	mbloch@nvidia.com, netdev@vger.kernel.org, saeedm@nvidia.com,
	tariqt@nvidia.com
Subject: Re: [PATCH v3] net/mlx5/core: Allocate ttc_params on heap
Date: Wed, 4 Mar 2026 09:53:15 +0200	[thread overview]
Message-ID: <8b501a1f-9c5e-4f3c-a136-277fc24af154@gmail.com> (raw)
In-Reply-To: <20260226174601.2120282-1-yphbchou0911@gmail.com>



On 26/02/2026 19:46, Cheng-Yang Chou wrote:
> The ttc_params structure is too large to be allocated on the stack,
> triggering warnings for exceeding the 1024-byte frame size limit.
> Consuming excessive stack space risks causing stack overflows.
> 
> Allocate the structure dynamically to maintain safe stack boundaries.
> 
> Signed-off-by: Po-Ying Chiu <charlie910417@gmail.com>
> Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
> Suggested-by: Leon Romanovsky <leon@kernel.org>
> ---

Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Thanks.


  parent reply	other threads:[~2026-03-04  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-26 11:42 [PATCH v2] net/mlx5/core: Allocate ttc_params on heap Cheng-Yang Chou
2026-02-26 17:46 ` [PATCH v3] " Cheng-Yang Chou
2026-03-03 10:36   ` Cheng-Yang Chou
2026-03-04  7:53   ` Tariq Toukan [this message]
2026-03-14 17:30     ` Cheng-Yang Chou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8b501a1f-9c5e-4f3c-a136-277fc24af154@gmail.com \
    --to=ttoukan.linux@gmail.com \
    --cc=charlie910417@gmail.com \
    --cc=jserv@ccns.ncku.edu.tw \
    --cc=leon@kernel.org \
    --cc=mbloch@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@nvidia.com \
    --cc=tariqt@nvidia.com \
    --cc=yphbchou0911@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox