net/mlx5: devcom only supports 2 ports
[ Upstream commit 8a6e75e5 ] Devcom API is intended to be used between 2 devices only add this implied assumption into the code and check when it's no true. Signed-off-by:Mark Bloch <mbloch@nvidia.com> Reviewed-by:
Maor Gottlieb <maorg@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Stable-dep-of: 1f893f57 ("net/mlx5: Devcom, serialize devcom registration") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment