/* List to maintain the skb pointers */ struct skb_work_list { struct list_head list; struct sk_buff *skb;
u16 vlan_id;
};
/* Queue sizes in number of elements */ #define QEDI_SQ_SIZE MAX_OUTSTANDING_TASKS_PER_CON #define QEDI_CQ_SIZE 2048 #define QEDI_CMDQ_SIZE QEDI_MAX_ISCSI_TASK #define QEDI_PROTO_CQ_PROD_IDX 0
/* Used to pass fastpath information needed to process CQEs */ struct qedi_io_work { struct list_head list; struct iscsi_cqe_solicited cqe;
u16 que_idx;
};
/** * struct iscsi_cid_queue - Per adapter iscsi cid queue * * @cid_que_base: queue base memory * @cid_que: queue memory pointer * @cid_q_prod_idx: produce index * @cid_q_cons_idx: consumer index * @cid_q_max_idx: max index. used to detect wrap around condition * @cid_free_cnt: queue size * @conn_cid_tbl: iscsi cid to conn structure mapping table * * Per adapter iSCSI CID Queue
*/ struct iscsi_cid_queue { void *cid_que_base;
u32 *cid_que;
u32 cid_q_prod_idx;
u32 cid_q_cons_idx;
u32 cid_q_max_idx;
u32 cid_free_cnt; struct qedi_conn **conn_cid_tbl;
};
struct qedi_portid_tbl {
spinlock_t lock; /* Port id lock */
u16 start;
u16 max;
u16 next; unsignedlong *table;
};
/* I/O tracing entry */ #define QEDI_IO_TRACE_SIZE 2048 struct qedi_io_log { #define QEDI_IO_TRACE_REQ 0 #define QEDI_IO_TRACE_RSP 1
u8 direction;
u16 task_id;
u32 cid;
u32 port_id; /* Remote port fabric ID */ int lun;
u8 op; /* SCSI CDB */
u8 lba[4]; unsignedint bufflen; /* SCSI buffer length */ unsignedint sg_count; /* Number of SG elements */
u8 fast_sgs; /* number of fast sgls */
u8 slow_sgs; /* number of slow sgls */
u8 cached_sgs; /* number of cached sgls */ int result; /* Result passed back to mid-layer */ unsignedlong jiffies; /* Time stamp when I/O logged */ int refcount; /* Reference count for task id */ unsignedint blk_req_cpu; /* CPU that the task is queued on by * blk layer
*/ unsignedint req_cpu; /* CPU that the task is queued on */ unsignedint intr_cpu; /* Interrupt CPU that the task is received on */ unsignedint blk_rsp_cpu;/* CPU that task is actually processed and * returned to blk layer
*/ bool cached_sge; bool slow_sge; bool fast_sge;
};
/* Number of entries in BDQ */ #define QEDI_BDQ_NUM 256 #define QEDI_BDQ_BUF_SIZE 256
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.