Searched refs:sq_cnt (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 225 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_strings() 282 (nic->qs->rq_cnt + nic->qs->sq_cnt); in nicvf_get_sset_count() 290 (snic->qs->rq_cnt + snic->qs->sq_cnt); in nicvf_get_sset_count() 313 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_stats() 773 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels() 774 nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_channels()
|
D | nicvf_queues.c | 1003 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_free_resources() 1020 for (qidx = 0; qidx < qs->sq_cnt; qidx++) { in nicvf_alloc_resources() 1049 qs->sq_cnt = min_t(u8, MAX_SND_QUEUES_PER_QS, num_online_cpus()); in nicvf_set_qset_resources() 1050 qs->cq_cnt = max_t(u8, qs->rq_cnt, qs->sq_cnt); in nicvf_set_qset_resources() 1058 nic->tx_queues = qs->sq_cnt; in nicvf_set_qset_resources() 1087 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer() 1100 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_config_data_transfer()
|
D | nicvf_main.c | 449 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs() 452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs() 457 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs() 1715 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_update_stats() 1825 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_xdp_queues() 1826 nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_xdp_queues()
|
D | nicvf_queues.h | 295 u8 sq_cnt; member
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 1450 if (!req->rq_cnt || !req->sq_cnt || !req->cq_cnt) in rvu_mbox_handler_nix_lf_alloc() 1526 err = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1530 pfvf->sq_bmap = kcalloc(req->sq_cnt, sizeof(long), GFP_KERNEL); in rvu_mbox_handler_nix_lf_alloc() 1537 cfg = BIT_ULL(36) | (req->sq_cnt - 1) | req->way_mask << 20; in rvu_mbox_handler_nix_lf_alloc()
|
D | mbox.h | 872 u32 sq_cnt; /* No of send queues */ member
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 1155 nixlf->sq_cnt = otx2_get_total_tx_queues(pfvf); in otx2_config_nix()
|