All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Smart <James.Smart@Emulex.Com>
To: chris.leech@gmail.com
Cc: "Love, Robert W" <robert.w.love@intel.com>,
	Stefan Richter <stefanr@s5r6.in-berlin.de>,
	"Dev, Vasu" <vasu.dev@intel.com>,
	FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
	tomof@acm.org, "Zou, Yi" <yi.zou@intel.com>,
	linux-scsi@vger.kernel.org
Subject: Re: Open-FCoE on linux-scsi
Date: Thu, 31 Jan 2008 20:53:38 -0500	[thread overview]
Message-ID: <47A27BA2.3090906@emulex.com> (raw)
In-Reply-To: <41b516cb0801282142n70509ad2h9953ae7308097ae0@mail.gmail.com>



Chris Leech wrote:
> In thinking about how FC should be represented, it seems to me that in
> order to provide good interfaces at multiple levels of functionality
> we have to make sure the we have the right data structures at each
> level.  At the highest level there's scsi_cmd, then there's sequence
> based interfaces that would need some sort of a sequence structure
> with a scatter gather list, and at the lowest level interfaces work
> directly with FC frames.

I think the only thing that will actually talk frames will either be
a fc mac, which we haven't seen yet, or a FCOE entity.  Consider the
latter to be the predominant case.

> I'd like to talk about how we should go about representing FC frames.
> Currently, our libfc code introduces an fc_frame struct but allows the
> LLDD to provide an allocation function and control how the fc_frames
> are allocated.  The fcoe module uses this capability to map the data
> buffer of an fc_frame to that of an sk_buff.  As someone coming from a
> networking background, and interested in FCoE which ends up sending
> frames via an Ethernet driver, I tend to think this is overly complex
> and just want to use sk_buffs directly.

If the predominant user is fcoe, then I think describing the frame in
the context of a sk_buff is fine.

> Would SCSI/FC developers be opposed to dealing with sk_buffs for frame
> level interfaces, or do we need to keep a seperate fc_frame structure
> around?  I'd argue that skbs do a fine job of representing all sorts
> of frame structures, that any device that supports IP over FC has to
> deal with skbs in its driver anyway, and that at the frame level FC is
> just another network.  But then again, I am biased as skbs seem
> friendly and familiar to me as I venture further into the alien
> landscape that is scsi.
> 
> - Chris

-- james s

  reply	other threads:[~2008-02-01  1:54 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27 23:40 Open-FCoE on linux-scsi Love, Robert W
2007-11-28  0:19 ` FUJITA Tomonori
2007-11-28  0:29   ` Love, Robert W
2007-12-28 19:11 ` FUJITA Tomonori
2007-12-31 16:34   ` Love, Robert W
2008-01-03 10:35     ` FUJITA Tomonori
2008-01-03 21:58       ` Love, Robert W
2008-01-04 11:45         ` Stefan Richter
2008-01-04 11:59           ` FUJITA Tomonori
2008-01-04 22:07             ` Dev, Vasu
2008-01-04 23:41               ` Stefan Richter
2008-01-05  0:09                 ` Stefan Richter
2008-01-05  0:21                   ` Stefan Richter
2008-01-05  8:28                     ` Christoph Hellwig
2008-01-15  1:18                   ` Love, Robert W
2008-01-15 22:18                     ` James Smart
2008-01-22 23:52                       ` Love, Robert W
2008-01-29  5:42                       ` Chris Leech
2008-02-01  1:53                         ` James Smart [this message]
2008-01-06  4:14                 ` FUJITA Tomonori
2008-01-06  4:27               ` FUJITA Tomonori
2008-01-04 13:47         ` FUJITA Tomonori
2008-01-04 20:19           ` Mike Christie
2008-01-05 18:33       ` Vladislav Bolkhovitin
2008-01-06  1:28         ` FUJITA Tomonori
2008-01-08 17:38           ` Vladislav Bolkhovitin

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=47A27BA2.3090906@emulex.com \
    --to=james.smart@emulex.com \
    --cc=chris.leech@gmail.com \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-scsi@vger.kernel.org \
    --cc=robert.w.love@intel.com \
    --cc=stefanr@s5r6.in-berlin.de \
    --cc=tomof@acm.org \
    --cc=vasu.dev@intel.com \
    --cc=yi.zou@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.