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
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
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
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
-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
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
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
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
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
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/
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
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/
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
13 matches
Mail list logo