net/qede/base: fix to handle acquire request from VF
authorRasesh Mody <rasesh.mody@cavium.com>
Fri, 23 Dec 2016 00:50:03 +0000 (16:50 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
commitb765730bc13e008e2b3452a2e6dffb2d24994035
treeb47a477b518e26c85a7604192acbecf184e594de
parent917ce8bd36f8fca277b09c0717fccb6ec60f4f1d
net/qede/base: fix to handle acquire request from VF

Add a check and fail the VF's probe request if VF is already in
VF_ACQUIRED state.

Fixes: 22d07d939c3c ("net/qede/base: update")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_sriov.c