Home
last modified time | relevance | path

Searched refs:sq_cnt (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c224 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_strings()
281 (nic->qs->rq_cnt + nic->qs->sq_cnt); in nicvf_get_sset_count()
289 (snic->qs->rq_cnt + snic->qs->sq_cnt); in nicvf_get_sset_count()
312 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_stats()
760 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
761 nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_channels()
Dnicvf_queues.c1002 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_free_resources()
1019 for (qidx = 0; qidx < qs->sq_cnt; qidx++) { in nicvf_alloc_resources()
1048 qs->sq_cnt = min_t(u8, MAX_SND_QUEUES_PER_QS, num_online_cpus()); in nicvf_set_qset_resources()
1049 qs->cq_cnt = max_t(u8, qs->rq_cnt, qs->sq_cnt); in nicvf_set_qset_resources()
1057 nic->tx_queues = qs->sq_cnt; in nicvf_set_qset_resources()
1086 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer()
1099 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer()
Dnicvf_main.c450 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
453 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs()
458 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs()
1719 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_update_stats()
1829 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_xdp_queues()
1830 nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_xdp_queues()
Dnicvf_queues.h295 u8 sq_cnt; member
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h469 u32 sq_cnt; /* No of send queues */ member
Drvu_nix.c970 if (!req->rq_cnt || !req->sq_cnt || !req->cq_cnt) in rvu_mbox_handler_nix_lf_alloc()
1046 err = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
1050 pfvf->sq_bmap = kcalloc(req->sq_cnt, sizeof(long), GFP_KERNEL); in rvu_mbox_handler_nix_lf_alloc()
1057 cfg = BIT_ULL(36) | (req->sq_cnt - 1) | req->way_mask << 20; in rvu_mbox_handler_nix_lf_alloc()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c979 nixlf->sq_cnt = pfvf->hw.tx_queues; in otx2_config_nix()