net/mlx5e: Use page-sized fragments with XDP multi buffer
authorMaxim Mikityanskiy <maximmi@nvidia.com>
Wed, 9 Feb 2022 13:32:35 +0000 (15:32 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 18 Mar 2022 20:51:12 +0000 (13:51 -0700)
commitd51f4a4cca6f629927b1871af0c6f5ce7a9022e9
treea939c726da8b1f80a56077cf7a13d30f1fd63fe5
parent9cb9482ef10e7e524f73878cb20de138be7e1a1f
net/mlx5e: Use page-sized fragments with XDP multi buffer

The implementation of XDP in mlx5e assumes that the frame size is equal
to the page size. Force this limitation in the non-linear mode for XDP
multi buffer.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/params.c