From: David Lang <david.lang@digitalinsight.com>
To: Luben Tuikov <luben_tuikov@adaptec.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
Kyle Moffett <mrmacman_g4@mac.com>,
Andre Hedrick <andre@linux-ide.org>,
"David S. Miller" <davem@davemloft.net>,
willy@w.ods.org, patmans@us.ibm.com, ltuikov@yahoo.com,
linux-kernel@vger.kernel.org, akpm@osdl.org, torvalds@osdl.org,
linux-scsi@vger.kernel.org,
James Bottomley <James.Bottomley@steeleye.com>
Subject: Re: I request inclusion of SAS Transport Layer and AIC-94xx intothekernel
Date: Mon, 3 Oct 2005 08:30:33 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.62.0510030824310.11541@qynat.qvtvafvgr.pbz> (raw)
In-Reply-To: <43414C06.2030501@adaptec.com>
In-Reply-To: <43414C06.2030501@adaptec.com>
On Mon, 3 Oct 2005, Luben Tuikov wrote:
> On 10/03/05 10:26, David Lang wrote:
>> in this case wouldn't it be trivial to write a 'null transport' driver
>> that just passed things down to the card to let the firmware deal with it?
>> (reformatting the data if needed)
>
> Hi David,
>
> I think it is trivial.
>
> Your LLDD would define the host template and register it
> with SCSI Core. This way you _bypass_ the Transport Layer.
> (This is what you call null driver -- as is traditionally done
> in SCSI Core due to the legacy LLDDs (to which MPT caters
> for 100% backward software compatibility))
>
> Else if your LLDD is just an inteface to the interconnect:
> i.e. it only implements Execute SCSI RPC and TMFs, then
> you'd register with the Transport Layer (SBP or USB or SAS)
> which will do all Transport related tasks, and then that
> Transport Layer (USB, SBP or SAS) would register a scsi host
> with SCSI Core.
the advantage of actually having a null transport driver rather then
bypassing the transport layer completely is that you avoid having to make
the SCSI core know about details of the interface to the chips, and
especially about any bugs that crop up and have to be worked around for
different chips.
or worse yet, as the spec of the interface to the hardware changes over
time the SCSI core would have to know about all the different variations
and how to deal with them.
it's much cleaner to evict all that knowledge out of the SCSI core and let
a very lightweight transport driver deal with that instead.
the drawback is that you may end up copying a little bit of data one time
more then you absolutly have to, but that's probably a very small cost for
the flexibility.
think of this as a problem similar to the network card interface, vendors
want to implement TOE while the kernel folks are willing to do TSO, but
not TOE (see the letters being exchange on lwn.net in the letters to the
editor section the last few weeks for a good discussion on those issues)
David Lang
next prev parent reply other threads:[~2005-10-03 15:31 UTC|newest]
Thread overview: 112+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-26 19:38 I request inclusion of SAS Transport Layer and AIC-94xx into the kernel Luben Tuikov
2005-09-27 21:55 ` Jeff Garzik
2005-09-27 22:51 ` Luben Tuikov
2005-09-27 23:14 ` Andre Hedrick
2005-09-28 11:37 ` Luben Tuikov
2005-09-28 12:32 ` Matthew Wilcox
2005-09-28 14:50 ` Linus Torvalds
2005-09-30 1:56 ` Junio C Hamano
2005-09-28 16:27 ` Patrick Mansfield
2005-09-28 16:34 ` Luben Tuikov
2005-09-28 19:45 ` Andre Hedrick
2005-09-28 20:56 ` Luben Tuikov
2005-09-28 22:35 ` Willy Tarreau
2005-09-28 23:22 ` Jeff Garzik
2005-09-28 23:29 ` David S. Miller
2005-09-29 5:30 ` Andre Hedrick
2005-09-29 7:24 ` David S. Miller
2005-09-30 7:36 ` Andre Hedrick
2005-09-30 18:34 ` Luben Tuikov
2005-09-30 18:50 ` Kyle Moffett
2005-09-30 19:08 ` Luben Tuikov
2005-09-30 21:31 ` Kyle Moffett
2005-09-30 22:10 ` Greg Freemyer
2005-09-30 22:19 ` Luben Tuikov
2005-09-30 23:54 ` Jeff Garzik
2005-10-01 4:58 ` Willy Tarreau
2005-10-03 15:08 ` Luben Tuikov
2005-10-03 14:04 ` Luben Tuikov
2005-09-30 22:14 ` Luben Tuikov
2005-10-01 0:33 ` Jeff Garzik
2005-10-03 14:18 ` Luben Tuikov
2005-10-03 14:26 ` I request inclusion of SAS Transport Layer and AIC-94xx intothe kernel David Lang
2005-10-03 15:19 ` Luben Tuikov
2005-10-03 15:30 ` David Lang [this message]
2005-10-03 16:01 ` I request inclusion of SAS Transport Layer and AIC-94xx into the kernel Jeff Garzik
2005-09-30 20:45 ` James Bottomley
2005-09-30 22:05 ` Luben Tuikov
2005-10-01 0:38 ` Jeff Garzik
2005-10-03 15:27 ` Luben Tuikov
2005-10-03 16:28 ` Jeff Garzik
2005-09-30 22:04 ` Andre Hedrick
2005-09-30 22:32 ` Luben Tuikov
2005-09-30 23:57 ` Jeff Garzik
2005-10-03 14:15 ` Luben Tuikov
2005-10-03 15:57 ` Jeff Garzik
2005-10-03 16:23 ` Luben Tuikov
2005-10-03 16:48 ` Jeff Garzik
2005-10-03 19:03 ` Luben Tuikov
2005-10-03 19:32 ` Mike Christie
2005-10-03 20:15 ` Jeff Garzik
2005-10-03 19:10 ` Mike Christie
2005-09-30 18:51 ` Luben Tuikov
2005-09-29 14:33 ` Luben Tuikov
2005-09-29 14:48 ` Jeff Garzik
2005-09-29 15:50 ` Luben Tuikov
2005-09-29 16:54 ` Jeff Garzik
2005-09-29 18:25 ` Luben Tuikov
2005-09-29 15:15 ` grundig
2005-09-29 15:17 ` Bernd Petrovitsch
2005-09-29 16:33 ` Luben Tuikov
2005-09-29 16:56 ` Jeff Garzik
2005-09-29 16:58 ` Luben Tuikov
2005-09-29 17:03 ` Jeff Garzik
2005-09-29 18:09 ` Gerrit Huizenga
2005-09-29 17:13 ` Bernd Petrovitsch
2005-09-29 18:39 ` Luben Tuikov
2005-09-29 22:43 ` Joel Becker
2005-09-29 17:52 ` John Stoffel
2005-09-29 19:20 ` Bruce Ferrell
2005-09-28 22:43 ` Andre Hedrick
2005-09-29 15:04 ` Luben Tuikov
2005-09-29 15:08 ` Jeff Garzik
2005-09-29 16:22 ` Luben Tuikov
2005-09-29 19:09 ` Stefan Richter
2005-09-29 22:06 ` Luben Tuikov
2005-09-28 16:30 ` Valdis.Kletnieks
2005-09-28 16:35 ` Luben Tuikov
2005-09-28 2:02 ` Jeff Garzik
2005-09-28 20:36 ` Luben Tuikov
2005-09-28 21:00 ` Jeff Garzik
2005-09-28 22:10 ` Luben Tuikov
2005-09-28 23:04 ` Jeff Garzik
2005-09-29 4:04 ` Willy Tarreau
2005-09-29 7:44 ` Arjan van de Ven
2005-09-29 15:09 ` Luben Tuikov
2005-09-29 15:20 ` Jeff Garzik
2005-09-29 16:56 ` Luben Tuikov
2005-09-29 17:11 ` Jeff Garzik
2005-09-30 18:16 ` Joe Bob Spamtest
2005-09-29 17:15 ` Stefan Richter
2005-09-29 17:29 ` Jeff Garzik
2005-09-29 19:32 ` Willy Tarreau
2005-09-29 19:57 ` Linus Torvalds
2005-09-29 22:49 ` jerome lacoste
2005-09-29 23:20 ` Luben Tuikov
2005-09-29 23:57 ` Prasenjit Sarkar
2005-09-30 6:35 ` Andre Hedrick
2005-09-30 0:35 ` Linus Torvalds
2005-09-30 1:25 ` Hua Zhong
2005-09-30 2:42 ` Marcin Dalecki
2005-09-30 19:12 ` Joe Bob Spamtest
2005-09-30 19:38 ` Bob Copeland
2005-09-30 7:29 ` Douglas Gilbert
2005-09-30 14:23 ` Luben Tuikov
2005-09-30 16:26 ` Andrew Patterson
2005-09-30 16:47 ` Luben Tuikov
2005-09-30 14:07 ` Luben Tuikov
2005-09-30 5:31 ` Theodore Ts'o
2005-09-30 6:52 ` Andre Hedrick
2005-09-29 19:59 ` Stefan Richter
2005-09-29 19:37 ` Stefan Richter
2005-09-29 19:22 ` Stefan Richter
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=Pine.LNX.4.62.0510030824310.11541@qynat.qvtvafvgr.pbz \
--to=david.lang@digitalinsight.com \
--cc=James.Bottomley@steeleye.com \
--cc=akpm@osdl.org \
--cc=andre@linux-ide.org \
--cc=davem@davemloft.net \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=ltuikov@yahoo.com \
--cc=luben_tuikov@adaptec.com \
--cc=mrmacman_g4@mac.com \
--cc=patmans@us.ibm.com \
--cc=torvalds@osdl.org \
--cc=willy@w.ods.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).