net/ice/base: separate out control queue lock creation
authorLeyi Rong <leyi.rong@intel.com>
Wed, 19 Jun 2019 15:17:56 +0000 (23:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:31:48 +0000 (20:31 +0200)
commitc419e75cd9f8cdcba9bc392f88c9a7842ece1a44
tree285b29533d38909c0723421148ad067fbeef5a1b
parentf21a02d833391030e7d2e19ac7e061c19bfd5310
net/ice/base: separate out control queue lock creation

The ice_init_all_ctrlq and ice_shutdown_all_ctrlq functions create and
destroy the locks used to protect the send and receive process of each
control queue.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_controlq.c