Re: tx path circular buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
> > 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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux