]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: add interrupt coalescence feature support
authorFugang Duan <B38611@freescale.com>
Tue, 16 Sep 2014 21:18:52 +0000 (05:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 19:36:50 +0000 (15:36 -0400)
commitc03b1835f9b11edbd92decfce65331551363a909
tree44cbdd531de3aee90b15b2d5154020fde2f9b3d8
parent96cd34c1a5fb3b7cfe2c1a44fcb6336a2db99a18
net: fec: add interrupt coalescence feature support

i.MX6 SX support interrupt coalescence feature
By default, init the interrupt coalescing frame count threshold and
timer threshold.

Supply the ethtool interfaces as below for user tuning to improve
enet performance:
rx_max_coalesced_frames
rx_coalesce_usecs
tx_max_coalesced_frames
tx_coalesce_usecs

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c