<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/scsi/be2iscsi, branch v3.10.42</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>[SCSI] be2iscsi: Bump the driver version to 10.0.467.0</title>
<updated>2013-05-02T15:22:19+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=96e58ce0f64a9d34a4bbeb7916884f327baa5ff1'/>
<id>96e58ce0f64a9d34a4bbeb7916884f327baa5ff1</id>
<content type='text'>
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix issue in passing the exp_cmdsn and max_cmdsn</title>
<updated>2013-05-02T15:21:19+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=702dc5e868926056349e12a41bd70a4a4eb94940'/>
<id>702dc5e868926056349e12a41bd70a4a4eb94940</id>
<content type='text'>
Command Window value from the CQE was used to calculate the
max_cmdsn for that session.The command window value extracted
for SKH-R adapter was not proper. The value was extracted from
BE adapter completion event. Fixed the issue by getting the
cmd_wnd value from SKH-R CQE.

The exp_cmdsn and max_cmdsn values were not converted to BE format
before calling the __iscsi_complete_pdu(). Fixed the issue of converting
to BE format.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Command Window value from the CQE was used to calculate the
max_cmdsn for that session.The command window value extracted
for SKH-R adapter was not proper. The value was extracted from
BE adapter completion event. Fixed the issue by getting the
cmd_wnd value from SKH-R CQE.

The exp_cmdsn and max_cmdsn values were not converted to BE format
before calling the __iscsi_complete_pdu(). Fixed the issue of converting
to BE format.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix possible reentrancy issue in be_iopoll</title>
<updated>2013-05-02T15:17:54+00:00</updated>
<author>
<name>Shlomo Pongratz</name>
<email>shlomop@mellanox.com</email>
</author>
<published>2013-04-06T03:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ad3f428e0fbab1f306cbc22340e9f7672a49147f'/>
<id>ad3f428e0fbab1f306cbc22340e9f7672a49147f</id>
<content type='text'>
The driver creates "NAPI" context per core which is fine,
however the above routine declares the ret variable as static!
Thus there is only one instance of this variable!
When this routine is called from more than one thread of execution,
than the result is unpredictable.

         static unsigned int ret;
         .....

         ret = beiscsi_process_cq(pbe_eq);
                 &lt;--------Another thread can enter here and change "ret".
         if (ret &lt; budget) {
                ....
         }
                 &lt;--------Another thread can enter here and change "ret".
         return ret;

Fix - remove the "static"

Signed-off-by: Shlomo Pongratz &lt;shlomop@mellanox.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The driver creates "NAPI" context per core which is fine,
however the above routine declares the ret variable as static!
Thus there is only one instance of this variable!
When this routine is called from more than one thread of execution,
than the result is unpredictable.

         static unsigned int ret;
         .....

         ret = beiscsi_process_cq(pbe_eq);
                 &lt;--------Another thread can enter here and change "ret".
         if (ret &lt; budget) {
                ....
         }
                 &lt;--------Another thread can enter here and change "ret".
         return ret;

Fix - remove the "static"

Signed-off-by: Shlomo Pongratz &lt;shlomop@mellanox.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2scsi: Update copyright dates to 2013</title>
<updated>2013-05-02T15:16:45+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=533c165fa81d2c5f36adf41a07efeef0e4822300'/>
<id>533c165fa81d2c5f36adf41a07efeef0e4822300</id>
<content type='text'>
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix checking Adapter state while establishing CXN</title>
<updated>2013-05-02T15:15:54+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cf6e3c6444edfeaea65994709e5cdf3f337625d4'/>
<id>cf6e3c6444edfeaea65994709e5cdf3f337625d4</id>
<content type='text'>
Before tyring to establish a CXN with the target, check if the adapter is in
a stable state

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before tyring to establish a CXN with the target, check if the adapter is in
a stable state

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix dynamic CID allocation Mechanism in driver</title>
<updated>2013-05-02T15:15:03+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a7909b396ba79a5d2975d37fe60e1ad53c22e206'/>
<id>a7909b396ba79a5d2975d37fe60e1ad53c22e206</id>
<content type='text'>
Number of CID assigned to a function from adapter can be dynamic. The CID count
for each function was fixed number before. Code Fix done so that adapters with
fixed/dynamic CID count will work with the driver.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Number of CID assigned to a function from adapter can be dynamic. The CID count
for each function was fixed number before. Code Fix done so that adapters with
fixed/dynamic CID count will work with the driver.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi : Fix the NOP-In handling code path</title>
<updated>2013-05-02T15:14:07+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4a4a11b98a39f479cdccef879635a72b0422049b'/>
<id>4a4a11b98a39f479cdccef879635a72b0422049b</id>
<content type='text'>
When target send a NOP-IN with valid TTT, driver issues a NOP-OUT
and the task was not freed from driver. The task list available for
the session used to run out, and as no more task list were available
no more iSCSI commands were exchanged on that session.
This patches fixed the issue, by calling iscsi_put_task.

Signed-off-by: Minh Tran &lt;minhduc.tran@emulex.com&gt;
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When target send a NOP-IN with valid TTT, driver issues a NOP-OUT
and the task was not freed from driver. The task list available for
the session used to run out, and as no more task list were available
no more iSCSI commands were exchanged on that session.
This patches fixed the issue, by calling iscsi_put_task.

Signed-off-by: Minh Tran &lt;minhduc.tran@emulex.com&gt;
Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix the Port Link Status issue</title>
<updated>2013-05-02T15:13:21+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6ea9b3b0337d55c901cea38e2d85103e2268d757'/>
<id>6ea9b3b0337d55c901cea38e2d85103e2268d757</id>
<content type='text'>
Check the Logical Link status also as part of the port link status.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check the Logical Link status also as part of the port link status.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix displaying the Active Session Count from driver</title>
<updated>2013-05-02T15:11:45+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7ad4dfe187a4ce1eabe7e0c6364e4561dc930564'/>
<id>7ad4dfe187a4ce1eabe7e0c6364e4561dc930564</id>
<content type='text'>
This patch fixes the displaying of number of active
sessions in use.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the displaying of number of active
sessions in use.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[SCSI] be2iscsi: Fix displaying the FW Version from driver.</title>
<updated>2013-05-02T15:10:11+00:00</updated>
<author>
<name>Jayamohan Kallickal</name>
<email>jayamohank@gmail.com</email>
</author>
<published>2013-04-06T03:38:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=22661e25cca8bb780f79756e7a7e201b478f8c14'/>
<id>22661e25cca8bb780f79756e7a7e201b478f8c14</id>
<content type='text'>
The mgmt_hba_attributes structure declared was not proper and
because of that the FW response returned for the MBX_CMD was not
matching. This issue went unnoticed as mgmt_hba_attribs structure
members were never used in the code path.

This fix of displaying the FW version had to change the mgmt_hba_attrib
structure also. The latest driver will also work with the older FW as
the issue was in the driver declaration.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mgmt_hba_attributes structure declared was not proper and
because of that the FW response returned for the MBX_CMD was not
matching. This issue went unnoticed as mgmt_hba_attribs structure
members were never used in the code path.

This fix of displaying the FW version had to change the mgmt_hba_attrib
structure also. The latest driver will also work with the older FW as
the issue was in the driver declaration.

Signed-off-by: John Soni Jose &lt;sony.john-n@emulex.com&gt;
Signed-off-by: Jayamohan Kallickal &lt;jayamohan.kallickal@emulex.com&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
