Thread (4 messages) flat view 4 messages, 2 authors, 2012-12-05

Re: [PATCH] net/macb: increase RX buffer size for GEM

From: David Miller <davem@davemloft.net>
Date: 2012-12-04 18:22:38
Also in: linux-arm-kernel, lkml

From: Nicolas Ferre <redacted>
Date: Mon, 3 Dec 2012 13:15:43 +0100
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.
I also kept the result of buffers per page calculation to lower the
impact of this move to a variable rx buffer size on rx hot path.
RX DMA buffer size has to be multiple of 64 bytes as indicated in
DMA Configuration Register specification.

Signed-off-by: Nicolas Ferre <redacted>
This looks like it will waste a couple hundred bytes for 1500 MTU
frames, am I right?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help