Home
last modified time | relevance | path

Searched refs:rq_cnt (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c218 for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { in nicvf_get_qset_strings()
283 (nic->qs->rq_cnt + nic->qs->sq_cnt); in nicvf_get_sset_count()
291 (snic->qs->rq_cnt + snic->qs->sq_cnt); in nicvf_get_sset_count()
307 for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { in nicvf_get_qset_stats()
761 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
763 nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_channels()
Dnicvf_main.c321 mbx.cpi_cfg.rq_cnt = nic->qs->rq_cnt; in nicvf_config_cpi()
443 nic->snicvf[sqs]->qs->rq_cnt = MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
446 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs()
459 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs()
1719 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_update_stats()
1830 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_xdp_queues()
1832 nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_xdp_queues()
Dnicvf_queues.c1047 qs->rq_cnt = min_t(u8, MAX_RCV_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()
1056 nic->rx_queues = qs->rq_cnt; in nicvf_set_qset_resources()
1092 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_config_data_transfer()
1095 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_config_data_transfer()
Dnicvf_queues.h292 u8 rq_cnt; member
Dnic.h478 u8 rq_cnt; member
Dnic_main.c506 for (; rssi < (rssi_base + cfg->rq_cnt); rssi++) { in nic_config_cpi()
535 if ((rssi + 1) >= cfg->rq_cnt) in nic_config_cpi()
/drivers/infiniband/hw/usnic/
Dusnic_abi.h79 u32 rq_cnt; member
Dusnic_ib_verbs.c125 resp.rq_cnt = chunk->cnt; in usnic_ib_fill_create_qp_resp()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h436 u32 rq_cnt; /* No of receive queues */ member
Drvu_nix.c745 if (!req->rq_cnt || !req->sq_cnt || !req->cq_cnt) in rvu_mbox_handler_nix_lf_alloc()
801 err = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
805 pfvf->rq_bmap = kcalloc(req->rq_cnt, sizeof(long), GFP_KERNEL); in rvu_mbox_handler_nix_lf_alloc()
813 cfg = BIT_ULL(36) | (req->rq_cnt - 1); in rvu_mbox_handler_nix_lf_alloc()