Commit f3141f00 authored by Adham Faris's avatar Adham Faris Committed by Greg Kroah-Hartman
Browse files

net/mlx5e: Fail with messages when params are not valid for XSK



[ Upstream commit 130b1207 ]

Current XSK prerequisites validation implementation
(setup.c/mlx5e_validate_xsk_param()) fails silently when xsk
prerequisites are not fulfilled.
Add error messages to the kernel log to help the user understand what
went wrong when params are not valid for XSK.

Signed-off-by: default avatarAdham Faris <afaris@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Stable-dep-of: a5535e53 ("mlx5: stop warning for 64KB pages")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 82bb344f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment