]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Don't notify client of VF reset during VF creation
authorAvinash Dayanand <avinash.dayanand@intel.com>
Wed, 27 Jul 2016 19:02:37 +0000 (12:02 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:31:22 +0000 (19:31 -0500)
commitfc48741fc18a25ab5001690f117dba2bd4af6224
tree246ab8560ff0e8d9964359d8cc2aca8c2d7f85ab
parent2ab277a0c3c7ecef1c1a735cbaeeb6543e89cff0
i40e: Don't notify client of VF reset during VF creation

Orabug: 24568124

VF goes through reset path during VF creation which happens to also
have notification of VF reset to client. Adding conditional check to
avoid wrongly notifying VF reset during VF creation.

Also changing the call order of VF enable, calling it after VF creation
rather than before.

Change-ID: I96eabd99deae746a2f0fc465194c886f196178ce
Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 6a23449a2356d7d41addb0c89f512dfef455beb2)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c