1
0

scsi: qla2xxx: Add function call to qpair for door bell

Add call back to door bell for qpair. This help reduce access to
qla_hw_data structure, in order to reduce cach thrash.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Quinn Tran
2017-06-13 20:47:24 -07:00
committed by Martin K. Petersen
parent af7bb3826a
commit 8abfa9e226
6 changed files with 94 additions and 35 deletions

View File

@@ -3272,6 +3272,9 @@ struct qla_qpair {
uint16_t vp_idx; /* vport ID */
mempool_t *srb_mempool;
struct pci_dev *pdev;
void (*reqq_start_iocbs)(struct qla_qpair *);
/* to do: New driver: move queues to here instead of pointers */
struct req_que *req;
struct rsp_que *rsp;