net/mlx5e: RX, Generalize mlx5e_fill_mxbuf()
authorTariq Toukan <tariqt@nvidia.com>
Mon, 17 Apr 2023 12:19:01 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 07:59:27 +0000 (08:59 +0100)
commit221c8c7ad7a2d414d6d64b5e5bbf7723ae23d3f5
treea200bff61b43ecb6d9ca08479f3ae8012dac6a9a
parent27602319e32862717c15c32283a727dc5bed695d
net/mlx5e: RX, Generalize mlx5e_fill_mxbuf()

Make the function more generic. Let it get an additional frame_sz
parameter instead of deriving it from the RQ struct.

No functional change here, just a preparation for a downstream patch.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c