[PATCH v4 11/27] net/i40e: avoid rte malloc in MAC/VLAN filtering

Bruce Richardson bruce.richardson at intel.com
Mon Feb 16 18:14:30 CET 2026


On Fri, Feb 13, 2026 at 10:26:22AM +0000, Anatoly Burakov wrote:
> Currently, when adding, removing, or configuring MAC and VLAN filters,
> 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/i40e/i40e_ethdev.c  | 38 +++++++++++++--------------
>  drivers/net/intel/i40e/rte_pmd_i40e.c | 16 +++++------
>  2 files changed, 26 insertions(+), 28 deletions(-)
> 
As done on v3:
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list