]> asedeno.scripts.mit.edu Git - linux.git/commit
ice: Fix for FC get rx/tx pause params
authorLukasz Czapnik <lukasz.czapnik@intel.com>
Fri, 8 Feb 2019 20:50:42 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Feb 2019 16:56:02 +0000 (08:56 -0800)
commit40c3c546380c62e325da016c7278e26ad05fa870
treef3e3a9f948efc385f9cbfccdbe9ceb0e57dc2cf8
parentf966127a68aa805660c05f2a729997adf93d1937
ice: Fix for FC get rx/tx pause params

Ethtool reported pause params based on the currently negotiated
link settings instead of current PHY config. User was not able
to turn off pause params because ethtool was incorrectly reporting
parameters as off when link was down even though PHY was configured
to support pause frames. Now pause params are taken from PHY config
instead of link status.

Signed-off-by: Lukasz Czapnik <lukasz.czapnik@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