Searched refs:sq_cnt (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 226 for (qidx = 0; qidx < nic->qs->sq_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() 314 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_stats() 762 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_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()
|
D | nicvf_queues.c | 1002 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()
|
D | nicvf_main.c | 451 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs() 454 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs() 459 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs() 1721 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_update_stats() 1831 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_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()
|
D | nicvf_queues.h | 295 u8 sq_cnt; member
|
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 437 u32 sq_cnt; /* No of send queues */ member
|
D | rvu_nix.c | 745 if (!req->rq_cnt || !req->sq_cnt || !req->cq_cnt) in rvu_mbox_handler_nix_lf_alloc() 818 err = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 822 pfvf->sq_bmap = kcalloc(req->sq_cnt, sizeof(long), GFP_KERNEL); in rvu_mbox_handler_nix_lf_alloc() 828 cfg = BIT_ULL(36) | (req->sq_cnt - 1); in rvu_mbox_handler_nix_lf_alloc()
|