Skip to content
Commit 57dc3c12 authored by Mark Bloch's avatar Mark Bloch Committed by Greg Kroah-Hartman
Browse files

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: default avatarMark Bloch <mbloch@nvidia.com>
Reviewed-by: default avatarMaor Gottlieb <maorg@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Stable-dep-of: 1f893f57 ("net/mlx5: Devcom, serialize devcom registration")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 860ad704
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment