Re: [U-Boot] [PATCH 10/12] net: emaclite: Use indirect access in emaclite_recv

2015-12-17 Thread Michal Simek
On 15.12.2015 23:20, Joe Hershberger wrote: > On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: >> When IP is configured with pong buffers, IP is receiving packets to ping >> and then to pong buffer and than ping again. >> Origin logic in the driver remains there that when ping buffer is > > O

Re: [U-Boot] [PATCH 10/12] net: emaclite: Use indirect access in emaclite_recv

2015-12-15 Thread Joe Hershberger
On Fri, Dec 11, 2015 at 6:03 AM, Michal Simek wrote: > When IP is configured with pong buffers, IP is receiving packets to ping > and then to pong buffer and than ping again. > Origin logic in the driver remains there that when ping buffer is Origin -> Original > free, pong buffer is checked too

[U-Boot] [PATCH 10/12] net: emaclite: Use indirect access in emaclite_recv

2015-12-11 Thread Michal Simek
When IP is configured with pong buffers, IP is receiving packets to ping and then to pong buffer and than ping again. Origin logic in the driver remains there that when ping buffer is free, pong buffer is checked too and return if both are free. Signed-off-by: Michal Simek --- Do you know macros