kernel_samsung_a53x/drivers/net/ethernet/broadcom
Florian Fainelli f8f8384dd1 net: bcmgenet: Fix EEE implementation
commit a9f31047baca57d47440c879cf259b86f900260c upstream.

We had a number of short comings:

- EEE must be re-evaluated whenever the state machine detects a link
  change as wight be switching from a link partner with EEE
  enabled/disabled

- tx_lpi_enabled controls whether EEE should be enabled/disabled for the
  transmit path, which applies to the TBUF block

- We do not need to forcibly enable EEE upon system resume, as the PHY
  state machine will trigger a link event that will do that, too

Fixes: 6ef398ea60d9 ("net: bcmgenet: add EEE support")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20230606214348.2408018-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:13:40 +01:00
..
bnx2x net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
bnxt bnxt_en: Wait for FLR to complete during probe 2024-11-18 12:13:00 +01:00
genet net: bcmgenet: Fix EEE implementation 2024-11-18 12:13:40 +01:00
b44.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
b44.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xx_enet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm63xx_enet.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcmsysport.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
bcmsysport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bgmac-bcma-mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bgmac-bcma.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
bgmac-platform.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
bgmac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bgmac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bnx2_fw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnic_defs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnic_if.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sb1250-mac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00