[PATCH v1 05/12] net/i40e: use stack allocations for tunnel set

Burakov, Anatoly anatoly.burakov at intel.com
Tue Feb 10 11:56:36 CET 2026


On 2/9/2026 3:13 PM, Anatoly Burakov wrote:
> Currently, the tunnel "set" function is using rte_zmalloc to allocate a
> temporary variable. It is actually not needed in this context and can be
> avoided entirely and replaced with stack allocation.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---

I've actually found quite a few more of these so I'll send them out as a 
separate patchset.

-- 
Thanks,
Anatoly


More information about the dev mailing list