]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Initialize lock and slowpath workqueue early
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 20 Feb 2017 20:43:34 +0000 (22:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 22:11:54 +0000 (17:11 -0500)
commita70412761ab6e4397bbecf054cce8c8064c81cd2
tree5f14b153c23443c4eadee43bb57b59a779d80a38
parent8108f1d0064947b75b8e1c548720ae7ef76ba14a
qede: Initialize lock and slowpath workqueue early

Need to make sure the slowpath workqueue and the qede lock
are ready for the registration of the netdevice, as once
registered there's no guarantee those wouldn't be used.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c