diff options
author | James Smart <jsmart2021@gmail.com> | 2019-03-12 16:30:28 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-19 13:15:09 -0400 |
commit | 9afbee3d62a40532441d0de36ef3eaa38661a7bf (patch) | |
tree | d4642e2ab57bcfc5702fcf862b4db997bd1231dd /lib/Kconfig.debug | |
parent | 9a66d990c7429d61c1cdc6feb22e559da587a0db (diff) | |
download | linux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.tar.gz linux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.tar.bz2 linux-9afbee3d62a40532441d0de36ef3eaa38661a7bf.zip |
scsi: lpfc: Reduce memory footprint for lpfc_queue
Currently the driver maintains a sideband structure which has a pointer for
each queue element. However, at 8 bytes per pointer, and up to 4k elements
per queue, and 100s of queues, this can take up a lot of memory.
Convert the driver to using an access routine that calculates the element
address based on its index rather than using the pointer table.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions