On 06/19/2014 11:17 PM, Or Gerlitz wrote: > On Fri, Jun 20, 2014 at 6:34 AM, Or Gerlitz <[email protected]> wrote: >> On Thu, Jun 19, 2014 at 6:33 AM, Shirley Ma <[email protected]> wrote: >>> 1. Whether IB VFs is supported in ConnectX-2 (mlx4 driver)? >>> I tried to num_vfs={port1,port2,port1+2} when loading mlx4_core module, it >>> failed with mlx4_core 0000:40:00.0: Invalid syntax of num_vfs/probe_vfs >>> with IB port - single port VFs syntax is only supported when all ports are >>> configured as ethernet > >> What do you mean by "port1" and "port2" -- can you give the exact >> command line you used? > >> Single ported VFs are currently supported for Ethernet only >> configuration, that is not for only IB nor for VPI, that is only if >> you use port_type_arrary=2,2 > > Note that you can still use dual-ported VFs, for both IB, Ethernet and > VPI, that is > num_vfs=N will create N dual-ported VFs, are you on IB?
Yes, I tried num_vfs=N. It failed. I didn't combine with port_type_array=2,2. If it's required, then the code needs to check the arguments. > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to [email protected] > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
