]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Aug 2016 18:43:12 +0000 (11:43 -0700)
commit9bc1580eaedc3f123fdc9605cfde41b144df2765
tree28129c94ac73c8917836dd60c65ae17c9f749a2f
parent36e273ae4ca92cde99852cafb3ff70b14e6ce1c1
i40e: Don't notify client of VF reset during VF creation

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>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c