From: James Bottomley <James.Bottomley@steeleye.com>
To: "Smart, James" <James.Smart@Emulex.com>
Cc: Linux SCSI Reflector <linux-scsi@vger.kernel.org>
Subject: Re: HBAAPI
Date: 08 Apr 2004 08:56:44 -0500 [thread overview]
Message-ID: <1081432604.1885.87.camel@mulgrave> (raw)
In-Reply-To: <3356669BBE90C448AD4645C843E2BF2802C01631@xbl.ma.emulex.com>
On Thu, 2004-04-08 at 08:12, Smart, James wrote:
> We have a fair number of ioctls which provide the functionality of HBAAPI.
> HBAAPI is a user-level API for interacting with/configuring FC HBAs. There
> are similar efforts occuring for iSCSI, etc.
Well, as you probably saw from the qla2xxx driver driver submission, the
ioctls got sliced out before final driver acceptance.
> The jist of HBAAPI is that each vendor supplies a "provider" module that
> implements the API for the specific hardware. Ours converts into a lot of
> ioctls. We see this as a great opportunity to remove the need for a
> vendor-specific provider module, and simply have a standard API, supported
> by linux FC drivers. There is already a sample application and template
> provider over on SourceForge that can be leveraged. We are offering to ante
> up a proposal for this API.
>
> Has there been any thoughts/efforts in doing this in the past ? Any
> recommendations for how this should be implemented ? Any general thoughts?
Yes, this needs to be done as part of the FC transport class.
> Some of the payload/buffer sizes for the API can exceed 4k in size. Thus,
> moving them to sysfs and potentially converting them to multiple operations
> is problematic. Right now, the thought is to leave them as ioctls. If you
> have other ideas, let me know.
There's a binay blob api for sysfs. If the size is known (or
approximateable) we can probably get the interface fixed to work
correctly.
> HBAAPI provides an interface for setting persistent device mappings. What
> are the current thoughts on how driver-level persistent data should be
> maintained/saved/etc ?
Persistent device mapping from the driver is not going in. Use udev
instead.
James
next prev parent reply other threads:[~2004-04-08 13:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 13:12 HBAAPI Smart, James
2004-04-08 13:56 ` James Bottomley [this message]
2004-04-08 14:25 ` HBAAPI Matthew Wilcox
2004-04-16 12:10 ` HBAAPI Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2004-04-08 15:57 HBAAPI Andreas Herrmann
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=1081432604.1885.87.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=James.Smart@Emulex.com \
--cc=linux-scsi@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