net/qede/base: fix VF over legacy PF
authorRasesh Mody <rasesh.mody@cavium.com>
Fri, 23 Dec 2016 00:50:04 +0000 (16:50 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
Apparently VF over Legacy PF doesn't work, as VF would fail after
getting the initial rejection message [instead of sending an additional
one where it asks for a FW override and see if it works].

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

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

index 161b317..c26b602 100644 (file)
@@ -294,6 +294,7 @@ static enum _ecore_status_t ecore_vf_pf_acquire(struct ecore_hwfn *p_hwfn)
                                                " override\n");
                                        req->vfdev_info.capabilities |=
                                                VFPF_ACQUIRE_CAP_PRE_FP_HSI;
+                                       continue;
                                }
                        }