[PATCH v4 22/27] net/iavf: avoid rte malloc in queue operations
Bruce Richardson
bruce.richardson at intel.com
Mon Feb 16 18:31:12 CET 2026
On Fri, Feb 13, 2026 at 10:26:33AM +0000, Anatoly Burakov wrote:
> Currently, when enabling, disabling, or switching queues, we are using
> rte_malloc followed by an immediate rte_free. This is not needed as these
> structures are not being stored anywhere, so replace them with stack
> allocation or malloc/free where appropriate.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/iavf/iavf_vchnl.c | 65 ++++++++++++-----------------
> 1 file changed, 26 insertions(+), 39 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list