]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx4_core: Refactor the catas flow to work per device
authorYishai Hadas <yishaih@mellanox.com>
Sun, 25 Jan 2015 14:59:37 +0000 (16:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 22:43:14 +0000 (14:43 -0800)
commitad9a0bf08ffbf32b8f292c3bb78ca0f24bb8f6b2
tree308abce801c5d44e999a6ba64d3afac2557fd688
parentdd0eefe3abbf47442db296bf68f27eb2860c1cdf
net/mlx4_core: Refactor the catas flow to work per device

Using a WQ per device instead of a single global WQ, this allows
independent reset handling per device even when SRIOV is used.

This comes as a pre-patch for supporting chip reset
for both native and SRIOV.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/catas.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
include/linux/mlx4/device.h