From: Christoph Hellwig <hch@infradead.org>
To: James Bottomley <James.Bottomley@SteelEye.com>,
Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: PATCH [6/5] qla2xxx: update version :)
Date: Sun, 24 Apr 2005 11:53:38 +0100 [thread overview]
Message-ID: <20050424105338.GA22699@infradead.org> (raw)
In-Reply-To: <20050422072200.GD5069@plap.qlogic.org>
On Fri, Apr 22, 2005 at 12:22:00AM -0700, Andrew Vasquez wrote:
> > Btw, any plans to do proper FCIP support integrated with the transport
> > class code?
> >
>
> Ok, I'll bite (since this is the second time I've heard about FCIP
> being 'integrated' with the transport classes) -- what did you have in
> mind? There's already a clear set of mature networking interface with
> which a networking card's driver uses to interface with the stack.
>
> Are you looking to generalize those interfaces
> (open/hard_xmit/stop/etc.) into helpers transport helpers?
First we have a little bit of FC networking common code that's unfortunately
not used a lot in net/802/fc.c. Some of may need a little updating as it's
been without love for more than five years. Note that this means the
network device is presented as native fibre channel devices and not like
a fake ethernet device as in the current Qlogic IP driver. Not faking
ethernet also makes the send and receive code quite a bit simpler.
Putting ->open/->stop into common code doesn't make a lot of sense as
there's very little non-trivial things in there besides poking the hardware.
Of the net_device methods only the noop stubs should go into common code
(net/802/fc.c).
Other candidates for common code are things like qla2x00_convert_to_arp and
qla2x00_get_ip_loopid. In general I'd prefer the actual FC over IP drivers
to not have to poke into higherlevel (SNAP, ARP, IP) protocol headers at
all, or having to iterate over fc remote port structures themselves.
Actual transport class integration is very little. First a proper interface
for the IP over FC driver to get called back on IP remote ports instead of
various odd hand crafted methods, second a link in sysfs from the FC remote
to the netdevice to make managment easier. Also some of the ethtool methods
could probably be implemented ontop of the information we already have in
the transport class.
next prev parent reply other threads:[~2005-04-24 10:53 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-13 19:15 PATCH [0/5] qla2xxx: remote port rework Andrew Vasquez
2005-04-13 19:18 ` PATCH [1/5] qla2xxx: remove internal queuing Andrew Vasquez
2005-04-13 19:18 ` PATCH [2/5] qla2xxx: add remote port codes Andrew Vasquez
2005-04-13 21:40 ` Christoph Hellwig
2005-04-19 6:33 ` Andrew Vasquez
2005-04-19 7:27 ` Andrew Vasquez
2005-04-19 21:13 ` Christoph Hellwig
2005-05-20 6:17 ` Jeremy Higdon
2005-05-20 15:15 ` Andrew Vasquez
2005-05-27 7:51 ` Jeremy Higdon
2005-04-17 15:18 ` James Bottomley
2005-04-13 19:18 ` PATCH [3/5] qla2xxx: remove lun discovery codes Andrew Vasquez
2005-04-13 19:19 ` PATCH [4/5] qla2xxx: cleanup DMA mappings Andrew Vasquez
2005-04-13 21:34 ` Christoph Hellwig
2005-04-15 18:06 ` Andrew Vasquez
2005-04-13 19:19 ` PATCH [5/5] qla2xxx: remove /proc interface Andrew Vasquez
2005-04-13 19:42 ` PATCH [0/5] qla2xxx: remote port rework Matthew Wilcox
2005-04-13 20:50 ` PATCH [6/5] qla2xxx: update version :) Andrew Vasquez
2005-04-13 20:57 ` James Bottomley
2005-04-13 21:24 ` Andrew Vasquez
2005-04-19 21:15 ` Christoph Hellwig
2005-04-22 7:22 ` Andrew Vasquez
2005-04-24 10:53 ` Christoph Hellwig [this message]
2005-04-13 21:17 ` Christoph Hellwig
2005-04-15 17:38 ` Andrew Vasquez
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=20050424105338.GA22699@infradead.org \
--to=hch@infradead.org \
--cc=James.Bottomley@SteelEye.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