]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/linux/stmmac.h
net: stmmac: Add callbacks for DWC xpcs Energy Efficient Ethernet
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Mon, 17 May 2021 09:43:32 +0000 (17:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:53:58 +0000 (15:53 -0700)
commite80fe71b3ffe1ec31c4a9be60170f897bbdf1b92
tree3c680fdc647e8191167059fa1f6cb724333c0f12
parent7617af3d1a5e0938eb1fd2742f19bcea772c7f8d
net: stmmac: Add callbacks for DWC xpcs Energy Efficient Ethernet

Link xpcs callback functions for MAC to configure the xpcs EEE feature.

The clk_eee frequency is used to calculate the MULT_FACT_100NS. This is
to adjust the clock tic closer to 100ns.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
include/linux/stmmac.h