Message ID | 53A6A1DD.3020907@mellanox.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Sun, Jun 22, 2014 at 12:29 PM, Or Gerlitz <ogerlitz@mellanox.com> wrote: > > As for the crash you reported, indeed, it seems we have a bug there on the error flow of module loading when single ported VF are requested in conjunction with IB ports. I have it fixed on my system with this patch which are will review etc Just posted a patch fixing the crash you reported to netdev http://marc.info/?l=linux-netdev&m=140343252214146&w=2 Thanks for the report and tell us if you have further issues. Or. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c b/drivers/net/ethernet/mellanox/mlx4/main.c index 5f42f6d..4f4d48c 100644 --- a/drivers/net/ethernet/mellanox/mlx4/main.c +++ b/drivers/net/ethernet/mellanox/mlx4/main.c @@ -2439,6 +2439,7 @@ slave_start: (num_vfs_argc > 1 || probe_vfs_argc > 1)) { mlx4_err(dev, "Invalid syntax of num_vfs/probe_vfs with IB port - single port VFs syntax is only supported when all ports are configured as ethernet\n"); + err = -EINVAL; goto err_close;