linux/drivers/scsi/mpt2sas
Kashyap, Desai 595bb0bd62 [SCSI] mpt2sas: Added SCSIIO, Internal and high priority memory pools to support multiple TM
1) create a pool of high priority message frames in the region of memory
between message frames and chains.  The modifications are in
_base_allocate_memory_pools.  Also create a seperate pool of memory for
internal commands located near the same region of memory.  The pool of high
priority message frames is restriced by the facts->HighPriorityCredit.

2) Create additional API for accessing request message frames. New function
mpt2sas_base_get_smid_hpr is for highpriority request. New function
mpt2sas_base_get_smid_scsiio for SCSI_IO, passing in the scsi command
pointer.  The mpt2sas_base_get_smid function is for requesting internal
commands.

3) Added new function _base_get_cb_idx to obtain the callback
index from one of the three pools of request message frames.

4) Removed wrapper functions _scsih_scsi_lookup_set and
_scsih_scsi_lookup_getclear. These were removed because this handling was
moved into mpt2sas_base_get_smid_scsiio and mpt2sas_base_free_smid.

5) The function mpt2sas_base_free_smid is modified so the request message
frames are put back on one of the three pools of request message frames.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-02 09:48:26 -05:00
..
mpi [SCSI] mpt2sas: Added mpi2_history.txt for MPI2 headers. 2009-10-02 09:48:03 -05:00
Kconfig [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: Added SCSIIO, Internal and high priority memory pools to support multiple TM 2009-10-02 09:48:26 -05:00
mpt2sas_base.h [SCSI] mpt2sas: Added SCSIIO, Internal and high priority memory pools to support multiple TM 2009-10-02 09:48:26 -05:00
mpt2sas_config.c [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Added SCSIIO, Internal and high priority memory pools to support multiple TM 2009-10-02 09:48:26 -05:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Added SCSIIO, Internal and high priority memory pools to support multiple TM 2009-10-02 09:48:26 -05:00
mpt2sas_transport.c [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00