]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: SHAMPO, Always calculate page size
authorDragos Tatulea <dtatulea@nvidia.com>
Mon, 23 Feb 2026 20:41:48 +0000 (22:41 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 26 Feb 2026 09:54:23 +0000 (10:54 +0100)
commitdff1c3164a69284ac9fedb1c25d4c008139e9fb8
treeaadbdd5a269a75858275e57891a8d238133d86e4
parent3707a73854c1614a268e43a0fd98292a699f3b35
net/mlx5e: SHAMPO, Always calculate page size

Adapt the rx path in SHAMPO mode to calculate page size based on
configured page_shift when dealing with payload data.

This is necessary as an upcoming patch will add support for using
different page sizes.

This change has no functional changes.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260223204155.1783580-9-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c