Re: Ping-Pong Compatible DMA buffer chaining

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

 



On Mer, 2006-01-04 at 10:58 +0530, Deven Balani wrote:
> My hardware has two Buffers B0 and B1 for both Tx and Rx path.
> I had to fill the first buffer initially and then _continue_ a walk
> through the sg list with help of buffer completion interrupts of B0 &
> B1.

This looks workable to me. You can possibly also use the max_Sectors
field in the sht to simplify the logic by letting the kernel split the
sg entries before they become too large for your hardware.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux