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 <morganrobert...@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;
                }
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to