On 02/13/2012 05:42 PM, Robert Love wrote: > This patch series adds a sysfs layer to libfcoe. It adds > a sysfs instance for FIP controllers (a SW entity) and > discovered Fibre Channel Forwarders (FCFs), which are > simply FCoE switches. > > The new sysfs code is used by any driver that currently > uses libfcoe, namely fcoe.ko and bnx2fc_fcoe.ko. Any other > FCoE capable device that wishes to use the high-level APIs > defined in fcoe_syfs.h may, without having to use the > the protocol processing portions of libfcoe. > > -- > > This series still needs validation and I'm working through > a remaining issue or two. It is stable though using ixgbe. > > This RFC is to solicit comments and to notify Broadcom that > I am making changes to their driver. I will post this series > to linux-scsi@vger when it has passed validation. > > --- > > Robert Love (7): > fcoe: Rename out_nomod label to out_putmod > fcoe: Do not switch context in vport_delete callback > fcoe: Remove reference counting on 'stuct fcoe_interface'
These top 3 patches are only necessary if applying the patches to scsi-misc. I haven't tried against fcoe-next, but I think the series should apply fine if you omit these first 3 patches. > fcoe: Allocate fcoe_ctlr with fcoe_interface, not as a member > bnx2fc: Allocate fcoe_ctlr with bnx2fc_interface, not as a member > libfcoe: Add fcoe_sysfs > fcoe, bnx2fc, libfcoe: SW FCoE and bnx2fc use FCoE Syfs > > > drivers/scsi/bnx2fc/bnx2fc.h | 7 > drivers/scsi/bnx2fc/bnx2fc_els.c | 2 > drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 158 +++++-- > drivers/scsi/bnx2fc/bnx2fc_hwi.c | 39 +- > drivers/scsi/fcoe/Makefile | 2 > drivers/scsi/fcoe/fcoe.c | 263 +++++++----- > drivers/scsi/fcoe/fcoe.h | 11 > drivers/scsi/fcoe/fcoe_ctlr.c | 260 +++++++++--- > drivers/scsi/fcoe/fcoe_sysfs.c | 793 > ++++++++++++++++++++++++++++++++++++ > drivers/scsi/fcoe/fcoe_transport.c | 13 - > include/scsi/fcoe_sysfs.h | 174 ++++++++ > include/scsi/libfcoe.h | 27 + > 12 files changed, 1516 insertions(+), 233 deletions(-) > create mode 100644 drivers/scsi/fcoe/fcoe_sysfs.c > create mode 100644 include/scsi/fcoe_sysfs.h > _______________________________________________ devel mailing list devel@open-fcoe.org https://lists.open-fcoe.org/mailman/listinfo/devel