Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_file_ops.c106 unsigned subctxt_cnt; in qib_get_base_info() local
110 subctxt_cnt = rcd->subctxt_cnt; in qib_get_base_info()
111 if (!subctxt_cnt) { in qib_get_base_info()
114 subctxt_cnt = 1; in qib_get_base_info()
151 kinfo->spi_tidcnt = dd->rcvtidcnt / subctxt_cnt; in qib_get_base_info()
153 kinfo->spi_tidcnt += dd->rcvtidcnt % subctxt_cnt; in qib_get_base_info()
199 kinfo->spi_piocnt = (rcd->piocnt / subctxt_cnt) + in qib_get_base_info()
200 (rcd->piocnt % subctxt_cnt); in qib_get_base_info()
208 kinfo->spi_piocnt = rcd->piocnt / subctxt_cnt; in qib_get_base_info()
309 if (!rcd->subctxt_cnt) { in qib_tid_update()
[all …]
Dqib_tx.c99 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_disarm_piobufs_ifneeded()
152 for (i = 1; i < rcd->subctxt_cnt; i++) in find_ctxt()
484 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_cancel_sends()
Dqib_iba7220.c4373 if (dd->rcd[i] && dd->rcd[i]->subctxt_cnt && in qib_7220_txchk_change()
4374 ((dd->rcd[i]->piocnt / dd->rcd[i]->subctxt_cnt) - 1) in qib_7220_txchk_change()
4391 if (rcd && rcd->subctxt_cnt && ((rcd->piocnt in qib_7220_txchk_change()
4392 / rcd->subctxt_cnt) - 1) < dd->cspec->updthresh) { in qib_7220_txchk_change()
4394 rcd->subctxt_cnt) - 1; in qib_7220_txchk_change()
Dqib.h156 u16 subctxt_cnt; member
Dqib_iba7322.c7074 if (dd->rcd[i] && dd->rcd[i]->subctxt_cnt && in qib_7322_txchk_change()
7075 ((dd->rcd[i]->piocnt / dd->rcd[i]->subctxt_cnt) - 1) in qib_7322_txchk_change()
7098 if (rcd && rcd->subctxt_cnt && ((rcd->piocnt in qib_7322_txchk_change()
7099 / rcd->subctxt_cnt) - 1) < dd->cspec->updthresh) { in qib_7322_txchk_change()
7101 rcd->subctxt_cnt) - 1; in qib_7322_txchk_change()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dtrace_ctxts.h34 __field(unsigned int, subctxt_cnt)
46 __entry->subctxt_cnt = uctxt->subctxt_cnt;
59 __entry->subctxt_cnt
Dfile_ops.c494 memlen = rcvhdrq_size(uctxt) * uctxt->subctxt_cnt; in hfi1_file_mmap()
500 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()
764 if (uinfo.subctxt_cnt > HFI1_MAX_SHARED_CTXTS) in assign_ctxt()
829 uctxt->subctxt_cnt != uinfo->subctxt_cnt) in match_ctxt()
846 if (subctxt >= uctxt->subctxt_cnt) { in match_ctxt()
883 if (!uinfo->subctxt_cnt) in find_sub_ctxt()
963 if (uinfo->subctxt_cnt) in allocate_ctxt()
1002 uctxt->subctxt_cnt = uinfo->subctxt_cnt; in init_subctxts()
1010 u16 num_subctxts = uctxt->subctxt_cnt; in setup_subctxt()
1172 if (uctxt->subctxt_cnt) in setup_base_ctxt()
[all …]
Duser_exp_rcv.c89 if (uctxt->subctxt_cnt && fd->use_mn) { in hfi1_user_exp_rcv_init()
92 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
93 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
Dhfi.h306 u8 subctxt_cnt; member
/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_ioctl.h75 __u16 subctxt_cnt; member