net: stmmac: Implement RX Coalesce Frames setting
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 9 Jul 2019 08:02:58 +0000 (10:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 19:20:08 +0000 (12:20 -0700)
commitd429b66e2ebcec7099e666bbf14395898f53370e
treed64af3ac9c383da297f2bb066348ca20420ec3a8
parent12479f627f7c2017e6fcd50b56c2537592674c50
net: stmmac: Implement RX Coalesce Frames setting

Add support for coalescing RX path by specifying number of frames which
don't need to have interrupt on completion bit set.

This is only available when RX Watchdog is enabled.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c