net/mlx5e: RX, Remove mlx5e_alloc_unit argument in page allocation
authorDragos Tatulea <dtatulea@nvidia.com>
Fri, 27 Jan 2023 15:06:12 +0000 (17:06 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 28 Mar 2023 20:43:56 +0000 (13:43 -0700)
commit09df037017799b723d03a97c3f0de069bae9f625
tree8f9abc5cb5db8df1e4f8514851a19052d7d3d45c
parent86e2eca4ddedc07d639c44c990e1c220cac3741e
net/mlx5e: RX, Remove mlx5e_alloc_unit argument in page allocation

Change internal page cache and page pool api to use a struct page **
instead of a mlx5e_alloc_unit *.

This is the first change in a series which is meant to remove the
mlx5e_alloc_unit altogether.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c