]> 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)
commit13281275eaa4bf8f585386af2284296a2b540333
tree308abce801c5d44e999a6ba64d3afac2557fd688
parent20cfd35d108c80b9922c135c48115001449804f1
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