linux/drivers/net/ethernet/freescale/fs_enet
Christophe Leroy b0ba357bfb net: fs_enet: make rx_copybreak value configurable
Measurement shows that on a MPC8xx running at 132MHz, the optimal
limit is 112:
* 114 bytes packets are processed in 147 TB ticks with higher copybreak
* 114 bytes packets are processed in 148 TB ticks with lower copybreak
* 128 bytes packets are processed in 154 TB ticks with higher copybreak
* 128 bytes packets are processed in 148 TB ticks with lower copybreak
* 238 bytes packets are processed in 172 TB ticks with higher copybreak
* 238 bytes packets are processed in 148 TB ticks with lower copybreak

However it might be different on other processors
and/or frequencies. So it is useful to make it configurable.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-10 21:17:14 -07:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
fec.h fs_enet: Add MPC5125 FEC support and PHY interface selection 2012-03-19 18:02:05 -04:00
fs_enet-main.c net: fs_enet: make rx_copybreak value configurable 2016-09-10 21:17:14 -07:00
fs_enet.h net: fs_enet: merge NAPI RX and NAPI TX 2016-09-10 21:17:13 -07:00
mac-fcc.c net: fs_enet: merge NAPI RX and NAPI TX 2016-09-10 21:17:13 -07:00
mac-fec.c net: fs_enet: merge NAPI RX and NAPI TX 2016-09-10 21:17:13 -07:00
mac-scc.c net: fs_enet: merge NAPI RX and NAPI TX 2016-09-10 21:17:13 -07:00
mii-bitbang.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
mii-fec.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00