Matan Barak
effa4bc4e7
net/mlx4_core: Allow not to specify probe_vf in SRIOV IB mode
...
When the HCA is configured in SRIOV IB mode (that is, at least one of
the ports is IB) and the probe_vf module param isn't specified,
mlx4_init_one() failed because of the following condition:
if (ib_ports && (num_vfs_argc > 1 || probe_vfs_argc > 1)) {
.....
}
The root cause for that is a mistake in the initialization of num_vfs_argc
and probe_vfs_argc. When num_vfs / probe_vf aren't given, their argument
count counterpart should be 0, fix that.
Fixes: dd41cc3bb9 ('net/mlx4: Adapt num_vfs/probed_vf params for single port VF')
Signed-off-by: Matan Barak <matanb@mellanox.com >
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-09-26 16:43:23 -04:00
..
2014-09-19 10:50:30 -07:00
2014-09-06 11:27:15 +09:00
2014-08-13 18:27:40 -06:00
2014-09-15 16:20:56 -07:00
2014-08-25 15:39:23 -04:00
2014-09-13 09:39:55 -07:00
2014-07-31 01:07:28 +02:00
2014-09-05 13:25:01 -07:00
2014-09-11 22:28:38 +09:30
2014-09-09 13:52:18 -07:00
2014-08-08 11:14:29 -07:00
2014-09-08 00:02:58 +02:00
2014-08-27 15:40:45 +01:00
2014-09-24 14:23:34 +08:00
2014-09-11 10:54:25 +05:30
2014-08-28 11:59:09 +05:30
2014-08-15 17:56:45 -06:00
2014-08-06 09:38:14 -07:00
2014-09-09 07:51:09 +01:00
2014-08-29 14:31:43 +02:00
2014-09-20 10:10:14 -07:00
2014-08-27 09:38:06 -07:00
2014-08-06 20:06:14 -07:00
2014-08-04 17:32:24 -07:00
2014-09-22 11:11:48 -07:00
2014-09-04 19:59:42 +02:00
2014-08-05 21:16:46 -07:00
2014-08-15 17:06:40 -04:00
2014-09-14 18:21:23 +01:00
2014-09-23 16:47:34 -07:00
2014-09-15 15:12:01 -07:00
2014-09-05 16:01:46 +02:00
2014-09-03 12:08:10 +00:00
2014-08-22 11:31:30 -07:00
2014-09-02 10:02:13 -07:00
2014-08-06 18:01:19 -07:00
2014-08-07 17:23:16 -07:00
2014-09-24 08:53:33 -07:00
2014-09-21 21:27:57 -03:00
2014-09-16 16:55:55 -04:00
2014-08-28 15:57:55 +01:00
2014-09-08 14:38:14 -07:00
2014-08-14 18:10:33 -06:00
2014-09-06 12:12:09 -07:00
2014-09-26 16:43:23 -04:00
2014-09-07 23:45:53 +02:00
2014-09-14 00:10:38 -04:00
2014-08-16 09:03:58 +01:00
2014-09-21 22:31:08 +02:00
2014-08-08 15:57:25 -07:00
2014-09-24 09:46:29 -07:00
2014-08-07 08:50:34 -07:00
2014-09-12 11:35:31 +05:30
2014-09-10 14:25:51 +02:00
2014-09-03 10:45:12 -07:00
2014-08-08 11:14:29 -07:00
2014-09-03 01:29:00 +02:00
2014-08-12 12:15:14 -06:00
2014-08-18 10:58:43 +02:00
2014-08-12 12:15:14 -06:00
2014-09-10 11:35:02 +01:00
2014-08-29 16:28:16 -07:00
2014-09-08 08:27:00 -07:00
2014-08-05 18:57:18 -07:00
2014-09-22 18:23:33 -07:00
2014-08-22 12:28:16 +09:00
2014-09-16 16:20:19 -07:00
2014-08-25 15:39:22 -04:00
2014-09-19 15:32:20 -07:00
2014-09-17 13:44:01 -07:00
2014-08-26 14:54:48 -07:00
2014-09-08 16:33:56 -07:00
2014-09-19 15:01:38 -07:00
2014-09-08 16:03:21 -07:00
2014-08-08 10:39:16 -06:00
2014-09-12 11:45:10 +03:00
2014-08-08 15:57:30 -07:00
2014-08-07 08:47:00 -07:00
2014-09-11 16:52:29 -07:00
2014-08-04 17:32:24 -07:00
2014-08-04 18:34:04 -07:00