Home
last modified time | relevance | path

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

/linux-6.12.1/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.c98 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_disarm_piobufs_ifneeded()
149 for (i = 1; i < rcd->subctxt_cnt; i++) in find_ctxt()
481 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.c7073 if (dd->rcd[i] && dd->rcd[i]->subctxt_cnt && in qib_7322_txchk_change()
7074 ((dd->rcd[i]->piocnt / dd->rcd[i]->subctxt_cnt) - 1) in qib_7322_txchk_change()
7097 if (rcd && rcd->subctxt_cnt && ((rcd->piocnt in qib_7322_txchk_change()
7098 / rcd->subctxt_cnt) - 1) < dd->cspec->updthresh) { in qib_7322_txchk_change()
7100 rcd->subctxt_cnt) - 1; in qib_7322_txchk_change()
/linux-6.12.1/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.c524 memlen = rcvhdrq_size(uctxt) * uctxt->subctxt_cnt; in hfi1_file_mmap()
530 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()
795 if (uinfo.subctxt_cnt > HFI1_MAX_SHARED_CTXTS) in assign_ctxt()
860 uctxt->subctxt_cnt != uinfo->subctxt_cnt) in match_ctxt()
877 if (subctxt >= uctxt->subctxt_cnt) { in match_ctxt()
914 if (!uinfo->subctxt_cnt) in find_sub_ctxt()
994 if (uinfo->subctxt_cnt) in allocate_ctxt()
1033 uctxt->subctxt_cnt = uinfo->subctxt_cnt; in init_subctxts()
1041 u16 num_subctxts = uctxt->subctxt_cnt; in setup_subctxt()
1203 if (uctxt->subctxt_cnt) in setup_base_ctxt()
[all …]
Duser_exp_rcv.c88 if (uctxt->subctxt_cnt && fd->use_mn) { in hfi1_user_exp_rcv_init()
91 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
92 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
Dhfi.h306 u8 subctxt_cnt; member
/linux-6.12.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h75 __u16 subctxt_cnt; member