]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: report VF link state correctly
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 14 Mar 2014 07:32:24 +0000 (07:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 23 Apr 2014 08:54:00 +0000 (01:54 -0700)
commit5f2b655650b7ca6c2a4140778047752902e3d9e5
tree3ed4cff6902b7b739a834896e73188400bfe77e3
parenta1b6de957b3d48ce2782b2c558b229df2eb17529
i40e: report VF link state correctly

Although the driver would correctly allow the VF link state to be
controlled by 'ip set link', it would not report it correctly back.

Fix this by filling out the appropriate field in the vf info struct.

Change-ID: I58d8e356438190e1ee9660b424301af6f416cdbe
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c