From: Andrew Vasquez <andrew.vasquez@qlogic.com>
To: "Love, Robert W" <robert.w.love@intel.com>
Cc: michaelc@cs.wisc.edu, linux-scsi@vger.kernel.org, devel@open-fcoe.org
Subject: Re: fcoe cleanups and fcoe TODO
Date: Tue, 1 Jul 2008 07:37:49 -0700 [thread overview]
Message-ID: <20080701143749.GA495@plap4-2.qlogic.org> (raw)
In-Reply-To: <10A7D0016239E24092DEF05CCC582E4303FE4B55@fmsmsx411.amr.corp.intel.com>
On Mon, 30 Jun 2008, Love, Robert W wrote:
...
> >I think we need to see more hardware in the end. For now since there is
> >only
> >software fcoe that is out, this could probably be ok and as we see more
> >drivers we can evolve the split for the hardware like was done with
> iscsi.
> >For iscsi we ended up with 4 different offload modules so there was no
> way
> >we could have designed for all of them and the hardware/firmware
> >guys's quirks :)
> >
> We definitely expect this library to evolve as more LLDs use it.
>
> >- In general without knowing how hardware is really going to hook into
> >the lib it is hard to say how the rearch is going :) If we cannot
> >move more of the fc_remote_port to the rport (or if we just do not
> >want to move it all there because other drivers like lpfc and qla2xxx
> >will never use it) then we might want to rename the fc_remote_port
> >to avoid confusion with the rport and make it clear that the libfc
> remote
> >port is only needed for libfc operations.
> >
> We'd like to reduce fc_remote_port to nothing and only use fc_rport.
> We're still not sure we can completely achieve this without either
> having some private data or adding fields to the fc_rport.
On the QLogic side, there are several FCoE hardware options for CNAs.
Each of these FCoe offerings will follow in essence software's (the
driver's) current interfaces with existing FC hardware and firmware.
Upstream already has support for one such adapter:
[SCSI] qla2xxx: Add ISP84XX support.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4d4df1932b6b116aecc81039066fec27f2050762
It's essentially a 1gb FCoE adapter based on our ISP24xx (4gb) FC
chip. Driver continues to use the standard FW interfaces used by 24xx
firmware. Future offerings will be similar, but based on more recent
FC chips.
Architecturally, the current FCoE adapters continue to abstract
software from the transport details (FC0/FC1 on FC, and ethernet on
FCoE), so, we forsee the driver continuing to use the currently
implemented 'level0' interfaces (as noted by James S.) of the
fc-transport.
As far as libfc interfacing, there's a few possible
points-of-intersection (this was true even before FCoE):
* generic N-port discovery (assist) -- managing SNS querying,
typically fairly generic, GID_PT/G_A_NXT.
* initiate logins (PLOGI/PRLI) -- still trying to wrap my hands
around openfc constructs, my guess would be its fc_remote_port
objects having similar mapping to the qla2xxx driver's fc_port_t
structure.
* initiate rport creation -- with login data.
Striking a balance here could be tricky, as qla2xxx is still a
fairly heavy firmware dependent driver (and not simply a
frame-shuttler), we'd need to ensure some sort of bi-directional
interfaces as the firmware is capable of handling implicit logins
outside of software processing.
<snip>
> >Do we want a common userspace interface for the setup like we have with
> >iscsi for the initial merge? If so, we can say the interface is
> unstable
> >for now, because we just do not know how the hardware is going to work
> or
> >we can try and design a interface based on what we learned from iscsi.
> The
> >latter will probably result in a incorrct design since we are only
> >lowly driver engineers and do not know the fun the firmware guys
> >have for us :) However breaking userspace interfaces is a real pain
> >for users. When we did the latter for iscsi it was a tremendous pain
> for
> >users and distro integrators.
I'm in the process of gathering specs on FCoE specific attributes our
hardware (will) export which may be useful from userspace, both
statistics and tuning-knobs...
--
av
next prev parent reply other threads:[~2008-07-01 14:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-29 18:23 fcoe cleanups and fcoe TODO michaelc
2008-06-29 18:23 ` [PATCH 01/13] set proc name michaelc
[not found] ` <1214763843-5548-2-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 02/13] libfc: remove libfc scan_host michaelc-hcNo3dDEHLuVc3sceRu5cw
2008-06-29 18:23 ` [PATCH 03/13] libfc: fix locking in tt.rport_lookup_create paths michaelc
[not found] ` <1214763843-5548-4-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 04/13] fcoe: fix fcoe_create_interface goto paths michaelc-hcNo3dDEHLuVc3sceRu5cw
[not found] ` <1214763843-5548-5-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 05/13] libfc: rename target reset michaelc-hcNo3dDEHLuVc3sceRu5cw
[not found] ` <1214763843-5548-6-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 06/13] libfc: trivial fc_scsi cleanup michaelc-hcNo3dDEHLuVc3sceRu5cw
[not found] ` <1214763843-5548-7-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 07/13] libfc: remove os_lun michaelc-hcNo3dDEHLuVc3sceRu5cw
[not found] ` <1214763843-5548-8-git-send-email-michaelc-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-29 18:23 ` [PATCH 08/13] libfc fcoe: use shost_priv michaelc-hcNo3dDEHLuVc3sceRu5cw
2008-06-29 18:23 ` [PATCH 09/13] libfc: use get/put_aligned_be helpers michaelc
2008-06-29 18:24 ` [PATCH 10/13] libfc fcoe: coding style fixups - use uX for definitions michaelc
2008-06-29 18:24 ` [PATCH 11/13] libfc: mv scsi pkt cache to module michaelc
2008-06-29 18:24 ` [PATCH 12/13] libfc: mv em exch " michaelc
2008-06-29 18:24 ` [PATCH 13/13] libfc: remove unnessary casts michaelc
2008-06-30 23:35 ` [Open-FCoE] [PATCH 12/13] libfc: mv em exch cache to module Dev, Vasu
2008-06-30 20:33 ` fcoe cleanups and fcoe TODO Love, Robert W
[not found] ` <10A7D0016239E24092DEF05CCC582E4303FE4B55-6O2ePOu3Gqekrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2008-06-30 21:43 ` Mike Christie
[not found] ` <4869539F.3070605-hcNo3dDEHLuVc3sceRu5cw@public.gmane.org>
2008-06-30 21:47 ` Mike Christie
2008-06-30 23:33 ` Mike Christie
2008-07-01 14:37 ` Andrew Vasquez [this message]
2008-07-03 0:13 ` [Open-FCoE] " Leech, Christopher
2008-07-03 17:18 ` Mike Christie
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=20080701143749.GA495@plap4-2.qlogic.org \
--to=andrew.vasquez@qlogic.com \
--cc=devel@open-fcoe.org \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
--cc=robert.w.love@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.