]> git.baikalelectronics.ru Git - kernel.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)
commit4c349b628e3e9c651e7c2e35c36e22d043825b1d
treef3e3a9f948efc385f9cbfccdbe9ceb0e57dc2cf8
parent21c4edd3615dc32436998026a91105b9c39b6359
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