Majd Dibbiny
e1c00e10e9
net/mlx4_core: New init and exit flow for mlx4_core
...
In the new flow, we separate the pci initialization and teardown
from the initialization and teardown of the other resources.
__mlx4_init_one handles the pci resources initialization. It then
calls mlx4_load_one to initialize the remainder of the resources.
When removing a device, mlx4_remove_one is invoked. However, now
mlx4_remove_one calls mlx4_unload_one to free all the resources except the pci
resources. When mlx4_unload_one returns, mlx4_remove_one then frees the
pci resources.
The above separation will allow us to implement 'reset flow' in the future.
It will also enable more EQs for VFs and is a pre-step to the modern API to
enable/disable SRIOV.
Also added nvfs; an integer array of size MLX4_MAX_PORTS + 1; to the mlx4_dev
struct. This new field is used to avoid parsing the num_vfs module parameter
each time the mlx4_restart_one is called.
Signed-off-by: Majd Dibbiny <majd@mellanox.com >
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-09-30 16:27:49 -04:00
..
2014-09-09 15:33:05 -04:00
2014-08-06 18:01:23 -07:00
2014-07-25 15:16:27 -07:00
2014-08-08 15:57:26 -07:00
2014-07-23 10:22:35 +09:00
2014-09-02 10:09:43 +02:00
2014-08-09 09:15:07 -07:00
2014-08-25 21:47:22 +01:00
2014-08-07 23:37:07 -07:00
2014-08-05 17:38:45 -07:00
2014-08-07 17:17:39 -07:00
2014-09-30 16:27:49 -04:00
2014-08-06 09:38:14 -07:00
2014-08-11 11:42:39 +02:00
2014-08-19 11:55:38 -07:00
2014-09-15 22:20:21 +02:00
2014-08-25 16:15:32 -07:00
2014-08-28 09:59:42 +01:00
2014-08-30 19:28:04 +01:00
2014-08-13 18:13:19 -06:00
2014-08-06 09:38:14 -07:00
2014-08-07 14:40:09 -04:00
2014-08-09 09:15:07 -07:00
2014-07-30 10:42:55 -07:00
2014-07-30 15:39:46 -04:00
2014-08-06 18:01:27 -07:00
2014-08-15 12:38:41 -06:00
2014-09-26 15:05:15 -04:00
2014-09-19 16:27:07 -04:00
2014-07-24 21:53:47 +10:00
2014-09-24 14:23:34 +08:00
2014-07-23 15:01:52 -07:00
2014-08-06 18:01:16 -07:00
2014-09-29 14:36:26 -04:00
2014-08-01 22:35:55 +08:00
2014-09-14 17:28:32 -07:00
2014-08-05 15:59:35 -07:00
2014-08-06 18:01:16 -07:00
2014-08-11 07:14:01 -07:00
2014-07-23 16:04:47 +02:00
2014-09-29 00:04:55 -04:00
2014-08-08 15:57:33 -07:00
2014-09-05 17:47:02 -07:00
2014-09-05 12:12:20 -07:00
2014-08-22 13:56:47 -07:00
2014-09-26 15:05:15 -04:00
2014-08-07 14:40:08 -04:00
2014-08-11 11:44:11 -07:00
2014-08-06 18:01:12 -07:00
2014-08-09 17:33:44 -07:00
2014-08-22 13:18:48 -04:00
2014-08-06 18:01:15 -07:00
2014-08-06 18:01:24 -07:00
2014-09-13 11:24:03 -07:00
2014-08-08 17:39:48 -07:00
2014-08-06 18:01:22 -07:00
2014-08-04 10:07:36 +02:00
2014-07-23 10:17:54 -07:00
2014-08-06 18:01:19 -07:00
2014-08-06 18:01:19 -07:00
2014-08-19 10:19:39 -05:00
2014-09-11 12:21:18 +02:00
2014-09-29 15:37:01 -04:00
2014-08-11 12:16:51 -07:00
2014-09-04 22:26:14 -07:00
2014-07-25 11:47:46 -07:00
2014-07-23 12:02:30 +02:00
2014-08-08 15:57:32 -07:00
2014-07-23 16:04:47 +02:00
2014-08-02 15:03:58 -07:00
2014-08-28 22:22:29 -04:00
2014-09-12 13:59:03 -07:00
2014-08-10 21:31:58 -07:00
2014-08-08 15:57:33 -07:00
2014-07-22 21:46:08 +01:00
2014-07-22 21:55:45 +01:00
2014-08-06 18:01:24 -07:00
2014-07-28 14:16:30 -04:00
2014-07-23 10:17:54 -07:00
2014-08-06 14:24:47 +02:00
2014-09-02 10:02:13 -07:00
2014-07-23 10:30:34 -04:00
2014-08-06 18:01:24 -07:00
2014-08-06 18:01:15 -07:00
2014-08-08 15:57:18 -07:00
2014-08-06 18:01:21 -07:00
2014-08-08 15:57:23 -07:00
2014-08-08 15:57:27 -07:00
2014-08-06 18:01:18 -07:00
2014-08-06 18:01:22 -07:00
2014-08-06 18:01:20 -07:00
2014-07-27 20:52:44 +09:30
2014-07-27 20:52:42 +09:30
2014-08-11 11:44:11 -07:00
2014-07-24 01:15:04 -07:00
2014-09-26 15:17:17 -04:00
2014-09-26 18:42:31 +02:00
2014-08-25 10:45:28 +02:00
2014-08-03 17:14:13 -04:00
2014-08-22 18:04:43 -04:00
2014-07-22 15:05:06 -07:00
2014-08-06 18:01:21 -07:00
2014-07-29 18:08:50 -07:00
2014-07-23 12:02:30 +02:00
2014-07-26 00:21:41 +05:30
2014-07-29 21:26:45 -06:00
2014-08-01 12:22:21 -06:00
2014-08-11 14:06:23 +01:00
2014-07-29 12:38:07 +02:00
2014-08-06 18:01:21 -07:00
2014-08-08 15:57:18 -07:00
2014-08-06 18:01:17 -07:00
2014-08-06 18:01:20 -07:00
2014-07-23 01:00:45 +02:00
2014-09-10 13:45:01 -06:00
2014-08-04 10:09:27 -07:00
2014-09-24 08:29:36 -06:00
2014-08-27 22:59:39 -07:00
2014-08-23 11:39:09 -07:00
2014-08-04 10:07:11 -07:00
2014-09-03 01:25:32 +02:00
2014-07-23 01:00:36 +02:00
2014-08-13 15:13:44 +10:00
2014-08-24 18:36:01 -07:00
2014-08-06 18:01:24 -07:00
2014-07-25 19:01:53 +01:00
2014-09-03 20:56:32 -07:00
2014-08-08 15:57:24 -07:00
2014-09-13 12:30:26 -04:00
2014-08-08 15:57:26 -07:00
2014-08-14 18:13:46 -06:00
2014-07-30 01:31:46 +10:00
2014-08-05 17:46:42 -07:00
2014-08-28 11:59:38 +05:30
2014-07-23 01:10:45 +02:00
2014-08-08 15:57:26 -07:00
2014-08-08 15:57:31 -07:00
2014-08-06 13:03:44 +02:00
2014-09-29 14:46:53 -04:00
2014-07-31 14:13:29 -07:00
2014-08-08 15:57:17 -07:00
2014-09-26 15:05:14 -04:00
2014-08-08 15:57:24 -07:00
2014-08-22 21:28:02 -07:00
2014-09-04 22:35:59 +02:00
2014-07-23 10:17:53 -07:00
2014-07-23 10:17:54 -07:00
2014-07-30 09:26:25 +02:00
2014-07-23 15:01:55 -07:00
2014-07-29 23:10:56 +02:00
2014-08-06 13:03:43 +02:00
2014-08-07 20:39:36 -04:00
2014-09-01 21:36:28 -07:00
2014-08-07 14:40:11 -04:00
2014-08-08 15:57:22 -07:00
2014-08-08 10:39:16 -06:00
2014-09-18 19:21:20 -04:00
2014-09-16 15:02:55 -06:00
2014-08-06 18:01:19 -07:00
2014-09-13 05:13:08 +09:00
2014-08-06 18:01:23 -07:00
2014-08-08 15:57:26 -07:00
2014-08-06 18:01:23 -07:00