[PATCH v3 14/27] net/i40e: avoid rte malloc in DDP package handling

Bruce Richardson bruce.richardson at intel.com
Mon Feb 16 18:12:23 CET 2026


On Wed, Feb 11, 2026 at 01:52:56PM +0000, Anatoly Burakov wrote:
> Currently, when processing Dynamic Driver Profile (DDP) packages and
> checking profile information, we are using rte_zmalloc followed by
> immediate rte_free. This is not needed as these buffers are only used
> temporarily, so replace it with stack-allocated structures or regular
> malloc/free where appropriate.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list