• Home
  • Raw
  • Download

Lines Matching refs:sge

159 	struct sge *s = &adapter->sge;  in fl_mtu_bufsize()
314 for (p = sgl->sge; nfrags >= 2; nfrags -= 2) { in unmap_sgl()
429 struct sge *s = &adapter->sge; in get_buf_size()
545 struct sge *s = &adap->sge; in refill_fl()
622 set_bit(q->cntxt_id - adap->sge.egr_start, in refill_fl()
623 adap->sge.starving_fl); in refill_fl()
793 to = (u8 *)end > (u8 *)q->stat ? buf : sgl->sge; in write_sgl()
807 unsigned int part0 = (u8 *)q->stat - (u8 *)sgl->sge, part1; in write_sgl()
810 memcpy(sgl->sge, buf, part0); in write_sgl()
998 q = &adap->sge.ethtxq[qidx + pi->first_qset]; in t4_eth_xmit()
1263 ret = ctrl_xmit(&adap->sge.ctrlq[0], skb); in t4_mgmt_tx()
1315 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, in txq_stop_maperr()
1316 q->adap->sge.txq_maperr); in txq_stop_maperr()
1471 return ctrl_xmit(&adap->sge.ctrlq[idx], skb); in ofld_send()
1472 return ofld_xmit(&adap->sge.ofldtxq[idx], skb); in ofld_send()
1615 struct sge *s = &adapter->sge; in do_gro()
1663 struct sge *s = &q->adap->sge; in t4_ethrx_handler()
1797 struct sge *s = &adapter->sge; in process_responses()
1921 struct sge_rspq *q = &adap->sge.intrq; in process_intrq()
1923 spin_lock(&adap->sge.intrq_lock); in process_intrq()
1933 qid -= adap->sge.ingr_start; in process_intrq()
1934 napi_schedule(&adap->sge.ingr_map[qid]->napi); in process_intrq()
1942 spin_unlock(&adap->sge.intrq_lock); in process_intrq()
1995 struct sge *s = &adap->sge; in sge_rx_timer_cb()
2040 struct sge *s = &adap->sge; in sge_tx_timer_cb()
2085 struct sge *s = &adap->sge; in t4_sge_alloc_rxq()
2152 adap->sge.ingr_map[iq->cntxt_id - adap->sge.ingr_start] = iq; in t4_sge_alloc_rxq()
2159 adap->sge.egr_map[fl->cntxt_id - adap->sge.egr_start] = fl; in t4_sge_alloc_rxq()
2206 adap->sge.egr_map[id - adap->sge.egr_start] = q; in init_txq()
2215 struct sge *s = &adap->sge; in t4_sge_alloc_eth_txq()
2269 struct sge *s = &adap->sge; in t4_sge_alloc_ctrl_txq()
2321 struct sge *s = &adap->sge; in t4_sge_alloc_ofld_txq()
2373 struct sge *s = &adap->sge; in free_txq()
2386 struct sge *s = &adap->sge; in free_rspq_fl()
2389 adap->sge.ingr_map[rq->cntxt_id - adap->sge.ingr_start] = NULL; in free_rspq_fl()
2419 struct sge_eth_rxq *eq = adap->sge.ethrxq; in t4_free_sge_resources()
2420 struct sge_eth_txq *etq = adap->sge.ethtxq; in t4_free_sge_resources()
2421 struct sge_ofld_rxq *oq = adap->sge.ofldrxq; in t4_free_sge_resources()
2424 for (i = 0; i < adap->sge.ethqsets; i++, eq++, etq++) { in t4_free_sge_resources()
2437 for (i = 0; i < adap->sge.ofldqsets; i++, oq++) { in t4_free_sge_resources()
2441 for (i = 0, oq = adap->sge.rdmarxq; i < adap->sge.rdmaqs; i++, oq++) { in t4_free_sge_resources()
2447 for (i = 0; i < ARRAY_SIZE(adap->sge.ofldtxq); i++) { in t4_free_sge_resources()
2448 struct sge_ofld_txq *q = &adap->sge.ofldtxq[i]; in t4_free_sge_resources()
2462 for (i = 0; i < ARRAY_SIZE(adap->sge.ctrlq); i++) { in t4_free_sge_resources()
2463 struct sge_ctrl_txq *cq = &adap->sge.ctrlq[i]; in t4_free_sge_resources()
2474 if (adap->sge.fw_evtq.desc) in t4_free_sge_resources()
2475 free_rspq_fl(adap, &adap->sge.fw_evtq, NULL); in t4_free_sge_resources()
2477 if (adap->sge.intrq.desc) in t4_free_sge_resources()
2478 free_rspq_fl(adap, &adap->sge.intrq, NULL); in t4_free_sge_resources()
2481 memset(adap->sge.egr_map, 0, sizeof(adap->sge.egr_map)); in t4_free_sge_resources()
2486 adap->sge.ethtxq_rover = 0; in t4_sge_start()
2487 mod_timer(&adap->sge.rx_timer, jiffies + RX_QCHECK_PERIOD); in t4_sge_start()
2488 mod_timer(&adap->sge.tx_timer, jiffies + TX_QCHECK_PERIOD); in t4_sge_start()
2502 struct sge *s = &adap->sge; in t4_sge_stop()
2549 struct sge *s = &adap->sge; in t4_sge_init_soft()
2631 struct sge *s = &adap->sge; in t4_sge_init_hard()
2699 struct sge *s = &adap->sge; in t4_sge_init()