James Smart 6c621a2229 scsi: lpfc: Separate NVMET RQ buffer posting from IO resources SGL/iocbq/context
Currently IO resources are mapped 1 to 1 with RQ buffers posted

Added logic to separate RQE buffers from IO op resources
(sgl/iocbq/context). During initialization, the driver will determine
how many SGLs it will allocate for NVMET (based on what the firmware
reports) and associate a NVMET IOCBq and NVMET context structure with
each one.

Now that hdr/data buffers are immediately reposted back to the RQ, 512
RQEs for each MRQ is sufficient. Also, since NVMET data buffers are now
128 bytes, lpfc_nvmet_mrq_post is not necessary anymore as we will
always post the max (512) buffers per NVMET MRQ.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-05-16 21:21:47 -04:00
..
2017-05-04 12:19:44 -07:00
2017-05-08 22:09:21 -04:00
2017-05-04 12:19:44 -07:00
2017-02-08 10:51:24 -08:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 19:15:35 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2017-05-04 12:19:44 -07:00
2017-03-15 13:37:10 -04:00
2016-02-25 21:10:53 -05:00
2017-05-04 12:19:44 -07:00
2017-03-23 12:04:05 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-04-26 15:09:04 -06:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:35 +02:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2017-05-04 12:19:44 -07:00
2017-04-13 13:58:20 -04:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-04 12:19:44 -07:00
2017-05-11 23:14:36 -04:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2017-04-07 17:07:14 -04:00
2014-11-12 11:15:57 +01:00
2015-11-18 11:59:09 -05:00
2017-04-26 18:32:29 -04:00
2017-05-04 12:19:44 -07:00
2017-02-21 11:51:42 -08:00
2013-04-09 14:13:15 -04:00
2017-03-15 19:27:46 -04:00