mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Deven Balani <devenbalani@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Ping-Pong Compatible DMA buffer chaining
Date: Wed, 04 Jan 2006 08:43:49 +0000	[thread overview]
Message-ID: <1136364229.22598.66.camel@localhost.localdomain> (raw)
In-Reply-To: <7a37e95e0601032128l2c7d6e03v742de8dd485af9db@mail.gmail.com>

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


      reply	other threads:[~2006-01-04  8:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-26  6:05 Deven Balani
2006-01-03  1:08 ` Alan Cox
2006-01-04  5:28   ` Deven Balani
2006-01-04  8:43     ` Alan Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1136364229.22598.66.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=devenbalani@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome