Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
qp_info Struct Reference

#include <bnx2i.h>

Data Fields

void __iomemctx_base
 
struct sqesq_virt
 
dma_addr_t sq_phys
 
u32 sq_mem_size
 
struct sqesq_prod_qe
 
struct sqesq_cons_qe
 
struct sqesq_first_qe
 
struct sqesq_last_qe
 
u16 sq_prod_idx
 
u16 sq_cons_idx
 
u32 sqe_left
 
voidsq_pgtbl_virt
 
dma_addr_t sq_pgtbl_phys
 
u32 sq_pgtbl_size
 
struct cqecq_virt
 
dma_addr_t cq_phys
 
u32 cq_mem_size
 
struct cqecq_prod_qe
 
struct cqecq_cons_qe
 
struct cqecq_first_qe
 
struct cqecq_last_qe
 
u16 cq_prod_idx
 
u16 cq_cons_idx
 
u32 cqe_left
 
u32 cqe_size
 
u32 cqe_exp_seq_sn
 
voidcq_pgtbl_virt
 
dma_addr_t cq_pgtbl_phys
 
u32 cq_pgtbl_size
 
struct rqerq_virt
 
dma_addr_t rq_phys
 
u32 rq_mem_size
 
struct rqerq_prod_qe
 
struct rqerq_cons_qe
 
struct rqerq_first_qe
 
struct rqerq_last_qe
 
u16 rq_prod_idx
 
u16 rq_cons_idx
 
u32 rqe_left
 
voidrq_pgtbl_virt
 
dma_addr_t rq_pgtbl_phys
 
u32 rq_pgtbl_size
 

Detailed Description

struct qp_info - QP (share queue region) atrributes structure

: ioremapped pci register base to access doorbell register pertaining to this offloaded connection : virtual address of send queue (SQ) region : DMA address of SQ memory region : SQ size : SQ producer entry pointer : SQ consumer entry pointer : virtaul address of first entry in SQ : virtaul address of last entry in SQ : SQ producer index : SQ consumer index : number sq entry left : page table describing buffer consituting SQ region : dma address of 'sq_pgtbl_virt' : SQ page table size : virtual address of completion queue (CQ) region : DMA address of RQ memory region : CQ size : CQ producer entry pointer : CQ consumer entry pointer : virtaul address of first entry in CQ : virtaul address of last entry in CQ : CQ producer index : CQ consumer index : number cq entry left : size of each CQ entry : next expected CQE sequence number : page table describing buffer consituting CQ region : dma address of 'cq_pgtbl_virt' : CQ page table size : virtual address of receive queue (RQ) region : DMA address of RQ memory region : RQ size : RQ producer entry pointer : RQ consumer entry pointer : virtaul address of first entry in RQ : virtaul address of last entry in RQ : RQ producer index : RQ consumer index : number rq entry left : page table describing buffer consituting RQ region : dma address of 'rq_pgtbl_virt' : RQ page table size

queue pair (QP) is a per connection shared data structure which is used to send work requests (SQ), receive completion notifications (CQ) and receive asynchoronous / scsi sense info (RQ). 'qp_info' structure below holds queue memory, consumer/producer indexes and page table information

Definition at line 626 of file bnx2i.h.

Field Documentation

u16 cq_cons_idx

Definition at line 657 of file bnx2i.h.

struct cqe* cq_cons_qe

Definition at line 653 of file bnx2i.h.

struct cqe* cq_first_qe

Definition at line 654 of file bnx2i.h.

struct cqe* cq_last_qe

Definition at line 655 of file bnx2i.h.

u32 cq_mem_size

Definition at line 650 of file bnx2i.h.

dma_addr_t cq_pgtbl_phys

Definition at line 663 of file bnx2i.h.

u32 cq_pgtbl_size

Definition at line 664 of file bnx2i.h.

void* cq_pgtbl_virt

Definition at line 662 of file bnx2i.h.

dma_addr_t cq_phys

Definition at line 649 of file bnx2i.h.

u16 cq_prod_idx

Definition at line 656 of file bnx2i.h.

struct cqe* cq_prod_qe

Definition at line 652 of file bnx2i.h.

struct cqe* cq_virt

Definition at line 648 of file bnx2i.h.

u32 cqe_exp_seq_sn

Definition at line 660 of file bnx2i.h.

u32 cqe_left

Definition at line 658 of file bnx2i.h.

u32 cqe_size

Definition at line 659 of file bnx2i.h.

void __iomem* ctx_base

Definition at line 627 of file bnx2i.h.

u16 rq_cons_idx

Definition at line 675 of file bnx2i.h.

struct rqe* rq_cons_qe

Definition at line 671 of file bnx2i.h.

struct rqe* rq_first_qe

Definition at line 672 of file bnx2i.h.

struct rqe* rq_last_qe

Definition at line 673 of file bnx2i.h.

u32 rq_mem_size

Definition at line 668 of file bnx2i.h.

dma_addr_t rq_pgtbl_phys

Definition at line 679 of file bnx2i.h.

u32 rq_pgtbl_size

Definition at line 680 of file bnx2i.h.

void* rq_pgtbl_virt

Definition at line 678 of file bnx2i.h.

dma_addr_t rq_phys

Definition at line 667 of file bnx2i.h.

u16 rq_prod_idx

Definition at line 674 of file bnx2i.h.

struct rqe* rq_prod_qe

Definition at line 670 of file bnx2i.h.

struct rqe* rq_virt

Definition at line 666 of file bnx2i.h.

u32 rqe_left

Definition at line 676 of file bnx2i.h.

u16 sq_cons_idx

Definition at line 641 of file bnx2i.h.

struct sqe* sq_cons_qe

Definition at line 637 of file bnx2i.h.

struct sqe* sq_first_qe

Definition at line 638 of file bnx2i.h.

struct sqe* sq_last_qe

Definition at line 639 of file bnx2i.h.

u32 sq_mem_size

Definition at line 634 of file bnx2i.h.

dma_addr_t sq_pgtbl_phys

Definition at line 645 of file bnx2i.h.

u32 sq_pgtbl_size

Definition at line 646 of file bnx2i.h.

void* sq_pgtbl_virt

Definition at line 644 of file bnx2i.h.

dma_addr_t sq_phys

Definition at line 633 of file bnx2i.h.

u16 sq_prod_idx

Definition at line 640 of file bnx2i.h.

struct sqe* sq_prod_qe

Definition at line 636 of file bnx2i.h.

struct sqe* sq_virt

Definition at line 632 of file bnx2i.h.

u32 sqe_left

Definition at line 642 of file bnx2i.h.


The documentation for this struct was generated from the following file: