[PATCH 4/4] [FCoE] remove sa_hash_kern.c/sa_hash.h

2008-02-13 Thread Yi Zou
This patch removes using sa_hash_kern.c and sa_hash.h files. All references to the sa_hash.h are also removed. 1. Removed libsa/sa_hash_kern.c 2. Removed include/sa_hash.h 3. Removed all references to sa_hash_xxx 4. Updated Makefile accordingly in libsa Signed-off-by: Yi Zou <[EMAIL PROTEC

[PATCH 2/4] [FCoE] hash for fc_sess: do not use sa_hash_xxx

2008-02-13 Thread Yi Zou
hash table entry counter 3. Removed refrences to sa_hash_xxx Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/include/fc_sess.h|3 drivers/scsi/ofc/libfc/fc_sess.c | 214 +++-- drivers/scsi/ofc/libfc/fc_sess_impl.h |3 d

[PATCH 3/4] [FCoE] remove hash table for fc_local_port

2008-02-13 Thread Yi Zou
fc_virt_fab 2. Remmoed local port hash functions from fc_local_port.c 3. Removed fl_hash_link from struct fc_local_port 4. Removed local port hash table create/destroy from fc_virt_fab.c 5. Removed all references to sa_hash_xxx Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/i

[PATCH 0/4] [FCoE] Remove sa_hash_xxx:series short description

2008-02-13 Thread Yi Zou
fcs_state struct. --- Yi Zou (4): [FCoE] 4. remove sa_hash_kern.c/sa_hash.h [FCoE] 3. remove hash table for fc_local_port [FCoE] 2. hash for fc_sess: do not use sa_hash_xxx [FCoE] 1. hash for fc_remote_port: do not use sa_hash_xxx drivers/scsi/ofc/include/fc_local_port.h

[PATCH 1/4] [FCoE] hash for fc_remote_port: do not use sa_hash_xxx

2008-02-13 Thread Yi Zou
-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/include/fc_remote_port.h |4 drivers/scsi/ofc/libfc/fc_remote_port.c | 325 + drivers/scsi/ofc/libfc/fc_virt_fab_impl.h |3 3 files changed, 146 insertions(+), 186 deletions(-) diff --git a/d

[PATCH 6/6] [FCoE] remove sa_hash_kern.c/sa_hash.h

2008-02-07 Thread Yi Zou
1. Remove libsa/sa_hash_kern.c 2. Remove include/sa_hash.h 3. Remove all references to sa_hash_xxx 4. Update Makefile accordingly in libsa Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/include/sa_hash.h| 65 --- drivers/scsi/ofc/libfc/fc_exch.c

[PATCH 2/6] [FCoE] hash for fc_remote_port: do not use sa_hash_xxx

2008-02-07 Thread Yi Zou
1. Add hash table/funcs for fc_remote_port 2. Remove association with vf_rport_by_fid in fc_virt_fab 3. Remove association with vf_rport_by_wwpn in fc_virt_fab 4. Remove references to sa_hash_xxx Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/include/fc_remote_port.h

[PATCH 3/6] [FCoE] hash for fc_sess: do not use sa_hash_xxx

2008-02-07 Thread Yi Zou
1. Add hash table/funcs for fc_sess 2. Remove association with vf_sess_by_fids in fc_virt_fab 4. Remove refrences to sa_hash_xxx Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/include/fc_sess.h|2 drivers/scsi/ofc/libfc/fc_sess.c

[PATCH 5/6] [FCoE] remove hash tables from fc_virt_fab

2008-02-07 Thread Yi Zou
Remove vf_rport_by_fid, vf_rport_by_wwn, vf_lport_by_fid, vf_sess_by_fids in struct fc_virt_fab of fc_virt_fab_impl.h Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/libfc/fc_virt_fab_impl.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/driver

[PATCH 1/6] [FCoE] Fix the openfc Makefile to build as included in kernel

2008-02-07 Thread Yi Zou
The current build for openfc will fail as it only builds as module. Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/openfc/Makefile | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/ofc/openfc/Makefile b/drivers/scsi/ofc/

[PATCH 4/6] [FCoE] hash for fc_local_port: do not use sa_hash_xxx

2008-02-07 Thread Yi Zou
1. Add hash table/funcs for fc_local_port 2. Remove association with vf_lport_by_fid in fc_virt_fab 3. Remove references to sa_hash_xxx Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/libfc/fc_local_port.c | 184 +-- drivers/scsi/ofc

[PATCH] [FCoE] Bug in calling sg_set_page()

2008-01-16 Thread Yi Zou
Offset and length are not correctly passed to sg_set_page(). Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/openfc/openfc_scsi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ofc/openfc/openfc_scsi.c b/drivers/scsi/ofc/

[PATCH] OpenFCoE: additional patch for using scatterlist in 2.6.24.

2007-12-10 Thread Yi Zou
Use sg_next() to walk the list instead of doing sg++ and sg_limit. Signed-off-by: Yi Zou <[EMAIL PROTECTED]> --- drivers/scsi/ofc/openfc/openfc_scsi.c | 25 + 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/ofc/openfc/openfc_scs