Skip to contentSkip to conversation

cxgb3i -- split ddp set up code out

PATCH In review Karen Xie 1 participant 1 message Dec 7, 2008 SCSI

lore
Share & tools
lore

Karen Xie

author
#0 lore raw

PATCH 1/3 cxgb3i -- split ddp set up code out

[PATCH 1/3 2.6.29] cxgb3i -- split ddp set up code out

From: Karen Xie <[email protected]>

- split ddp pagepod manager out to a sperate module to support multiple iscsi entities.
- fixed cxgb3i code to work with the new core change.
- when parsing host memory scatterlist for transmitting or ddp setup, coalesce the buffers as much as possible.
- split setting of the host page size and connection digest settings into seperate functions.

---

 drivers/scsi/cxgb3i/Makefile       |    3 
 drivers/scsi/cxgb3i/cxgb3i.h       |   58 ---
 drivers/scsi/cxgb3i/cxgb3i_ddp.c   |  771 ++++++++++++++++++++++++++++++++++++
 drivers/scsi/cxgb3i/cxgb3i_ddp.h   |  306 ++++++++++++++
 drivers/scsi/cxgb3i/cxgb3i_iscsi.c |  310 ++++++++++----
 drivers/scsi/cxgb3i/cxgb3i_ulp2.c  |  513 ++++--------------------
 drivers/scsi/cxgb3i/cxgb3i_ulp2.h  |   49 --
 7 files changed, 1373 insertions(+), 637 deletions(-)
 create mode 100644 drivers/scsi/cxgb3i/cxgb3i_ddp.c
 create mode 100644 drivers/scsi/cxgb3i/cxgb3i_ddp.h
drivers/scsi/cxgb3i/Makefile +1 -2
index 8c8a894..3481f64 100644
@@ -1,5 +1,4 @@
 EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3
 
 cxgb3i-y := cxgb3i_init.o cxgb3i_iscsi.o cxgb3i_ulp2.o cxgb3i_offload.o
-
-obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o
+obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i_ddp.o cxgb3i.o
drivers/scsi/cxgb3i/cxgb3i.h +6 -52

109 lines not on this page · raw message

drivers/scsi/cxgb3i/cxgb3i_ddp.c new file +771 -0

771 lines not on this page · raw message

drivers/scsi/cxgb3i/cxgb3i_ddp.h new file +306 -0

306 lines not on this page · raw message

drivers/scsi/cxgb3i/cxgb3i_iscsi.c +213 -97

603 lines not on this page · raw message

drivers/scsi/cxgb3i/cxgb3i_ulp2.c +76 -437

592 lines not on this page · raw message

drivers/scsi/cxgb3i/cxgb3i_ulp2.h +0 -49

61 lines not on this page · raw message