net/ice/base: add locks for flow functions
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:19 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commitca9a2c69745419e9e0fbc4d591c74d14f95b4e94
tree8f1e83fe202f3421afc0a445bb117dcc3ad68d40
parentd1c2f76b440a7468878d246332d9a6ebda5deb43
net/ice/base: add locks for flow functions

Wrap functions to search for flow profiles, add and remove RSS
configurations with flow profile locks. This is to ensure that if
several VFs and PFs are disabled at the same time functions that access
the flow profile lists are thread safe.

Signed-off-by: Vignesh Sridhar <vignesh.sridhar@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_flow.c