net/mlx5e: XDP, Improve Striding RQ check with XDP
authorTariq Toukan <tariqt@nvidia.com>
Mon, 17 Apr 2023 12:18:55 +0000 (15:18 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 07:59:26 +0000 (08:59 +0100)
commit7fc06dd2ae7b42fc5093f76878b77c74006b4fd5
treef967882347ff137f111e8d8b4dceb7cad3a55a51
parentc1783e74fc042adc28907ac7229b01ed20da31f9
net/mlx5e: XDP, Improve Striding RQ check with XDP

Non-linear mem scheme of Striding RQ does not yet support XDP at this
point. Take the check where it belongs, inside the params validation
function mlx5e_params_validate_xdp().

Reviewed-by: Gal Pressman <gal@nvidia.com>
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_main.c