Home
last modified time | relevance | path

Searched refs:qset (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c65 struct otx2_rcv_queue *rq = &pfvf->qset.rq[qidx]; in otx2_update_rq_stats()
67 if (!pfvf->qset.rq) in otx2_update_rq_stats()
76 struct otx2_snd_queue *sq = &pfvf->qset.sq[qidx]; in otx2_update_sq_stats()
78 if (!pfvf->qset.sq) in otx2_update_sq_stats()
706 struct otx2_qset *qset = &pfvf->qset; in otx2_rq_init() local
724 aq->rq.xqe_pass = RQ_PASS_LVL_CQ(pfvf->hw.rq_skid, qset->rqe_cnt); in otx2_rq_init()
725 aq->rq.xqe_drop = RQ_DROP_LVL_CQ(pfvf->hw.rq_skid, qset->rqe_cnt); in otx2_rq_init()
739 struct otx2_qset *qset = &pfvf->qset; in otx2_sq_init() local
745 pool = &pfvf->qset.pool[sqb_aura]; in otx2_sq_init()
746 sq = &qset->sq[qidx]; in otx2_sq_init()
[all …]
Dotx2_pf.c1150 for (qidx = 0; qidx < pf->qset.cq_cnt; qidx++) { in otx2_q_intr_handler()
1243 struct otx2_qset *qset = &pf->qset; in otx2_disable_napi() local
1248 cq_poll = &qset->napi[qidx]; in otx2_disable_napi()
1256 struct otx2_qset *qset = &pf->qset; in otx2_free_cq_res() local
1262 for (qidx = 0; qidx < qset->cq_cnt; qidx++) { in otx2_free_cq_res()
1263 cq = &qset->cq[qidx]; in otx2_free_cq_res()
1270 struct otx2_qset *qset = &pf->qset; in otx2_free_sq_res() local
1279 sq = &qset->sq[qidx]; in otx2_free_sq_res()
1390 struct otx2_qset *qset = &pf->qset; in otx2_free_hw_resources() local
1414 for (qidx = 0; qidx < qset->cq_cnt; qidx++) { in otx2_free_hw_resources()
[all …]
Dotx2_ethtool.c78 static void otx2_get_qset_strings(struct otx2_nic *pfvf, u8 **data, int qset) in otx2_get_qset_strings() argument
80 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
147 *((*data)++) = ((u64 *)&pfvf->qset.rq[qidx].stats) in otx2_get_qset_stats()
158 *((*data)++) = ((u64 *)&pfvf->qset.sq[qidx].stats) in otx2_get_qset_stats()
237 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
301 struct otx2_qset *qs = &pfvf->qset; in otx2_get_ringparam()
314 struct otx2_qset *qs = &pfvf->qset; in otx2_set_ringparam()
Dotx2_txrx.c372 otx2_snd_pkt_handler(pfvf, cq, &pfvf->qset.sq[cq->cint_idx], in otx2_tx_napi_handler()
402 struct otx2_qset *qset; in otx2_napi_handler() local
407 qset = &pfvf->qset; in otx2_napi_handler()
413 cq = &qset->cq[cq_idx]; in otx2_napi_handler()
939 sq = &pfvf->qset.sq[cq->cint_idx]; in otx2_cleanup_tx_cqes()
Dotx2_common.h243 struct otx2_qset qset; member
315 pfvf->qset.rqe_cnt = Q_COUNT(Q_SIZE_1K); in otx2_setup_dev_hw_settings()
Dotx2_vf.c368 sq = &vf->qset.sq[qidx]; in otx2vf_xmit()
/drivers/net/ethernet/cavium/thunder/
Dnic_main.c478 u8 qset, rq_idx = 0; in nic_config_cpi() local
504 qset = cfg->vf_id; in nic_config_cpi()
508 (qset << 3) | rq_idx); in nic_config_cpi()
567 u8 qset, idx = 0; in nic_config_rss() local
579 qset = nic->vf_sqs[cfg->vf_id][svf - 1]; in nic_config_rss()
581 qset = cfg->vf_id; in nic_config_rss()
583 (qset << 3) | (cfg->ind_tbl[idx] & 0x7)); in nic_config_rss()
Dnicvf_ethtool.c211 static void nicvf_get_qset_strings(struct nicvf *nic, u8 **data, int qset) in nicvf_get_qset_strings() argument
214 int start_qidx = qset * MAX_RCV_QUEUES_PER_QS; in nicvf_get_qset_strings()
/drivers/infiniband/hw/i40iw/
Di40iw_main.c1313 u16 qset; in i40iw_initialize_dev() local
1347 qset = ldev->params.qos.prio_qos[i].qs_handle; in i40iw_initialize_dev()
1348 l2params.qs_handle_list[i] = qset; in i40iw_initialize_dev()
1350 last_qset = qset; in i40iw_initialize_dev()
1351 else if ((qset != last_qset) && (qset != I40IW_NO_QSET)) in i40iw_initialize_dev()
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c671 &adap->params.sge.qset[qset_idx], ntxq, dev, in setup_sge_qsets()
1956 const struct qset_params *q = &adapter->params.sge.qset[pi->first_qset]; in get_sge_param()
1988 q = &adapter->params.sge.qset[pi->first_qset]; in set_sge_param()
2012 qsp = &adapter->params.sge.qset[i]; in set_coalesce()
2025 struct qset_params *q = adapter->params.sge.qset; in get_coalesce()
2202 q = &adapter->params.sge.qset[t.qset_idx]; in cxgb_extension_ioctl()
2236 qset[i]; in cxgb_extension_ioctl()
2278 q = &adapter->params.sge.qset[q1 + t.qset_idx]; in cxgb_extension_ioctl()
Dcommon.h329 struct qset_params qset[SGE_QSETS]; member
Dsge.c3368 struct qset_params *q = p->qset + i; in t3_sge_prep()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c2601 static inline struct port_info *ethqset2pinfo(struct adapter *adap, int qset) in ethqset2pinfo() argument
2608 if (qset >= pi->first_qset && in ethqset2pinfo()
2609 qset < pi->first_qset + pi->nqsets) in ethqset2pinfo()