[PATCH v4 26/27] net/ice: avoid rte malloc in raw pattern parsing
Bruce Richardson
bruce.richardson at intel.com
Mon Feb 16 18:34:07 CET 2026
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 at 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 at intel.com>
More information about the dev
mailing list