gianfar: Refactor config coalescing calls for all queues
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Tue, 19 Mar 2013 07:40:05 +0000 (07:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:21:53 +0000 (13:21 -0400)
commit800c644bcd0f2b29020c0dd6b661596c14c0f34f
tree480929931c8d691b5b039a5c3acc9d33c2798423
parent5d9657d83a1cfecfbe41add0d94863d3fe714df0
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>
drivers/net/ethernet/freescale/gianfar.c
drivers/net/ethernet/freescale/gianfar.h
drivers/net/ethernet/freescale/gianfar_ethtool.c