History log of /drivers/scsi/be2iscsi/be_mgmt.c
Revision Date Author Comments
069adc7b0617348dd4c5cace1b35a90d6ddf1013 29-Apr-2011 Jayamohan Kallickal <jayamohan.kallickal@emulex.com> [SCSI] be2iscsi: fix chip cleanup

This patch fixes a bug where proper queue id's were not passed to
chip for cleanup.

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
255fa9a3cce3e344ff245cf3b4fbb738bd7e3f48 25-Mar-2011 Jayamohan Kallickal <jayamohan.kallickal@emulex.com> [SCSI] be2iscsi: change in copyright notice

- Modifying copyright year to 2011
- Replacing Serverengines with Emulex as Serverengines Corp
has been acquired by Emulex Corp

Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
b15d05b0d358cedf9c4d420a60d2ee2d0f530788 12-Aug-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fix for Login failure

The current code in tree has problems with Login.
This patch fixes the Login Failure .

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
[mnc: Can't believe I missed that.]
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
c7acc5b8f9a0e6cb17d313ebfbc5d392aa837ac7 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Add support for iscsi boot

This patch contains changes for adding support for iscsi_boot.
Have modified to make read of mac address from chip as a function.

The mac_address is being cached after teh first call as it is
not expected to change

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
3cbb7a74a76e45f5e410367259844e8266fba6ec 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fix for premature buffer free

This patch fixes a bug where the buffer was being freed as soon as
submission to HW is done.

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
5db3f33d687c5a4ba589bf3af98c786399c6e213 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Free tags allocated

This patch frees tags that are already allocated in case of
failure

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
03a1231009927b7168d6d86a7a7f6c7f9b4be85a 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fixing the return type of functions

Fixing some functions return values that did not match with
the possible return values

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
d3ad2bb31c26d7314fad98da8abb04f4fa24ed16 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fixing return values

This patch fixes the return values as per comment from Mike Christie

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
457ff3b7dc3796d8778286217ad304ff122e948f 22-Jul-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fix warnings from new checkpatch.pl

The latest checkpatch.pl throws some new warnings. Fixing it
to get rid of a bunch of warnings

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
e6b50c30fa8d46c9401c2d48eee2351bdbb4c51c 07-May-2010 Dan Carpenter <error27@gmail.com> [SCSI] be2iscsi: correct return value in mgmt_invalidate_icds()

This function should return 0 on error. Returning -1 would cause a
crash.

Also there is an extra space before the newline character and a missing
space between the "for" and the "mgmt_invalidate_icds". I put the string
on one line. The current version of checkpatch.pl complains that the
line is too long, but it makes grepping easier.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
4ec3fdbef17d0266826b56b33735dc9dada58c27 16-Mar-2010 Jiri Slaby <jslaby@suse.cz> [SCSI] be2iscsi: fix lock imbalance

Stanse found that one error path in mgmt_invalidate_icds omits to unlock
ctrl->mbox_lock. Fix that.

Added in 756d29c8c7ed8887ed7d752371ce2f (Enable async mode for mcc rings)
where the spinlock was moved.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
4183122dbc7c489f11971c5afa8e42011bca7fa2 20-Feb-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Cleanup of resets for device and target

This patch cleans up device and target reset handling
for the driver

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
f98c96b0b6572b5491e954148509b20f08f31491 11-Feb-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Adding support for BE3

This patch contains changes to support the BE3 chip

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
d2eeb1ac35a7146cbd4b1f6bf09bb6384ccdfb0d 23-Jan-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: changing copyright to 2010

This patch replaces 2009 with 2010 in copyright statement

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
a3babda5b3b60b5d28dbab127b1ecc8ba707b6e7 06-Jan-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Fix to allow driver to load when the FW allows more cids

This fix allows the driver to load when the FW allows more cids
than than the driver supports. The driver will limit the number of cid
to what it can support. There was no reason to fail the driver load,so,
correcting that

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
756d29c8c7ed8887ed7d752371ce2f6d12399267 05-Jan-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Enable async mode for mcc rings

This patches enables async mode for mcc rings so that
multiple requests can be queued.

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
7da5087971b1a187f92be4efb74a991ac9ccb0a3 05-Jan-2010 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Use start cid and number of cid and icd from FW

This patch enablesi be2iscsi to use the start number and number
of cids/icd provided by FW rather than hard coded values.

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
bfead3b2cb4607c71831423c3ee97d22cd0c9dcb 23-Oct-2009 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: Adding msix and mcc_rings V3

This patch enables msix for be2iscsi. It also enables use
of mcc_rings for fw commands. Since the mcc eq creation is
dependent on msix I am sending as one patch

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
6733b39a1301b0b020bbcbf3295852e93e624cb1 05-Sep-2009 Jayamohan Kallickal <jayamohank@serverengines.com> [SCSI] be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver

[v2: fixed up virt_to_bus() issue spotted by sfr]
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>