Lines Matching +full:bd +full:- +full:address

3  * Copyright (c) 2006 - 2013 Broadcom Corporation
14 * Maintained by: QLogic-Storage-Upstream@qlogic.com
60 #define ISCSI_MAX_CMDS_PER_HBA_5708 (28 * (ISCSI_MAX_CMDS_PER_SESS - 1))
61 #define ISCSI_MAX_CMDS_PER_HBA_5709 (128 * (ISCSI_MAX_CMDS_PER_SESS - 1))
62 #define ISCSI_MAX_CMDS_PER_HBA_57710 (256 * (ISCSI_MAX_CMDS_PER_SESS - 1))
71 /* 5706/08 hardware has limit on maximum buffer size per BD it can handle */
129 readl(__hba->regview + offset)
131 writel(val, __hba->regview + offset)
136 spin_lock_bh(&__hba->stat_lock); \
137 dst->field##_lo = __hba->stats.field##_lo; \
138 dst->field##_hi = __hba->stats.field##_hi; \
139 spin_unlock_bh(&__hba->stat_lock); \
144 if (spin_trylock(&__hba->stat_lock)) { \
145 if (__hba->stats.field##_lo + len < \
146 __hba->stats.field##_lo) \
147 __hba->stats.field##_hi++; \
148 __hba->stats.field##_lo += len; \
149 spin_unlock(&__hba->stat_lock); \
158 val = __hba->bnx2i_stats.field; \
159 out = (u64 *)&__hba->stats.field##_lo; \
161 out = (u64 *)&dst->field##_lo; \
167 __hba->bnx2i_stats.field += len; \
172 * struct generic_pdu_resc - login pdu resource structure
176 * @req_dma_addr: dma address for iscsi login request payload buffer
183 * @resp_dma_addr: login response payload buffer dma address
187 * @req_bd_tbl: iscsi login request payload BD table
188 * @req_bd_dma: login request BD table dma address
189 * @resp_bd_tbl: iscsi login response payload BD table
190 * @resp_bd_dma: login request BD table dma address
213 * struct bd_resc_page - tracks DMA'able memory allocated for BD tables
220 * structure to track DMA'able memory allocated for command BD tables
231 * struct io_bdt - I/O buffer destricptor table
233 * @bd_tbl: BD table's virtual address
234 * @bd_tbl_dma: BD table's dma address
235 * @bd_valid: num valid BD entries
237 * IO BD table
247 * bnx2i_cmd - iscsi command structure
251 * @scsi_cmd: SCSI-ML task pointer corresponding to this iscsi cmd
253 * @io_tbl: buffer descriptor (BD) table
254 * @bd_tbl_dma: buffer descriptor (BD) table's dma address
269 * struct bnx2i_conn - iscsi connection structure
310 * struct iscsi_cid_queue - Per adapter iscsi cid queue
342 * struct bnx2i_hba - bnx2i adapter structure
368 * @mp_bd_tbl: BD table to be used with middle path requests
369 * @mp_bd_dma: DMA address of 'mp_bd_tbl' memory buffer
371 * @dummy_buf_dma: DMA address of 'dummy_buffer' memory buffer
387 * @ipaddr_changed_count: statistic counter, num times IP address changed while
447 * BD table to be used with MP (Middle Path requests.
576 * struct qp_info - QP (share queue region) atrributes structure
580 * @sq_virt: virtual address of send queue (SQ) region
581 * @sq_phys: DMA address of SQ memory region
585 * @sq_first_qe: virtual address of first entry in SQ
586 * @sq_last_qe: virtual address of last entry in SQ
591 * @sq_pgtbl_phys: dma address of 'sq_pgtbl_virt'
593 * @cq_virt: virtual address of completion queue (CQ) region
594 * @cq_phys: DMA address of RQ memory region
598 * @cq_first_qe: virtual address of first entry in CQ
599 * @cq_last_qe: virtual address of last entry in CQ
606 * @cq_pgtbl_phys: dma address of 'cq_pgtbl_virt'
608 * @rq_virt: virtual address of receive queue (RQ) region
609 * @rq_phys: DMA address of RQ memory region
613 * @rq_first_qe: virtual address of first entry in RQ
614 * @rq_last_qe: virtual address of last entry in RQ
619 * @rq_pgtbl_phys: dma address of 'rq_pgtbl_virt'
726 * struct bnx2i_endpoint - representation of tcp connection in NX2 world
746 * Endpoint Structure - equivalent of tcp socket structure