kernel_optimize_test/drivers/net/ethernet
Jaeden Amero 2c29b2354a net/macb: Only adjust tx_clk on link change
The PHY state machine (in drivers/net/phy/phy.c) will unconditionally
call phydev->adjust_link (macb_handle_link_change) when polling in the
PHY_CHANGELINK state. As currently written, macb always ends up
requesting a new tx_clk frequency in macb_handle_link_change. It is a
waste of time to request a new tx_clk frequency if the link state hasn't
changed, as the tx_clk will already be configured properly.

Let's only request a new tx_clk clock frequency when necessary.

Signed-off-by: Jaeden Amero <jaeden.amero@ni.com>
Cc: Josh Cartwright <joshc@ni.com>
Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-12 23:04:32 -04:00
..
3com
8390
adaptec
adi
aeroflex
agere
allwinner
alteon
altera
amd
apm
apple
arc
atheros
broadcom net: bcmgenet: collect Rx discarded packet count 2015-03-11 17:54:55 -04:00
brocade
cadence net/macb: Only adjust tx_clk on link change 2015-03-12 23:04:32 -04:00
calxeda
chelsio
cirrus
cisco
davicom
dec
dlink
emulex
faraday
freescale net/fsl: remove dependency FSL_SOC from MDIO 2015-03-11 16:37:50 -04:00
fujitsu
hisilicon
hp
i825xx
ibm
icplus
intel
marvell
mellanox net/mlx5_core: don't export static symbol 2015-03-12 00:03:34 -04:00
micrel
microchip
moxa
myricom
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic
qualcomm
rdc
realtek
renesas
rocker
samsung
seeq
sfc
sgi
silan
sis
smsc
stmicro
sun
tehuti
ti
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c