summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-07-17 13:41:54 +0000
committerjhb <jhb@FreeBSD.org>2013-07-17 13:41:54 +0000
commit04ef6ec7f4418a2a8b190beeac8d7e9ffa23d8aa (patch)
tree533f512654991c0f726f6688b456592325ccd749 /sys/ofed
parent0c114fc271a9b93bb3b5d149b3e527991e55faa8 (diff)
downloadFreeBSD-src-04ef6ec7f4418a2a8b190beeac8d7e9ffa23d8aa.zip
FreeBSD-src-04ef6ec7f4418a2a8b190beeac8d7e9ffa23d8aa.tar.gz
Remove check forbidding requests that would result in one port being set
to Ethernet and the subsequent port being set to IB. Submitted by: Shakar Klein @ Mellanox Tested by: Morgan Robertson <morganrobertson@gmail.com> MFC after: 1 week
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/drivers/net/mlx4/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/ofed/drivers/net/mlx4/main.c b/sys/ofed/drivers/net/mlx4/main.c
index b48dfbd..11c451a 100644
--- a/sys/ofed/drivers/net/mlx4/main.c
+++ b/sys/ofed/drivers/net/mlx4/main.c
@@ -209,9 +209,6 @@ int mlx4_check_port_params(struct mlx4_dev *dev,
"on this HCA, aborting.\n");
return -EINVAL;
}
- if (port_type[i] == MLX4_PORT_TYPE_ETH &&
- port_type[i + 1] == MLX4_PORT_TYPE_IB)
- return -EINVAL;
}
}
OpenPOWER on IntegriCloud