linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Douglas Gilbert <dgilbert@interlog.com>
Cc: ltuikov@yahoo.com, Greg KH <greg@kroah.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	tj@kernel.org, jens.axboe@oracle.com, James.Bottomley@suse.de
Subject: Re: SCSI TMF processing; tag allocation
Date: Mon, 15 Nov 2010 12:09:02 -0700	[thread overview]
Message-ID: <20101115190901.GB6178@parisc-linux.org> (raw)
In-Reply-To: <4CE181A8.8050102@interlog.com>

On Mon, Nov 15, 2010 at 01:53:28PM -0500, Douglas Gilbert wrote:
> On the subject of UAS, due to some USB-3 streaming protocol
> requirements, three tag values cannot be used by SCSI. They
> are 0h, FFFEh and FFFFh. So those available for SCSI tag
> use are 1h to FFFDh inclusive.

I add 1 to the tag value handed to me by the block layer, and use that
as the tag value that I tell the UAS device this command has.  So if I
ask for 256 tags, I'll hand values 1-257 to the device.

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

      reply	other threads:[~2010-11-15 19:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-06  6:02 SCSI TMF processing; tag allocation Luben Tuikov
2010-11-13 12:37 ` Matthew Wilcox
2010-11-15  9:28   ` Jens Axboe
2010-11-15 14:33     ` James Bottomley
2010-11-15 14:40       ` Alan Cox
2010-11-15 14:53         ` James Bottomley
2010-11-15 14:46       ` Matthew Wilcox
2010-11-15 14:52         ` James Bottomley
2010-11-16 20:28   ` Vladislav Bolkhovitin
2010-11-15 18:53 ` Douglas Gilbert
2010-11-15 19:09   ` Matthew Wilcox [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=20101115190901.GB6178@parisc-linux.org \
    --to=matthew@wil.cx \
    --cc=James.Bottomley@suse.de \
    --cc=dgilbert@interlog.com \
    --cc=greg@kroah.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ltuikov@yahoo.com \
    --cc=tj@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;
as well as URLs for NNTP newsgroup(s).