aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/gianfar_ethtool.c
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2013-03-19 03:40:05 -0400
committerDavid S. Miller <davem@davemloft.net>2013-03-20 13:21:53 -0400
commit800c644bcd0f2b29020c0dd6b661596c14c0f34f (patch)
tree480929931c8d691b5b039a5c3acc9d33c2798423 /drivers/net/ethernet/freescale/gianfar_ethtool.c
parent5d9657d83a1cfecfbe41add0d94863d3fe714df0 (diff)
gianfar: Refactor config coalescing calls for all queues
The only place where gfar_configure_coalescing is called with an actual bitmask (other than 0xff) is in gfar_poll (on the hot path). So make gfar_configure_coalescing() static for the buffer processing path, and export gfar_configure_coalescing_all() for the remaining cases that require to set coalescing for all the queues at once (on the slow path). Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/gianfar_ethtool.c')
-rw-r--r--drivers/net/ethernet/freescale/gianfar_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c
index 75e89acf4912..8248df760aad 100644
--- a/drivers/net/ethernet/freescale/gianfar_ethtool.c
+++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c
@@ -436,7 +436,7 @@ static int gfar_scoalesce(struct net_device *dev,
436 gfar_usecs2ticks(priv, cvals->tx_coalesce_usecs)); 436 gfar_usecs2ticks(priv, cvals->tx_coalesce_usecs));
437 } 437 }
438 438
439 gfar_configure_coalescing(priv, 0xFF, 0xFF); 439 gfar_configure_coalescing_all(priv);
440 440
441 return 0; 441 return 0;
442} 442}