gianfar: Add Multiple Queue Support
authorSandeep Gopalpet <Sandeep.Kumar@freescale.com>
Mon, 2 Nov 2009 07:03:15 +0000 (07:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 07:40:57 +0000 (23:40 -0800)
commitfba4ed030cfae7efdb6b79a57b0c5a9d72c9de83
treeddee54010c64517a01ea112ca16e5bc1fee0938c
parentf4983704a63b3764418905a77d48105a8cbce97f
gianfar: Add Multiple Queue Support

This patch introduces multiple Tx and Rx queues.
The incoming packets can be classified into different queues
based on filer rules (out of scope of this patch). The number
of queues enabled will be based on a DTS entries fsl,num_tx_queues
and fsl,num_rx_queues.

Although we are enabling multiple queues, the interrupt coalescing
is on per device level (etsec-1.7 doesn't support multiple rxics
and txics).

Signed-off-by: Sandeep Gopalpet <Sandeep.Kumar@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar.h
drivers/net/gianfar_ethtool.c
drivers/net/gianfar_sysfs.c