net/mlx5e: Return a valid errno if can't get lag device index
Change the return value to -ENOENT, to make it more meaningful. Signed-off-by: NJianbo Liu <jianbol@mellanox.com> Reviewed-by: NJiri Pirko <jiri@nvidia.com> Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com>
Showing
想要评论请 注册 或 登录