/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 551 val | QID_V(q->cntxt_id)); ring_fl_db() 668 set_bit(q->cntxt_id - adap->sge.egr_start, refill_fl() 948 QID_V(q->cntxt_id) | val); ring_tx_db() 1496 set_bit(q->q.cntxt_id - q->adap->sge.egr_start, txq_stop_maperr() 2102 val | INGRESSQID_V((u32)q->cntxt_id)); cxgb_busy_poll() 2167 val | INGRESSQID_V((u32)q->cntxt_id)); napi_rx_handler() 2223 val | INGRESSQID_V(q->cntxt_id)); process_intrq() 2504 iq->cntxt_id = ntohs(c.iqid); t4_sge_alloc_rxq() 2507 iq->cntxt_id, t4_sge_alloc_rxq() 2517 adap->sge.ingr_map[iq->cntxt_id - adap->sge.ingr_start] = iq; t4_sge_alloc_rxq() 2520 fl->cntxt_id = ntohs(c.fl0id); t4_sge_alloc_rxq() 2524 adap->sge.egr_map[fl->cntxt_id - adap->sge.egr_start] = fl; t4_sge_alloc_rxq() 2530 fl->cntxt_id, t4_sge_alloc_rxq() 2557 q->cntxt_id = id; init_txq() 2559 q->cntxt_id, init_txq() 2741 q->cntxt_id = 0; free_txq() 2750 unsigned int fl_id = fl ? fl->cntxt_id : 0xffff; free_rspq_fl() 2752 adap->sge.ingr_map[rq->cntxt_id - adap->sge.ingr_start] = NULL; free_rspq_fl() 2754 rq->cntxt_id, fl_id, 0xffff); free_rspq_fl() 2760 rq->cntxt_id = rq->abs_id = 0; free_rspq_fl() 2769 fl->cntxt_id = 0; free_rspq_fl() 2809 etq->q.cntxt_id); t4_free_sge_resources() 2828 q->q.cntxt_id); t4_free_sge_resources() 2843 cq->q.cntxt_id); t4_free_sge_resources()
|
H A D | cxgb4_debugfs.c | 1719 T("TxQ ID:", q.cntxt_id); sge_qinfo_show() 1741 R("FL ID:", fl.cntxt_id); sge_qinfo_show() 1753 T("TxQ ID:", q.cntxt_id); sge_qinfo_show() 1766 R("FL ID:", fl.cntxt_id); sge_qinfo_show() 1788 R("FL ID:", fl.cntxt_id); sge_qinfo_show() 1814 T("TxQ ID:", q.cntxt_id); sge_qinfo_show()
|
H A D | cxgb4_main.c | 314 FW_PARAMS_PARAM_YZ_V(txq->q.cntxt_id)); dcb_tx_queue_prio_enable() 964 INGRESSQID_V(q->cntxt_id)); enable_rx() 1056 s->fw_evtq.cntxt_id); for_each_port() 1066 s->fw_evtq.cntxt_id); for_each_ofldrxq() 1088 * Note that ->rdmarxq[i].rspq.cntxt_id below is 0 if we don't for_each_port() 1092 s->fw_evtq.cntxt_id, for_each_port() 1093 s->rdmarxq[i].rspq.cntxt_id); for_each_port() 1391 FW_PARAMS_PARAM_YZ_V(q->cntxt_id); cxgb4_set_rspq_intr_params() 2234 QID_V(q->cntxt_id) | PIDX_V(q->db_pidx_inc)); enable_txq_db() 2292 ret = read_eq_indices(adap, (u16)q->cntxt_id, &hw_pidx, &hw_cidx); sync_txq_pidx() 2310 QID_V(q->cntxt_id) | val); sync_txq_pidx()
|
H A D | cxgb4.h | 458 unsigned int cntxt_id; /* SGE context id for the free list */ member in struct:sge_fl 490 u16 cntxt_id; /* SGE context id for the response q */ member in struct:sge_rspq 560 unsigned int cntxt_id; /* SGE context id for the Tx q */ member in struct:sge_txq
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 118 unsigned int cntxt_id; /* SGE context id for the free list */ member in struct:sge_fl 143 unsigned int cntxt_id; /* SGE context id for the response q */ member in struct:sge_rspq 183 unsigned int cntxt_id; /* SGE context id for the Tx q */ member in struct:sge_txq
|
H A D | cxgb3_ioctl.h | 61 uint32_t cntxt_id; member in struct:ch_cntxt
|
H A D | sge.c | 196 V_RSPQ(q->cntxt_id) | V_CREDITS(credits)); refill_rspq() 293 q->cntxt_id >= FW_TUNNEL_SGEEC_START; free_tx_desc() 485 t3_write_reg(adap, A_SG_KDOORBELL, V_EGRCNTX(q->cntxt_id)); ring_fl_db() 680 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); t3_free_qset() 693 t3_sge_enable_ecntxt(adapter, q->txq[i].cntxt_id, 0); t3_free_qset() 709 t3_sge_disable_rspcntxt(adapter, q->rspq.cntxt_id); t3_free_qset() 728 qs->rspq.cntxt_id = id; init_qset_cntxt() 729 qs->fl[0].cntxt_id = 2 * id; init_qset_cntxt() 730 qs->fl[1].cntxt_id = 2 * id + 1; init_qset_cntxt() 731 qs->txq[TXQ_ETH].cntxt_id = FW_TUNNEL_SGEEC_START + id; init_qset_cntxt() 733 qs->txq[TXQ_OFLD].cntxt_id = FW_OFLD_SGEEC_START + id; init_qset_cntxt() 734 qs->txq[TXQ_CTRL].cntxt_id = FW_CTRL_SGEEC_START + id; init_qset_cntxt() 1014 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); check_ring_tx_db() 1019 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); check_ring_tx_db() 1254 dev->name, q->cntxt_id & 7); t3_eth_xmit() 1462 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); ctrl_xmit() 1506 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); restart_ctrlq() 1731 F_SELEGRCNTX | V_EGRCNTX(q->cntxt_id)); restart_offloadq() 2195 V_EGRCNTX(txq->cntxt_id)); check_ring_db() 2206 V_EGRCNTX(txq->cntxt_id)); check_ring_db() 2433 t3_write_reg(adap, A_SG_GTS, V_RSPQ(qs->rspq.cntxt_id) | napi_rx_handler() 2528 t3_write_reg(adap, A_SG_GTS, V_RSPQ(q->cntxt_id) | handle_responses() 2549 t3_write_reg(adap, A_SG_GTS, V_RSPQ(q->cntxt_id) | t3_sge_intr_msix() 2587 t3_write_reg(adap, A_SG_GTS, V_RSPQ(q->cntxt_id) | t3_intr_msi() 2596 t3_write_reg(adap, A_SG_GTS, V_RSPQ(q1->cntxt_id) | t3_intr_msi() 2655 t3_write_reg(adap, A_SG_GTS, V_RSPQ(rq->cntxt_id) | process_responses_gts() 2916 if (status & (1 << qs->rspq.cntxt_id)) { sge_timer_rx() 2923 1 << qs->rspq.cntxt_id); sge_timer_rx() 3062 ret = t3_sge_init_rspcntxt(adapter, q->rspq.cntxt_id, irq_vec_idx, t3_sge_alloc_qset() 3069 ret = t3_sge_init_flcntxt(adapter, q->fl[i].cntxt_id, 0, t3_sge_alloc_qset() 3077 ret = t3_sge_init_ecntxt(adapter, q->txq[TXQ_ETH].cntxt_id, USE_GTS, t3_sge_alloc_qset() 3085 ret = t3_sge_init_ecntxt(adapter, q->txq[TXQ_OFLD].cntxt_id, t3_sge_alloc_qset() 3094 ret = t3_sge_init_ecntxt(adapter, q->txq[TXQ_CTRL].cntxt_id, 0, t3_sge_alloc_qset() 3127 t3_write_reg(adapter, A_SG_GTS, V_RSPQ(q->rspq.cntxt_id) | t3_sge_alloc_qset()
|
H A D | cxgb3_main.c | 604 t3_write_reg(adap, A_SG_KDOORBELL, F_SELEGRCNTX | V_EGRCNTX(qs->txq[j].cntxt_id)); ring_dbs()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 553 QID_V(fl->cntxt_id) | val); ring_fl_db() 717 set_bit(fl->cntxt_id, adapter->sge.starving_fl); refill_fl() 986 QID_V(tq->cntxt_id) | val); ring_tx_db() 1349 T4_TRACE5(adapter->tb[txq->q.cntxt_id & 7], t4vf_eth_xmit() 1887 val | INGRESSQID_V((u32)rspq->cntxt_id)); napi_rx_handler() 1986 val | INGRESSQID_V(intrq->cntxt_id)); process_intrq() 2295 rspq->cntxt_id = be16_to_cpu(rpl.iqid); t4vf_sge_alloc_rxq() 2297 rspq->cntxt_id, t4vf_sge_alloc_rxq() 2310 fl->cntxt_id = be16_to_cpu(rpl.fl0id); t4vf_sge_alloc_rxq() 2323 fl->cntxt_id, t4vf_sge_alloc_rxq() 2438 txq->q.cntxt_id = FW_EQ_ETH_CMD_EQID_G(be32_to_cpu(rpl.eqid_pkd)); t4vf_sge_alloc_eth_txq() 2440 txq->q.cntxt_id, t4vf_sge_alloc_eth_txq() 2465 tq->cntxt_id = 0; free_txq() 2478 unsigned int flid = fl ? fl->cntxt_id : 0xffff; free_rspq_fl() 2481 rspq->cntxt_id, flid, 0xffff); free_rspq_fl() 2486 rspq->cntxt_id = 0; free_rspq_fl() 2497 fl->cntxt_id = 0; free_rspq_fl() 2521 t4vf_eth_eq_free(adapter, txq->q.cntxt_id); t4vf_free_sge_resources()
|
H A D | adapter.h | 138 unsigned int cntxt_id; /* SGE relative QID for the free list */ member in struct:sge_fl 182 u16 cntxt_id; /* SGE rel QID for the response Q */ member in struct:sge_rspq 244 unsigned int cntxt_id; /* SGE relative QID for the TX Q */ member in struct:sge_txq
|
H A D | cxgb4vf_main.c | 385 INGRESSQID_V(rspq->cntxt_id)); qenable() 408 INGRESSQID_V(s->intrq.cntxt_id)); enable_rx() 586 s->fw_evtq.cntxt_id); for_each_port() 598 s->egr_base = s->ethtxq[0].q.abs_id - s->ethtxq[0].q.cntxt_id; 599 s->ingr_base = s->ethrxq[0].rspq.abs_id - s->ethrxq[0].rspq.cntxt_id; 621 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; for_each_port() 1069 FW_PARAMS_PARAM_YZ_V(rspq->cntxt_id); set_rxq_intr_params()
|