[PATCH qla4xxx] pass target id to session creation function

0 views
Skip to first unread message

Mike Christie

unread,
Jun 24, 2006, 3:23:16 PM6/24/06
to open-...@googlegroups.com
Currently, the class's target_id is just some number that is incremented
for each session added. It is pretty meaningless. For software
iscsi/iser it will always be zero since we allocate a host per session.
For qla4xxx the target number is the target id within the hba. The
attached patch, adds a target_id argument to iscsi_add/create_session.
Software iscsi/iser continue to pass in zero, but qla4xxx passes in its
target id number (in qla4xxx terms this is the ddb_entry->fw_ddb_index).

Patch was made over the current test git branch. Thanks for cleaning
that tree up last night Doug.

07-pass-target-nr.patch

Mike Christie

unread,
Jun 24, 2006, 10:14:30 PM6/24/06
to open-...@googlegroups.com

Oh yeah doug here are the patches attached and broken into a qla4xxx
part and class part for easier merging.

07-class-pass-target-nr.patch
08-ql-convert-to-pass-target-id.patch
Reply all
Reply to author
Forward
0 new messages