net: calxedaxgmac: rework transmit ring handling
authorRob Herring <rob.herring@calxeda.com>
Mon, 5 Nov 2012 06:22:23 +0000 (06:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 08:51:14 +0000 (03:51 -0500)
commit97a3a9a67b711bedc1e0d3a33a0dd019c3af2f46
tree1cab1521388f61aff2ff4aed8f3feed28fde5d5f
parent9169963d8090288995b19bc8065d305843bad617
net: calxedaxgmac: rework transmit ring handling

Only generate tx interrupts on every ring size / 4 descriptors. Move the
netif_stop_queue call to the end of the xmit function rather than
checking at the beginning.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c