Acked-by: Vladimir Medvedkin <[email protected]>
On 2/17/2026 12:13 PM, Anatoly Burakov wrote:
When parsing flow patterns, current code cleans up the pattern list by removing void flow items, and copies the patterns into an array. That array, when dealing with under 32 flow items, is allocated on the stack, but when the pattern is big enough, a new list is dynamically allocated. This allocated list is a global variable, and is allocated using rte_zmalloc call which seems like overkill for this use case. Remove the global variable, and replace the split behavior with unconditional allocation. Signed-off-by: Anatoly Burakov <[email protected]> --- drivers/net/intel/i40e/i40e_flow.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-)
<snip> -- Regards, Vladimir

