Lines Matching defs:sge_eq
468 struct sge_eq { struct
469 unsigned int flags; /* MUST be first */
470 unsigned int cntxt_id; /* SGE context id for the eq */
471 unsigned int abs_id; /* absolute SGE id for the eq */
472 uint8_t type; /* EQ_CTRL/EQ_ETH/EQ_OFLD */
473 uint8_t doorbells;
474 uint8_t port_id; /* port_id of the port associated with the eq */
475 uint8_t tx_chan; /* tx channel used by the eq */
476 struct mtx eq_lock;
478 struct tx_desc *desc; /* KVA of descriptor ring */
479 volatile uint32_t *udb; /* KVA of doorbell (lies within BAR2) */
480 u_int udb_qid; /* relative qid within the doorbell page */
481 uint16_t sidx; /* index of the entry with the status page */
482 uint16_t cidx; /* consumer idx (desc idx) */
483 uint16_t pidx; /* producer idx (desc idx) */
484 uint16_t equeqidx; /* EQUEQ last requested at this pidx */
485 uint16_t dbidx; /* pidx of the most recent doorbell */
486 uint16_t iqid; /* cached iq->cntxt_id (see iq below) */
487 volatile u_int equiq; /* EQUIQ outstanding */
488 struct sge_iq *iq; /* iq that receives egr_update for the eq */
490 bus_dma_tag_t desc_tag;
491 bus_dmamap_t desc_map;
492 bus_addr_t ba; /* bus address of descriptor ring */
493 char lockname[16];