net/ice/base: support not locking sideband queue
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:29 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit54f75a4ce2e27bc01ae3b7ba68b6bf7a1d277b87
tree5d7b2adc526ad0d6f417d1011189d0d9b1df2805
parentd1880ece7d116fe88fbe97ae49697a73f1973ae3
net/ice/base: support not locking sideband queue

For certain PTP clock adjustments, there is a use case for locking the
sideband queue at a higher level and performing an atomic series of
operations while the sideband queue is locked.  To accommodate this use
case, split ice_sw_send_cmd() into a version that takes the lock and a
version that does not.

Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_controlq.c