Thread (3 messages) 3 messages, 2 authors, 2017-06-08

tx path circular buffer

From: Tobin C. Harding <hidden>
Date: 2017-06-08 06:34:21

On Wed, Jun 07, 2017 at 10:48:33AM +0200, Greg KH wrote:
On Wed, Jun 07, 2017 at 04:03:33PM +1000, Tobin C. Harding wrote:
quoted
Hi,

I am attempting to implement a circular buffer for the tx path of a
networking driver. From my understanding this is something that is
very common, yet I am struggling to find a clear way to do it.
Have you looked at include/linux/kfifo.h?
thanks Greg, I ended up using kfifo for the tx path and circ_buf for
the rx path.

Tobin.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help