WSL2-Linux-Kernel/include/linux/mlx4
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
..
cmd.h mlx4_core: Add support for secure-host and SMP firewall 2014-08-05 07:40:22 -07:00
cq.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
device.h net/mlx4_core: New init and exit flow for mlx4_core 2014-09-30 16:27:49 -04:00
doorbell.h mlx4_core: Kill mlx4_write64_raw() 2007-10-14 20:17:39 -07:00
driver.h net/mlx4: Replace mlx4_en_mac_to_u64() with mlx4_mac_to_u64() 2014-03-02 20:04:01 -05:00
qp.h net/mlx4: Set vlan stripping policy by the right command 2014-09-10 15:21:34 -07:00
srq.h mlx4_core: Implement SRQ object lookup from srqn 2013-04-16 22:42:55 -07:00