Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet/intel/igc
Muhammad Husaini Zulkifli d5330d5cc3 igc: Fix Pause Frame Advertising
[ Upstream commit 8876529465c368beafd51a70f79d7a738f2aadf4 ]

Fix Pause Frame Advertising when getting the advertisement via ethtool.
Remove setting the "advertising" bit in link_ksettings during default
case when Tx and Rx are in off state with Auto Negotiate off.

Below is the original output of advertisement link during Tx and Rx off:
Advertised pause frame use: Symmetric Receive-only

Expected output:
Advertised pause frame use: No

Fixes: 8c5ad0dae9 ("igc: Add ethtool support")
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Reviewed-by: Malli C <mallikarjuna.chilakala@intel.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:31:57 +02:00
..
2020-09-28 14:42:45 -07:00
2020-05-19 16:00:00 -07:00
2021-03-30 14:31:57 +02:00
2020-09-28 14:42:46 -07:00
2020-06-29 18:21:09 -07:00
2020-05-19 15:01:48 -07:00
2018-10-17 13:52:00 -07:00
2018-10-17 13:52:00 -07:00
2018-10-17 13:56:55 -07:00
2020-04-17 10:19:24 -07:00
2020-09-28 14:42:46 -07:00