RE: [Intel-wired-lan] [PATCH net-next v2 5/9] i40e: Simplify memory allocation functions

From: Pucha, HimasekharX Reddy
Date: Thu Oct 05 2023 - 10:06:25 EST


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Ivan Vecera
> Sent: Wednesday, September 27, 2023 2:02 PM
> To: netdev@xxxxxxxxxxxxxxx
> Cc: edumazet@xxxxxxxxxx; intel-wired-lan@xxxxxxxxxxxxxxxx; Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; Nguyen, Anthony L <anthony.l.nguyen@xxxxxxxxx>; Kitszel, Przemyslaw <przemyslaw.kitszel@xxxxxxxxx>; kuba@xxxxxxxxxx; pabeni@xxxxxxxxxx; davem@xxxxxxxxxxxxx
> Subject: [Intel-wired-lan] [PATCH net-next v2 5/9] i40e: Simplify memory allocation functions
>
> Enum i40e_memory_type enum is unused in i40e_allocate_dma_mem() thus
> can be safely removed. Useless macros in i40e_alloc.h can be removed
> as well.
>
> Signed-off-by: Ivan Vecera <ivecera@xxxxxxxxxx>
> ---
> drivers/net/ethernet/intel/i40e/i40e_adminq.c | 4 ----
> drivers/net/ethernet/intel/i40e/i40e_alloc.h | 14 -------------
> drivers/net/ethernet/intel/i40e/i40e_hmc.c | 12 ++++-------
> drivers/net/ethernet/intel/i40e/i40e_main.c | 20 +++++++++----------
> drivers/net/ethernet/intel/i40e/i40e_osdep.h | 7 -------
> 5 files changed, 14 insertions(+), 43 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@xxxxxxxxx> (A Contingent worker at Intel)