net/macb: increase RX buffer size for GEM
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 4 Jun 2013 21:57:11 +0000 (21:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2013 23:21:11 +0000 (16:21 -0700)
commit1b44791ab4ed27e6fa69f5dfa81b0fd48b1d050d
tree185540c85199ef5cb78f24ce11470a7314e37125
parent540ad1b888ad9564520c1c8c48ad675f76ffce62
net/macb: increase RX buffer size for GEM

Macb Ethernet controller requires a RX buffer of 128 bytes. It is
highly sub-optimal for Gigabit-capable GEM that is able to use
a bigger DMA buffer. Change this constant and associated macros
with data stored in the private structure.
RX DMA buffer size has to be multiple of 64 bytes as indicated in
DMA Configuration Register specification.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h