]> git.baikalelectronics.ru Git - 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)
commitd2129f7807f17ac4ad2444200a7edd94acdd3221
tree308abce801c5d44e999a6ba64d3afac2557fd688
parentb67ff55e218cb1eb9154458e02694c6dd94db1dd
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