net/mlx5e: XSK, Exclude tailroom from non-linear SKBs memory calculations

Packet data buffers lack reserved headroom or tailroom,
and SKBs are allocated on a side memory when needed.

Exclude the tailroom from the SKB size calculations.

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
Carolina Jubran 2023-12-18 13:58:27 +02:00 • committed by Saeed Mahameed
commit fb3bfdfcd1