From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 2 Apr 2015 09:50:30 +0200 Subject: [U-Boot] Driver model Ethernet issue In-Reply-To: References: Message-ID: <20150402095030.4aa47cfb@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On Mon, 30 Mar 2015 12:03:41 -0600, Simon Glass wrote: > Also you can argue that buffer management is a reasonable thing to > provide a method for. Using a buffer to receive a packet, sending that > packet for processing, and retiring the buffer are all conceptually > separate things. We could even consider (in the future!) supporting a > buffer ring in the uclass since all of the drivers I have looked at > have one. Just in case: remember that some drivers use SRAM-based buffers while others use DDR-based buffers. Buffer management should support either use case. Also, there's more than just buffers; descriptors might be needed too -- whether they should be generalized or not, I have no clear idea, though. Amicalement, -- Albert.