Lines Matching defs:cntxt_id

1208 		    sc->sge.rxq[iqidx].iq.cntxt_id, name);
1224 sc->sge.ofld_rxq[iqidx].iq.cntxt_id, name);
1512 V_INGRESSQID(iq->cntxt_id) |
1538 V_INGRESSQID((u32)iq->cntxt_id) | V_SEINTARM(iq->intr_params));
1584 V_INGRESSQID((u32)iq->cntxt_id) |
1665 V_INGRESSQID(iq->cntxt_id) |
1706 V_INGRESSQID((u32)iq->cntxt_id) | V_SEINTARM(iq->intr_params));
2798 int rc, i, cntxt_id;
2827 v |= V_FW_IQ_CMD_IQANDSTINDEX(sc->sge.fwq.cntxt_id);
2906 iq->cntxt_id = be16toh(c.iqid);
2910 cntxt_id = iq->cntxt_id - sc->sge.iq_start;
2911 if (cntxt_id >= sc->sge.niq) {
2912 panic ("%s: iq->cntxt_id (%d) more than the max (%d)", __func__,
2913 cntxt_id, sc->sge.niq - 1);
2915 sc->sge.iqmap[cntxt_id] = iq;
2921 fl->cntxt_id = be16toh(c.fl0id);
2924 cntxt_id = fl->cntxt_id - sc->sge.eq_start;
2925 if (cntxt_id >= sc->sge.neq) {
2926 panic("%s: fl->cntxt_id (%d) more than the max (%d)",
2927 __func__, cntxt_id, sc->sge.neq - 1);
2929 sc->sge.eqmap[cntxt_id] = (void *)fl;
2931 qid = fl->cntxt_id;
2959 V_FW_PARAMS_PARAM_YZ(iq->cntxt_id);
2975 "ingress queue %d: %d\n", iq->cntxt_id, rc);
2982 V_INGRESSQID(iq->cntxt_id));
3001 FW_IQ_TYPE_FL_INT_CAP, iq->cntxt_id,
3002 fl ? fl->cntxt_id : 0xffff, 0xffff);
3044 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "cntxt_id",
3045 CTLTYPE_INT | CTLFLAG_RD, &iq->cntxt_id, 0, sysctl_uint16, "I",
3067 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "cntxt_id",
3068 CTLTYPE_INT | CTLFLAG_RD, &fl->cntxt_id, 0, sysctl_uint16, "I",
3138 sc->sge.fwq.cntxt_id, name);
3176 sc->sge.iq_base = rxq->iq.abs_id - rxq->iq.cntxt_id;
3178 KASSERT(rxq->iq.cntxt_id + sc->sge.iq_base == rxq->iq.abs_id,
3331 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "cntxt_id",
3343 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "cntxt_id",
3399 SYSCTL_ADD_UINT(&vi->ctx, children, OID_AUTO, "cntxt_id", CTLFLAG_RD,
3400 &nm_txq->cntxt_id, 0, "SGE context id of the queue");
3443 int rc, cntxt_id;
3476 eq->cntxt_id = G_FW_EQ_CTRL_CMD_EQID(be32toh(c.cmpliqid_eqid));
3477 cntxt_id = eq->cntxt_id - sc->sge.eq_start;
3478 if (cntxt_id >= sc->sge.neq)
3479 panic("%s: eq->cntxt_id (%d) more than the max (%d)", __func__,
3480 cntxt_id, sc->sge.neq - 1);
3481 sc->sge.eqmap[cntxt_id] = eq;
3489 int rc, cntxt_id;
3521 eq->cntxt_id = G_FW_EQ_ETH_CMD_EQID(be32toh(c.eqid_pkd));
3523 cntxt_id = eq->cntxt_id - sc->sge.eq_start;
3524 if (cntxt_id >= sc->sge.neq)
3525 panic("%s: eq->cntxt_id (%d) more than the max (%d)", __func__,
3526 cntxt_id, sc->sge.neq - 1);
3527 sc->sge.eqmap[cntxt_id] = eq;
3536 int rc, cntxt_id;
3567 eq->cntxt_id = G_FW_EQ_OFLD_CMD_EQID(be32toh(c.eqid_pkd));
3568 cntxt_id = eq->cntxt_id - sc->sge.eq_start;
3569 if (cntxt_id >= sc->sge.neq)
3570 panic("%s: eq->cntxt_id (%d) more than the max (%d)", __func__,
3571 cntxt_id, sc->sge.neq - 1);
3572 sc->sge.eqmap[cntxt_id] = eq;
3631 udb += (eq->cntxt_id >> s_qpp) << PAGE_SHIFT; /* pg offset */
3632 eq->udb_qid = eq->cntxt_id & mask; /* id in page */
3654 eq->cntxt_id);
3659 eq->cntxt_id);
3665 eq->cntxt_id);
3715 SYSCTL_ADD_UINT(ctx, children, OID_AUTO, "cntxt_id", CTLFLAG_RD,
3716 &wrq->eq.cntxt_id, 0, "SGE context id of the queue");
3776 sc->sge.eq_base = eq->abs_id - eq->cntxt_id;
3778 KASSERT(eq->cntxt_id + sc->sge.eq_base == eq->abs_id,
3809 SYSCTL_ADD_UINT(&vi->ctx, children, OID_AUTO, "cntxt_id", CTLFLAG_RD,
3810 &eq->cntxt_id, 0, "SGE context id of the queue");
4853 V_QID(eq->cntxt_id) | V_PIDX(n));