RE: [PATCH] net/mlx5: fix wrong free function in HWS AGE info

2022-10-24 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Monday, October 24, 2022 4:28 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Michael > Baum > Subject: [PATCH] net/mlx5: fix wrong free function in HWS AGE info > > I

[PATCH] net/mlx5: fix wrong free function in HWS AGE info

2022-10-24 Thread Michael Baum
In AGE info initialization, the mlx5_hws_q_age_info structure is allocated by "mlx5_malloc" function. However, in case of failure, this structure is released by "rte_free". This patch changes it to use "mlx5_free". Fixes: 32c98171674f ("net/mlx5: add HWS AGE action support") Cc: michae...@nvidia