]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Cache swl during fabric discovery.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Tue, 10 Apr 2012 11:52:14 +0000 (17:22 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:58 +0000 (17:40 -0700)
commitd00fc586cffc7cdd74c4f49871d9023cd1aa15a4
tree8eab473c979e9545cb75b821af8fa450e4d3b75d
parent5e17f04715397e82f63f375b64b7f60ec898e121
qla2xxx: Cache swl during fabric discovery.

Rather than continuously allocating and freeing swl within the discovery
process, simply pre-allocate it the first time that it's needed, cache it
through the rest of the lifecycle of the driver and free it at module unload.

JIRA Key: V2632FC-124

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_os.c