Searched refs:ofld_rxq (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 91 static int alloc_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq, 93 static int free_ofld_rxq(struct port_info *pi, struct sge_ofld_rxq *ofld_rxq); 399 iq = &s->ofld_rxq[pi->first_ofld_rxq + idx].iq; in port_intr_iq() 409 iq = &s->ofld_rxq[pi->first_ofld_rxq + idx].iq; in port_intr_iq() 433 struct sge_ofld_rxq *ofld_rxq; in t4_setup_port_queues() local 475 for_each_ofld_rxq(pi, i, ofld_rxq) { in t4_setup_port_queues() 477 init_iq(&ofld_rxq->iq, sc, pi->tmr_idx, pi->pktc_idx, in t4_setup_port_queues() 480 init_fl(&ofld_rxq->fl, p->qsize_rxq / 8); in t4_setup_port_queues() 484 ofld_rxq->iq.flags = IQ_INTR; in t4_setup_port_queues() 485 rc = alloc_ofld_rxq(pi, ofld_rxq, intr_idx); in t4_setup_port_queues() [all …]
|
H A D | adapter.h | 383 struct sge_ofld_rxq *ofld_rxq; /* TOE rx queues */ member 558 #define for_each_ofld_rxq(pi, iter, ofld_rxq) \ argument 559 ofld_rxq = &pi->adapter->sge.ofld_rxq[pi->first_ofld_rxq]; \ 560 for (iter = 0; iter < pi->nofldrxq; ++iter, ++ofld_rxq)
|
H A D | t4_nexus.c | 497 s->ofld_rxq = kmem_zalloc(s->nofldrxq * in t4_devo_attach() 608 struct sge_ofld_rxq *ofld_rxq; in t4_devo_attach() local 635 ofld_rxq = &s->ofld_rxq[pi->first_ofld_rxq]; in t4_devo_attach() 636 for (q = 0; q < pi->nofldrxq; q++, ofld_rxq++) { in t4_devo_attach() 639 &ofld_rxq->iq); in t4_devo_attach() 723 if (s->ofld_rxq != NULL) in t4_devo_detach() 724 kmem_free(s->ofld_rxq, in t4_devo_detach() 2085 struct sge_ofld_rxq *ofld_rxq; in enable_port_queues() local 2097 for_each_ofld_rxq(pi, i, ofld_rxq) { in enable_port_queues() 2098 iq = &ofld_rxq->iq; in enable_port_queues() [all …]
|