ice: Do autoneg based on VSI state
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 26 Oct 2018 18:44:38 +0000 (11:44 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Nov 2018 19:39:03 +0000 (11:39 -0800)
commitd38b08834fc35720ad685e9e2f6d865f681fbc34
treef5e5c4e9da86fc1f2604411f0e0b2a8cc478d8d6
parentb1a200484143a727ce293e0f200a543cc7584152
ice: Do autoneg based on VSI state

If VSI state is up, we should do autoneg with link up, otherwise
with link down.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool.c