svn commit: r253423 - head/sys/ofed/drivers/net/mlx4
John Baldwin
jhb at FreeBSD.org
Wed Jul 17 13:41:55 UTC 2013
Author: jhb
Date: Wed Jul 17 13:41:54 2013
New Revision: 253423
URL: http://svnweb.freebsd.org/changeset/base/253423
Log:
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 at gmail.com>
MFC after: 1 week
Modified:
head/sys/ofed/drivers/net/mlx4/main.c
Modified: head/sys/ofed/drivers/net/mlx4/main.c
==============================================================================
--- head/sys/ofed/drivers/net/mlx4/main.c Wed Jul 17 13:24:10 2013 (r253422)
+++ head/sys/ofed/drivers/net/mlx4/main.c Wed Jul 17 13:41:54 2013 (r253423)
@@ -209,9 +209,6 @@ int mlx4_check_port_params(struct mlx4_d
"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;
}
}
More information about the svn-src-head
mailing list