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

2012-12-05 Thread David Miller
From: Nicolas Ferre Date: Wed, 5 Dec 2012 16:08:22 +0100 > On 12/04/2012 07:22 PM, David Miller : >> From: Nicolas Ferre >> 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

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

2012-12-05 Thread Nicolas Ferre
On 12/04/2012 07:22 PM, David Miller : > From: Nicolas Ferre > 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

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

2012-12-05 Thread Nicolas Ferre
On 12/04/2012 07:22 PM, David Miller : From: Nicolas Ferre nicolas.fe...@atmel.com 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

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

2012-12-05 Thread David Miller
From: Nicolas Ferre nicolas.fe...@atmel.com Date: Wed, 5 Dec 2012 16:08:22 +0100 On 12/04/2012 07:22 PM, David Miller : From: Nicolas Ferre nicolas.fe...@atmel.com 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

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

2012-12-04 Thread David Miller
From: Nicolas Ferre 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

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

2012-12-04 Thread David Miller
From: Nicolas Ferre nicolas.fe...@atmel.com 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

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

2012-12-03 Thread Nicolas Ferre
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

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

2012-12-03 Thread Nicolas Ferre
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