Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: willy@linux.intel.com (Matthew Wilcox)
Subject: what time does host will re-used the prplist memory region.
Date: Tue, 4 Aug 2015 09:40:00 -0400	[thread overview]
Message-ID: <20150804134000.GB13681@linux.intel.com> (raw)
In-Reply-To: <e06add8.1a3fb.14ef6c204d6.Coremail.havenyang@126.com>

On Tue, Aug 04, 2015@11:29:47AM +0800, HavenYang wrote:
> It says the SQhead indicate Submission Queue entries may be re-used, but it not say the PRPlist related to this command may be re-used or not, I confused.
> 
> my question is:
> 1. from host side,?what is the condition can host re-used the prplist memory region for a host command, SQHead or command complete?

The host can only reuse the PRP list memory when the command has been
completed.  The device is entitled to use the PRP list throughout
execution of the command.

> 2. from device side, what is the condition to update SQHead, fetched command head(simple) or fetched all prp from prplist(complex)?

The first; the host only takes this as an indication that it can reuse
the SQ entry.

  reply	other threads:[~2015-08-04 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-04  3:29 what time does host will re-used the prplist memory region HavenYang
2015-08-04 13:40 ` Matthew Wilcox [this message]
2015-08-05  0:53   ` HavenYang

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=20150804134000.GB13681@linux.intel.com \
    --to=willy@linux.intel.com \
    /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