[Open-FCoE] [RFC PATCH 0/4] Move LLDD common code to libfcoe

Bhanu Gollapudi bprakash at broadcom.com
Fri Jan 21 02:56:24 UTC 2011


bnx2fc uses similar functions and structures as fcoe that are related to skb
queueing. This effort is to move the common functionality to libfcoe and let
fcoe and bnx2fc (any other LLDD for that matter) share the common code.

Nithin Nayak Sujir (4):
  libfcoe: move common functions/structures from fcoe
  bnx2fc: rename fcoe_percpu_s to bnx2fc_percpu_s
  bnx2fc: use fcoe_port structure instead of bnx2fc_port
  bnx2fc: use fcoe_percpu structure and related functions

 drivers/scsi/bnx2fc/bnx2fc.h      |   33 ++----
 drivers/scsi/bnx2fc/bnx2fc_els.c  |    8 +-
 drivers/scsi/bnx2fc/bnx2fc_fcoe.c |  217 +++++++++++--------------------------
 drivers/scsi/bnx2fc/bnx2fc_hwi.c  |   49 +++++----
 drivers/scsi/bnx2fc/bnx2fc_io.c   |   30 +++---
 drivers/scsi/bnx2fc/bnx2fc_tgt.c  |   24 ++--
 drivers/scsi/fcoe/fcoe.c          |  159 ++++------------------------
 drivers/scsi/fcoe/fcoe.h          |   45 +--------
 drivers/scsi/fcoe/fcoe_ctlr.c     |  138 ++++++++++++++++++++++++
 include/scsi/libfcoe.h            |   45 ++++++++
 10 files changed, 336 insertions(+), 412 deletions(-)







More information about the devel mailing list