diff options
author | Claudiu Manoil <claudiu.manoil@freescale.com> | 2013-03-19 07:40:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 13:21:53 -0400 |
commit | 800c644bcd0f2b29020c0dd6b661596c14c0f34f (patch) | |
tree | 480929931c8d691b5b039a5c3acc9d33c2798423 /drivers/net/ethernet/freescale/gianfar.h | |
parent | 5d9657d83a1cfecfbe41add0d94863d3fe714df0 (diff) | |
download | blackbird-obmc-linux-800c644bcd0f2b29020c0dd6b661596c14c0f34f.tar.gz blackbird-obmc-linux-800c644bcd0f2b29020c0dd6b661596c14c0f34f.zip |
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.h')
-rw-r--r-- | drivers/net/ethernet/freescale/gianfar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar.h b/drivers/net/ethernet/freescale/gianfar.h index b1d0c1c77139..eec87eaaae92 100644 --- a/drivers/net/ethernet/freescale/gianfar.h +++ b/drivers/net/ethernet/freescale/gianfar.h @@ -1182,8 +1182,7 @@ extern void stop_gfar(struct net_device *dev); extern void gfar_halt(struct net_device *dev); extern void gfar_phy_test(struct mii_bus *bus, struct phy_device *phydev, int enable, u32 regnum, u32 read); -extern void gfar_configure_coalescing(struct gfar_private *priv, - unsigned long tx_mask, unsigned long rx_mask); +extern void gfar_configure_coalescing_all(struct gfar_private *priv); void gfar_init_sysfs(struct net_device *dev); int gfar_set_features(struct net_device *dev, netdev_features_t features); extern void gfar_check_rx_parser_mode(struct gfar_private *priv); |