]> 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)
commitdd9b0b7fee9dc5ca3b00c8af276c900ccc108d97
treef3e3a9f948efc385f9cbfccdbe9ceb0e57dc2cf8
parent05299d3517c708ba696a24b569b54808ad24ed0c
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