sge_iq
STAILQ_ENTRY(sge_iq) link;
struct sge_iq iq; /* MUST be first */
struct sge_iq fwq; /* Firmware event queue */
struct sge_iq **iqmap; /* iq->cntxt_id to iq mapping */
iq_to_rxq(struct sge_iq *iq)
void t4_iq_gts_update(struct sge_iq *, t4_intr_config_t, uint16_t);
void t4_iq_update_intr_cfg(struct sge_iq *, uint8_t, int8_t);
struct sge_iq *fwq = &sc->sge.fwq;
struct sge_iq *fwq = &sc->sge.fwq;
struct sge_iq *iq = &rxq->iq;
struct sge_iq *iq = &rxq->iq;
struct sge_iq *iq;
struct sge_iq *iq = &rxq->iq;
kmem_zalloc(s->iqmap_sz * sizeof (struct sge_iq *), KM_SLEEP);
kmem_free(s->iqmap, s->iqmap_sz * sizeof (struct sge_iq *));
init_iq(struct sge_iq *iq, struct adapter *sc, int tmr_idx, int8_t pktc_idx,
alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl,
static inline bool is_new_response(const struct sge_iq *iq,
static inline void iq_next(struct sge_iq *iq);
free_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl)
struct sge_iq *fwq = &sc->sge.fwq;
static int t4_eth_rx(struct sge_iq *iq, const struct rss_header *rss,
static void t4_sge_egr_update(struct sge_iq *, const struct rss_header *);
static int t4_handle_cpl_msg(struct sge_iq *, const struct rss_header *,
static int t4_handle_fw_msg(struct sge_iq *, const struct rss_header *);
static inline struct sge_iq **
is_new_response(const struct sge_iq *iq, struct rsp_ctrl **ctrl)
iq_next(struct sge_iq *iq)
t4_handle_cpl_msg(struct sge_iq *iq, const struct rss_header *rss, mblk_t *mp)
DTRACE_PROBE4(t4__cpl_msg, struct sge_iq *, iq, uint8_t, opcode,
t4_handle_fw_msg(struct sge_iq *iq, const struct rss_header *rss)
DTRACE_PROBE3(t4__fw_msg, struct sge_iq *, iq, uint8_t, msg_type,
t4_eth_rx(struct sge_iq *iq, const struct rss_header *rss, mblk_t *m)
t4_sge_egr_update(struct sge_iq *iq, const struct rss_header *rss)
static struct sge_iq *
struct sge_iq *iq = NULL;
t4_iq_update_intr_cfg(struct sge_iq *iq, uint8_t tmr_idx, int8_t pktc_idx)
t4_iq_gts_update(struct sge_iq *iq, t4_intr_config_t cfg, uint16_t cidx_incr)
t4_iq_gts_incr(struct sge_iq *iq, uint16_t cidx_incr)
t4_intr_rx_work(struct sge_iq *iq)
struct sge_iq *iq = (struct sge_iq *)arg2;
struct sge_iq *iq = &rxq->iq;
service_iq(struct sge_iq *iq, int budget)
struct sge_iq *q;
STAILQ_HEAD(, sge_iq) iql = STAILQ_HEAD_INITIALIZER(iql);
static int service_iq(struct sge_iq *iq, int budget);
static inline void init_iq(struct sge_iq *iq, struct adapter *sc, int tmr_idx,
static int alloc_iq_fl(struct port_info *pi, struct sge_iq *iq,
static int free_iq_fl(struct port_info *pi, struct sge_iq *iq,