Re: [PATCH v4 26/27] net/ice: avoid rte malloc in raw pattern parsing

Bruce Richardson
2026-02-16T17:34:18Z

On Fri, Feb 13, 2026 at 10:26:37AM +0000, Anatoly Burakov wrote:
> Currently, when parsing raw flow patterns, 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 regular malloc/free.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> ---
> drivers/net/intel/ice/ice_fdir_filter.c | 14 +++++++-------
> drivers/net/intel/ice/ice_hash.c | 10 +++++-----
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>