]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
stmmac: fix max coal timer parameter
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 3 Dec 2014 11:32:58 +0000 (12:32 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 18:25:18 +0000 (13:25 -0500)
commit9b8d16cf81f9d5f7284aee55050fa6753535101b
tree35e0d2474c6dc1726f230686400ea932063551df
parent9772b54c55266ce80c639a80aa68eeb908f8ecf5
stmmac: fix max coal timer parameter

This patch is to fix the max coalesce timer setting that can be provided
by ethtool.
The default value (STMMAC_COAL_TX_TIMER) was used in the set_coalesce helper
instead of the max one (STMMAC_MAX_COAL_TX_TICK, so defined but not used).

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c