linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/8] adding support to FCoE transport
@ 2011-01-07 17:42 Yi Zou
  2011-01-07 17:42 ` [RFC PATCH v2 1/8] libfcoe: move logging macros into the local libfcoe.h header file Yi Zou
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Yi Zou @ 2011-01-07 17:42 UTC (permalink / raw)
  To: devel-s9riP+hp16TNLxjTenLetw; +Cc: linux-scsi-u79uwXL29TY76Z2rM5mHXA

This is the RFC v2 of adding fcoe transport to support vendor specific FCoE
transport into the existing Open-FCoE framework.

v1:
Initial post for adding fcoe transport:
https://lists.open-fcoe.org/pipermail/devel/2010-December/010865.html
Follow-up comments & discussions:
https://lists.open-fcoe.org/pipermail/devel/2011-January/010890.html

v2:
1. Per Joe's comment, renamed the libfcoe_fip.c to be fcoe_ctlr.c. I
also renamed the new ibfcoe_transport.c to be fcoe_transport.c.
2. Per Bhanu's comment, I have merged the three follow-up patches
from Bhanu with the following changes in fcoe_parse_buffer():
a) Though not a problem of the existing fcoe-util since the sysfs
entry is changing to libfcoe anyway, I still want to fill the buffer
of drv_name with default "fcoe" so default behavior is still the same
w/o changing cfg-ethx.
b) Fixed the '\n' ending in the input buffer in fcoe_parse_buffer, we still
need that proper formatting logic from the original fcoe_if_to_netdev(),
otherwise the ifname and drv_name will be messed up, causing the lookup for
netdev and transport to fail.

Testing Notes:
Did the checkpatch and tested w/ overnight stress FCoE traffic on 2 LUNs using
fcoe.ko as the default fcoe transport, that seems to be working ok. However,
loop create/destroy testing is needed before this gets committed eventually.

thanks,
yi

---

Yi Zou (8):
      fcoe: convert fcoe.ko to become an fcoe transport provider driver
      fcoe: prepare fcoe for using fcoe transport
      libfcoe: include fcoe_transport.c into kernel libfcoe module
      libfcoe: remove libfcoe.c, use the same fcoe_ctlr.c instead
      libfcoe: rename libfcoe.c to fcoe_cltr.c for the coming fcoe_transport.c
      libfcoe: add implementation to support fcoe transport
      libfcoe: add fcoe_transport structure defines to include/scsi/libfcoe.h
      libfcoe: move logging macros into the local libfcoe.h header file


 drivers/scsi/fcoe/Makefile         |    2 
 drivers/scsi/fcoe/fcoe.c           |  183 +-
 drivers/scsi/fcoe/fcoe_ctlr.c      | 2682 ++++++++++++++++++++++++++++++++++++
 drivers/scsi/fcoe/fcoe_transport.c |  548 +++++++
 drivers/scsi/fcoe/libfcoe.c        | 2708 ------------------------------------
 drivers/scsi/fcoe/libfcoe.h        |   31 
 include/scsi/libfcoe.h             |   43 +
 7 files changed, 3367 insertions(+), 2830 deletions(-)
 create mode 100644 drivers/scsi/fcoe/fcoe_ctlr.c
 create mode 100644 drivers/scsi/fcoe/fcoe_transport.c
 delete mode 100644 drivers/scsi/fcoe/libfcoe.c
 create mode 100644 drivers/scsi/fcoe/libfcoe.h

-- 
Signature: Yi Zou <yi.zou-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-01-13  0:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07 17:42 [RFC PATCH v2 0/8] adding support to FCoE transport Yi Zou
2011-01-07 17:42 ` [RFC PATCH v2 1/8] libfcoe: move logging macros into the local libfcoe.h header file Yi Zou
2011-01-07 17:42 ` [RFC PATCH v2 2/8] libfcoe: add fcoe_transport structure defines to include/scsi/libfcoe.h Yi Zou
2011-01-07 17:42 ` [RFC PATCH v2 3/8] libfcoe: add implementation to support fcoe transport Yi Zou
2011-01-07 17:42 ` [RFC PATCH v2 4/8] libfcoe: rename libfcoe.c to fcoe_cltr.c for the coming fcoe_transport.c Yi Zou
2011-01-07 17:43 ` [RFC PATCH v2 5/8] libfcoe: remove libfcoe.c, use the same fcoe_ctlr.c instead Yi Zou
2011-01-07 17:43 ` [RFC PATCH v2 6/8] libfcoe: include fcoe_transport.c into kernel libfcoe module Yi Zou
2011-01-07 17:43 ` [RFC PATCH v2 7/8] fcoe: prepare fcoe for using fcoe transport Yi Zou
2011-01-07 17:43 ` [RFC PATCH v2 8/8] fcoe: convert fcoe.ko to become an fcoe transport provider driver Yi Zou
2011-01-08  1:33 ` [RFC PATCH v2 0/8] adding support to FCoE transport Bhanu Gollapudi
2011-01-11  3:27   ` Bhanu Gollapudi
2011-01-11 19:55     ` Zou, Yi
2011-01-11 21:07       ` Bhanu Gollapudi
2011-01-12 22:36         ` Bhanu Gollapudi
2011-01-13  0:39           ` Zou, Yi
2011-01-13  0:43             ` Zou, Yi
2011-01-13  0:56               ` Bhanu Gollapudi

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).