[PATCH v5 09/27] net/i40e: avoid rte malloc in tunnel set

Medvedkin, Vladimir vladimir.medvedkin at intel.com
Tue Feb 17 18:24:27 CET 2026


Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>

On 2/17/2026 12:13 PM, Anatoly Burakov wrote:
> Currently, when setting tunnel configuration, we are using rte_zmalloc
> followed by an immediate rte_free. This is not needed as this memory is
> not being stored anywhere, so replace it with stack allocation.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>   drivers/net/intel/i40e/i40e_ethdev.c | 124 ++++++++++++---------------
>   1 file changed, 53 insertions(+), 71 deletions(-)
>
<snip>

-- 
Regards,
Vladimir



More information about the dev mailing list