]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40e: notify VFs of link state
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 7 Apr 2015 23:45:33 +0000 (19:45 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Apr 2015 00:34:59 +0000 (17:34 -0700)
commit055b295d99adb246b2b9284e1d1e602630c119e3
treedea06010ea0a22e8aeeebec33df1682ad0d25d06
parented636960c3b5a44e59eccafef94837d14e3bc10f
i40e: notify VFs of link state

Gratuitously notify VFs of link state when they activate their queues.
In general, this is the last thing that a VF driver will do as it opens
its interface, so this is a good time to notify the VF.

Currently, VF devices assume link is up unless told otherwise, which
means that VFs instantiated on a PF with no link will report the wrong
state. This change corrects that issue.

Change-ID: Iea53622904ecc681ac3f8938d81c30033ef9a0a6
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c