net/ice/base: set status when global cfg lock is unavailable
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:26 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit381bd0f26559dba0188d766343bfe5eff66f0f21
tree7ff207dcb42cc13d5884c2c3f45eaf5fadda316e
parent3b326f5945a8571623cdc04de31584c9b4ec1e35
net/ice/base: set status when global cfg lock is unavailable

To download the DDP file to the device, a PF first has to grab the
global configuration lock. When a PF can't grab this lock, set
hw->pkg_dwnld_status to ICE_AQ_RC_EEXIST.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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_flex_pipe.c
drivers/net/ice/base/ice_type.h