diff options
author | Brett Creeley <brett.creeley@intel.com> | 2020-01-22 07:21:26 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-02-15 16:29:49 -0800 |
commit | 0b6c6a8bb6d541aad9e0f3bb2307316707aec723 (patch) | |
tree | 3a01c51096d60e71bace6dad1240ea38cc436b86 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | b093841f9ac916ce233cb59c74bf4a70a2febb2c (diff) | |
download | linux-0b6c6a8bb6d541aad9e0f3bb2307316707aec723.tar.bz2 |
ice: Add helper to determine if VF link is up
The check for vf->link_up is incorrect because this field is only valid if
vf->link_forced is true. Fix this by adding the helper ice_is_vf_link_up()
to determine if the VF's link is up.
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions