net: bcmgenet: core changes for supporting multiple Rx queues
authorPetri Gynther <pgynther@google.com>
Mon, 9 Mar 2015 20:40:00 +0000 (13:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2015 02:51:56 +0000 (22:51 -0400)
commit8ac467e837a24eb024177b4b01013d8e6764913a
tree1d80c40311c14bf68b09b950243d1ddd6546e142
parent115403df818abf1e84c3554b14c8e0f8746bf3a6
net: bcmgenet: core changes for supporting multiple Rx queues

1. Add struct bcmgenet_rx_ring to hold all necessary information
   for a single Rx queue.
2. Add bcmgenet_init_rx_queues() to initialize all Rx queues.
3. Modify bcmgenet_init_rx_ring() to initialize a single Rx queue.
4. Modify Rx interrupt path code to use per-queue data.
5. Modify bcmgenet_rx_refill() to use RxCB->bd_addr.

Signed-off-by: Petri Gynther <pgynther@google.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h