[SCSI] libiscsi: check of LLD has a alloc pdu callout.
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 13 May 2009 22:57:39 +0000 (17:57 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:09 +0000 (15:44 -0500)
commit184b57c630c86d35b7f92d4b6545fdf07647c5d5
treed6e46048015ccfefec0f47662d2202e5dc26d6fb
parent10eb0f013c63c71c82ede77945a5f390c10cfda6
[SCSI] libiscsi: check of LLD has a alloc pdu callout.

bnx2i does not have one. It currently preallocates the bdt
when the session is setup.

We probably want to change that to a dma pool, then allocate from
the pool in the alloc pdu. Until then check if there is a alloc
pdu callout.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c