Claudiu Manoil 76f31e8b09 gianfar: Bundle Rx allocation, cleanup
Use a more common consumer/ producer index design to improve
rx buffer allocation.  Instead of allocating a single new buffer
(skb) on each iteration, bundle the allocation of several rx
buffers at a time.  This also opens the path for further memory
optimizations.

Remove useless check of rxq->rfbptr, since this patch touches
rx pause frame handling code as well.  rxq->rfbptr is always
initialized as part of Rx BD ring init.
Remove redundant (and misleading) 'amount_pull' parameter.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-15 17:13:23 -07:00
..
2015-07-08 23:37:32 -07:00
2015-07-08 15:57:14 -07:00
2015-07-02 12:10:20 -07:00
2015-06-23 07:16:25 -07:00
2015-07-14 15:37:29 -07:00
2015-07-09 00:31:14 -07:00
2015-06-29 12:52:06 -07:00
2015-01-11 21:44:55 -05:00
2015-07-08 16:04:06 -07:00
2015-06-23 07:16:25 -07:00
2015-06-23 07:16:25 -07:00